mIRC Home    About    Download    Register    News    Help

Print Thread
#231676 27/04/11 01:24 PM
Joined: Apr 2011
Posts: 1
B
Mostly harmless
OP Offline
Mostly harmless
B
Joined: Apr 2011
Posts: 1
Hi. I am working on a DLL, and whenever the script goes to use the DLL it won't open the dll with the error:

* $dll: unable to open file 'C:\mirc\sys5.dll'

what doesn't make sense to me is that it works perfectly fine on windows xp. I am not using any DllLoad or DllLoad functions. Also, another, older dll which I was testing as well loads perfectly fine on both windows xp and windows 7.

any suggestions would be greatly appreciated.

edit: got it to work, but only as a release build.

Last edited by BEEEP_BEEEP; 27/04/11 02:20 PM.
Joined: Oct 2003
Posts: 3,918
A
Hoopy frood
Offline
Hoopy frood
A
Joined: Oct 2003
Posts: 3,918
Use a program like PE Explorer to look at the dll imports section; you will see if the dll's dependencies exist on your system. It's possible you don't have the necessary C runtimes. It's also possible that your debug build is broken somehow.


- argv[0] on EFnet #mIRC
- "Life is a pointer to an integer without a cast"

Link Copied to Clipboard