Craig;
I am going to throw some random thoughts that may help you in your situation:
- I avoid to use VC's wizard. It gives (and gave me) a lot of headaches. All it does it to add a lot of garbage to your project that nobody understand.
- If your source file is a .cpp, wrap your function prototypes inside the extern "C" declaration.
- Always initialize every variable in LabVIEW side. For example, for your function you should wire an empty string in the input side of the "Call Library Node" for the "WinName" variable.
- I claim ignorance in this one, but seems to simplify my projects. Exclude rarely-used Windows header files by adding the following statement before your headers "include":
#define VC_EXTRALEAN
I hope this can be of help. If I co
me up with some more suggestion, I'll let you know.
Best regards;
Enrique
www.vartortech.com