01-13-2009 07:33 AM
Hi,
I have DLL with function inside:
function CCD_GetSerialNum (ID : Integer; Var sernum :PChar) : boolean; stdcall;
To use this one in LabVIEW I've created CLFN with function prototype:
int32_t CCD_GetSerialNum(int32_t *ID, PStr sernum); (calling convention - stdcall)
I wired input parameters: 0 for ID and empty string for sernum, but function doesn't work... It returns some big value instead of 1 (1 is equivalent to True as I understood), and sernum is empty.
Any suggestions?
PS function works properly in Delphi programm.
01-13-2009 09:24 AM
12-01-2010 08:48 AM
Hello, I have the same problem, and the other topic doesn't help me at all, do you have the solution to your problem?
Thanks,
Fabrice
12-02-2010 01:46 PM
Out of curiosity, if your function returns a false, is it represented as a 0?