Hi all
I'm trying to import the FTD2xx.dll library file but I'm getting the following error:
Invalid expression: on line 83 in file ..\..\CDM v2.12.28 WHQL Certif
Error number: 601
'enum' is an unknown data type
Just wondered what I can do to import this file into VEE - do I need to edit the header file? If so what should I do?
Many thanks
Jon
VEE does not use the same header file that is used for compilers. Hence as you found out the import will not work with the header file provided by vendors. YES- you need to edit the file. Note that VEE calls for a "definition" file (.def) rather than a "header" file (.h) to make this distinction clear. Generally this edit is the hard part of importing DLL's. I'd start by reading the Compiled Function section of the Advanced Programming manual. If you don't have a copy it is posted at veeos.org/support. If that isn't sufficient a post of the original header file to VRF (see link in veeos.org/support) is probably the best bet. There it is likely that someone will be able to help with the edit.
Once the header file is correct you'll be able to do the import and start calling functions.
Stan