VS2010 static linking issue

前端 未结 4 1773
一向
一向 2020-12-31 13:21

my company has recently upgraded from VS2005 to VS2010. We have a huge project which uses a lot of modules which are being linked statically into the exe. But there seem to

4条回答
  •  自闭症患者
    2020-12-31 13:38

    I only know that I had such similar situations because of wrong using of Libraries with same name but with different architecture. lets say, I have an Dll (lets call it mydll.dll) for x86 and will import it into my project it will work. If I will do the same with x64 dll (same name mydll.dll) it will work. But if I want to include both libraries it is not allowed to only rename it into mydllx86.dll / mydllx64.dll. I CAN include now both libraries into Visual Studio. But when compiling it or restarting visual studio, one of both libraries will be unaccessable anymore.

    In this case I perhaps it helps to have a look into library architecture and used namespaces / Api names.

    Regards

提交回复
热议问题