I recently went from a 32bit laptop to a 64bit desktop (both win7). I just found out that I get an error now when loading dll\'s using dyn.load. I guess this is
My guess is that you are compiling it to a 32 bit target. You need to build it on your 64 bit machine with 64 bit tools. You can't load a 32 bit DLL into a 64 bit process, and vice versa.