Hi,
I've been trying to import a definition (.h) and DLL file in order to use an FTDI device with VEE but unfortunately I've been getting an invalid expression error when I import the file:
I've tried modifying the header file in accordance with the Advanced Programmers guide, but it would appear my grasp of programming fundamentals isn't sufficient. I was unable to find an equivalent for 'BOOL' so substituted 'INT' for the data type as I read in one of the Keysight manuals that boolean is of type INT.
I'd be grateful if someone would be able to point out where I've gone wrong in editing the header file, and suggest what I need to change in order to get it to work. Attached is the original unedited file (ftd2xx_original.h) and my edited version (ftd2xx.h).
Any assistance greatly received (otherwise I might have to use Labview )
Thanks
Jon
I'd suggest boiling that header down to just the function definitions that you need. VEE only needs the function def's themselves, not all the rest of the stuff that a compiler wants. Check the application docs to see which functions will be needed and then grab just those pieces. Note that you can't have enums (as you found out) or structs in the final definitions.
Then after discarding all the rest you'll likely be more successful with the definitions that you need.
If you still strike out, and noone here in the forum helps, try VRF.
Stan