Xojo example projects (API1 & API2)
Cyclic Redundancy Check: CRC8, CRC16, CRC32
This example Xojo project shows how CRC Calculations can be implemented in pure Xojo Code. Because CRC classes are not available in the Xojo Framework, one has to either use a 3rd Party Plugin - or calculate the Algorithm(s) manually.
This example is based on this documentation: Understanding CRC.
That article is also included as a PDF.
Built Desktop application running on macOS:
Built Desktop application running on Windows:
Built Web application running on macOS:
Xojo is a rapid application development for Desktop, Web, Mobile & Raspberry Pi.
The Desktop application Xojo example project CRCCalculatorDesktop.xojo_project
is using:
- Xojo 2018r4
- API 1
The Web application Xojo example project CRCCalculatorWeb.xojo_project
is using:
- Xojo 2024r1.1
- API 2
- Copy/paste the required CRC Calculator Classes into your project
- Create an instance of the Class
- by using a predefined Algorithm:
CRC16Calculator.CreateByType(CRC16Type.MODBUS)
- or create a custom Calculator:
New CRC16Calculator("CRC-16/GENIBUS", &h1021, &hffff, false, false, &hffff)
- by using a predefined Algorithm:
- Get the result:
myCRCCalculatorInstance.Result("1234567890")
This repository contains Documentation about how to package a Xojo built Web Application in a Docker Image. The Web application Xojo example project CRCCalculatorWeb.xojo_project
includes a Post Build Script which automates the task of building the Docker Image of the web application.
Juerg Otter is a long term user of Xojo and working for CM Informatik AG. Their Application CMI LehrerOffice is a Xojo Design Award Winner 2018. In his leisure time Juerg provides some bits and pieces for Xojo Developers.
Do you like this project? Does it help you? Has it saved you time and money?
You're welcome - it's free... If you want to say thanks I'd appreciate a message or a small donation via PayPal.