如何在不同编译器的另一个DLL启动的DLL中使用WBEM?

时间:2016-10-01 10:02:01

标签: dll com wbem

我有一个由VC6编译的工人DLL(A),它使用WBEM。     我希望DLL(A)中的另一个DLL调用函数(B:由VC2013编译)。它在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!

0 个答案:

没有答案