简体   繁体   中英

VS2012 C++ DLL compatability

I have a DLL compiled in vs10 on windows xp 32bit Then i moved to windows 7 32bit and compiled it in vs2012, the project build target was win32. The new compiled DLL works perfectly when i use it on windows 7, but when i run it on win xp sp3 it says the program cant find the dll error 0x8007007E

How is that possible and what settings do I have to change?

A simple workaround is to static-link the runtime modules using /MT

http://msdn.microsoft.com/en-us/library/2kzt1wy3.aspx

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM