Mixing Visual Studio toolkit version

  • Thread starter Thread starter MIB BALA
  • Start date Start date
M

MIB BALA

Guest
Hi to everyone,

I have two dynamic linking library with different toolkit version using visual studio 2015. For Ex: A.dll (v90) and B.dll (v140). I'm invoking the exported functions in B.dll from A.dll. For ex:

B.dll

void Test_b_dll() {}

A.dll

void Test_a_dll() {

Test_b_dll();

}

The application was able to compile and run in developer system. But when try to run the application fresh OS, I was not able to load the dll. When I try to debug using dependency walker, i got architecture mismatch error.

Why I'm getting architecture mismatch? Is there any problem in application architecture design?


MIB

Continue reading...
 
Back
Top