loading dll bmx
Archives Forums/Blitz3D SDK Programming/loading dll bmx
| ||
Using bmax, is it possible to load the b3d.dll from another folder, like projectfolder\dll ? Or would it possible to include the dll in the exe ? |
| ||
You could put it in Windows/System32, although people might not like that and it makes uninstallation a problem ( you don't know if was there before you installed, so you can't leave it or remove it knowing 100% that you did the right thing. ) I think Molebox Pro can pack DLL's into the EXE. |
| ||
I was thinking more along the lines of using IncBin, or at least finding some reference to the .dll's path somewhere in the .mod ? |
| ||
You could use LoadLibrary and GetProcAddress to link dynamically instead of linking statically with Import. You'd have to try to see if this works in conjunction with IncBin. I've been led to believe it won't work, but haven't tested. |
| ||
Okay, I will try it. Thanks. |