A Registration and Serial Demo

A potential customer asked me for a demo of how to use the registration and serial library in a GUI app. To give a decent approximation of how an application might work, I created a serial number generator that encodes the customer number, software expiration date, and program options in the serial number.

Registration FormRegistration FormThere's also something akin to a program registration form. When the proper serial number is entered, it will display the program options, expiration date and customer number.

Serial GeneratorSerial GeneratorIf you want to build this application you'll need wxWidgets-2.8, Code::Blocks and wxFormBuilder. If you are using wxWidgets 2.2.8 you can build the code as-is. Otherwise, you'll need to change the way wxFormBuilder generates code to use event tables rather than message connection. For some reason wxRadioBox doesn't connect to signals properly, but it works flawlessly when events are dispatched via an event table. Unless you're using 2.8.8, the version I first built this on.

I've been playing around with Qt a little bit lately, and I may build a Qt version of this demo as well. While I like wxWidgets well enough, Qt makes very pretty applications and seems to be just a bit more polished.


AttachmentSize
RegisterDemo.zip1.7 MB