windows - Loading two dlls which are themselves statically linked with different version of a library causes a crash when these both are loaded in a executable -


we have 2 dlls , b. both use different versions of library c linked statically them. when load these dlls in executable, , use functionality program crashes.

can explain reason behind , how fix it? see issue in xp , works fine in windows 7 (somehow)

the program crashes because different versions of c dll have different type definitions conflict each other. if have fields don't exist in 1 version , exist in another, depending on type of dll, you'll 2 different scenarios. managed fail bind , tell that. unmanaged corrupt memory , nasty error elsewhere unexpectedly.

you're seeing different behavior between oses because xp memory management differently 7 (leading me believe it's unmanaged dlls), it's tough tell.


Comments

Popular posts from this blog

java - Play! framework 2.0: How to display multiple image? -

gmail - Is there any documentation for read-only access to the Google Contacts API? -

php - Controller/JToolBar not working in Joomla 2.5 -