IRC Log Viewer » #firebreath » 2012-06-25

IRC Nick Time (GMT-7) Message
FireBreathBot 09:06 Commit 0ca85b8 on firebreath-1.6 by Gordon Smith: "Add modifier mask to button message
Commit ab19ed8 on firebreath-1.6 by Richard Bateman: "Merge pull request #68 from GordonSmith/LinuxButtonModifiers..."
EL45 11:06 I am trying to load an external dll into a firebreath plugin by first calling SetDllDirectory(path_containing_my_dlls); then calling LoadLibrary(dll_name); Everything is working fine on 64-bit machines but on 32-bit machines, LoadLibrary returns null and an error saying "The specified module could not be found". Has anyone else experienced anything like this?
taxilian 11:06 well, first the obvious questions: are you certain your DLL is compiled 32 bit?
the one you're loading, I mean
EL45 11:06 My dll is compiled as Win32, it wont let me selct x86
Could that be the issue?
taxilian 11:06 hmm. that doesn't really tell me anything
that's probably correct, though
have you tried using dependency walker to verify that the dll can even be loaded?
EL45 11:06 I havent since I have done some revisions. I will try that now.
depends.exe on my 64-bit dev machine says IESHIMS.DLL could not be loaded. This seems common. 32-Bit machine is missing IESHIMS.DLL, MSVCP100.DLL and MSVCR100.DLL
Do you by chance know how to compile without those dependencies. I dont want to make my users have to download the Microsoft Visual C++ Redistributable
(MSVCP100, MSVCR100)
ch 11:06 tell your compiler to statically link the C runtime
taxilian 11:06 VCP and VCR are the runtime
yeah, what he said =]
ch 11:06 /MT or something