08-21-2009 01:49 PM
Solved! Go to Solution.
08-24-2009 07:45 AM
To interface to VBA code, you need to use the stdcall qualifier on the CVI function definition. There may also be a small typo in your posting - try changing your code from:
void DLLEXPORT PassBackAString (char *strTextBuffer) {strcpy (*strTextBuffer, "You did it");}
to:
void DLLEXPORT DLLSTDCALL PassBackAString (char *strTextBuffer) {strcpy (strTextBuffer, "You did it");}
JR