HI,
I have created an activeX controller using the tool in CVI 7.0 for a DLL I recv'd written in VB.
Here is the code:
status = Vl_New_SQL (NULL, 0, LOCALE_NEUTRAL, 0, &objectHandle);
status = Vl__SQLLogin (objectHandle, NULL, *cdsid[0], *pword[0], &successful);
status = Vl__SQLGetLocalIPAddress (objectHandle, NULL, *arg1);
//I can call the some 25 calls like above without a problem even though the objectHandle doesn't change value
//but as soon as I call this one I get an "The Handle is invalid" Error (NULL's are optional cmds)
status = Vl__SQLReturnSQL (objectHandle, &ErrInfo, 3, "TSCODE::A", &dataArray, NULL, NULL, NULL, NULL);
//status = -2147024890
Any suggestions?
thanks!
mike