i have a header file and one of the function prototypes is
extern "C" LONGBOOL _stdcall LT360LIB_CmdValue(LONGINT Handle, LONGINT CmdID, char * ParamValue);
and there is an example of using this code
z=LT360LIB_CmdValue(0, lt_Goto_CCW, "5.5");
when i try this code it compile and builds correctly but when i run the program , it halts with no error messages ( and the processor goes to 100% as if it went to an infinite loop).
could it be due to passing a string to a character pointer although i had no compiler errors?