areslee
areslee

Reputation: 37

How to use WBEM in dll launched by another DLL from different compiler?

I have a worker DLL(A) compiled by VC6 which using WBEM. And I want call function in DLL(A) from another DLL(B : compiled by VC2013). it crash on IWbemLocator :: ConnectServer().

And I have done some testing followed:
EXE compiled by VC6 - > DLL(A)  OK
EXE compiled by VC2013 - > DLL(A)  OK
EXE compiled by VC2013 - > DLL(B) - > DLL(A)  crash
I don't why, any one can give me some advise? Thank you very much!

Upvotes: 0

Views: 150

Answers (0)

Related Questions