Now meet the following condition
With VC6 compile EXE open VC6DLL directly and call the function, work
Open VC6DLL directly with VC2013 compiled EXE and call the function, work
Open A directly with VC2013 compiled EXE VC2013 compiled DLL (A), then in the DLL (A) open VC6DLL and call the function in it, and collapse in
IWbemLocator: : ConnectServer (),
I suspect the differences to the compiler to generate DLL some static variables in the right position of
Daniel advice reason and solution, thank you!
CodePudding user response:
Generally don't cross the cc version calls, with DLL or exe is same version of the vc compilerCodePudding user response:
Because nobody maintenance function code, so had to get theseIt is strange that
1.2013 EXE adjustable DLL directly no problem
2. Don't have the function of WBEM also no problem
CodePudding user response: