Hi - I am a Windows developer using Visual Studio 2010 and VC++ 10. I use Lua in my application as a plugin scripting language, and sometimes these scripts use IUP. I use a DLL version of Lua (5.1). I use runtime dynamic linking to link to the library. And it all works fine. Except in debug mode. If I run my application in debug mode, I can run most scripts OK, as long as they don't use IUP. If they do use IUP, the statement
require "iuplua" fails. I get a message "error loading module 'iuplua' from file ... \iuplua51.dll': The specified procedure could not be found." I've skipped that path given to iuplua5.dll but it is a valid path - "iuplua51.dll" does exist in that location. Bear in mind that it all works fine as long as I build my app in release mode. Using dependency walker I can see that the debug version of my exe depends on MSVCR100D.DLL and iuplua51.dll depends on MSVCR100.DLL. So I'm guessing that this is the problem. My assumption is that these 2 versions of the DLLs cannot coexist (or can't in this context anyway). It isn't absolutely essential that I should be able to run plugins that use IUP in when debugging my app. But it's becoming more and more of a nuisance that I can't. Can anyone suggest anything that I can do to solve the problem? Thanks in advance. Simon ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Iup-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/iup-users
