Hi,
Call:
CA_InitActiveXThreadStyleForCurrentThread(0, COINIT_APARTMENTTHREADED);
as the first function call in the thread that calls DataSocket Open.
This is required because the buffering mode uses apartment threading but the default in CVI apps is multithreaded. Note that the thread must call this function before calling any ActiveX or DataSocket functions to make sure the threading style is not already set. Typically this is called in the main function.
Best regards,
Mohan