Home > Software engineering >  In different compiler to generate DLL using WBEM problem
In different compiler to generate DLL using WBEM problem

Time:10-09

Main function code in a VC6 write DLL, which will visit WBEM
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 compiler

CodePudding user response:

Because nobody maintenance function code, so had to get these
It 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:

refer to the second floor Areslee response:
because nobody maintenance function code, so had to get these
It is strange that
1.2013 EXE adjustable DLL directly no problem
2. To be not moved has the function of WBEM also no problem

It is good luck, Microsoft is not recommended

CodePudding user response:

Can't put it this way
According to this standard, VC6 compile things should be run under Windows 7
  • Related