Hello,
I'm trying to use the CVIXML functions for reading an xml file in a separated thread, created with CmtScheduleThreadPoolFunction() and not in the main thread.
Unfortunatley when I call the CVIXML functions, like CVIXMLGetNumChildElements, the thread stops and I must delete the application only from Windows Task Manager.
Does anyone know why?
I have read on the community that before start any call to the functions of the CVIXML library I must call the function
CA_InitActiveXThreadStyleForCurrentThread(NULL, COINIT_APARTMENTTHREADED) in the secondary thread created.
I tried but without success....
Does anyone help me please?
Best regards