receiving data
COM
1
Posts
1
Posters
0
Views
1
Watching
-
My program is a client (c++) that link to an activex dll created in VB. I use this function :
hresult = m_connection->LoadData(OLESTR("01"),OLESTR("B20"), 0,0,&ResulVar,OLESTR("thisMachine"),ADO_ODBC , &m_E );
Hresult tells me everything worked fine but ResulVar return empty. ResulVar is a VARIANT. m_E is an object that receive error from the server. It tells me that : ActiveX component can't create object.(usualy, it's when dll are not registred) With an other program in vb I tested the same function an it worked perfectly, so I know my dll are registered. If it can provide me with the error message from m_E, Why the VARIANT doesn't receive the data? Does anyone have a clue? Thanks