Ioannis wrote:...Running on 5.70 Demo version of PB.
A new error message appears Line 94: GlobalAlloc_() is not a function, array, list, map or macro.
Hello Ioannis, and welcome to the world of PureBasic.
The demo version has an 800-line code limit, and it's not able to call operating system API functions (API functions are suffixed with the underscore, like GlobalAlloc_(), UpdateLayeredWindow_(), SetWindowLongPtr_(), etc.).
Texas Instruments TI-99/4A Home Computer: the first home computer with a 16bit processor, crammed into an 8bit architecture. Great hardware - Poor design - Wonderful BASIC engine. And it could talk too!Please visit my YouTube Channel
Appears as though you are running the Demo version of PB. The demo version doesn't have the API commands linked into the shipped version the way the regular releases do. You'll have to import them manually using either Import-EndImport with the lib or Prototypes with the dll. Or you could buy PB, own it for a lifetime of free updates and grin foolishly all the way to the bank. 'Cause yes - you really are getting something for nothing.
Yes it is the demo version. I am not a pro programmer (on the PC side) but rather a microcontroller one and would like to have a PC piece of software to display some measurements or data on screen preferably through a USB connection.