mIRC Home    About    Download    Register    News    Help

Print Thread
#128237 22/08/05 05:12 PM
Joined: Aug 2005
Posts: 1
L
Lunix Offline OP
Mostly harmless
OP Offline
Mostly harmless
L
Joined: Aug 2005
Posts: 1
I've wrote a dll in Delphi 5. It's working fine, but only when the class i've implemented is in the same unit than the procedures und functions I use. If I try to include the unit, I can compile and build the dll, but when I start the dll out of mIRC, it crashs. I've also wrote the dll for normal use and it works fine with the 2 units (1 for the procedures/functions, 1 for the class). Has someone an idea, why this could happen? Can't understand, why this isn't working...

#128238 22/08/05 07:45 PM
Joined: Jan 2003
Posts: 249
C
Fjord artisan
Offline
Fjord artisan
C
Joined: Jan 2003
Posts: 249
I'm no expert in Delphi, but did you make sure the symbols were exported so mIRC could find the functions inside the DLL. Other than that, maybe post the simplest crashing code could help us see if a potential problem arises.

It's pretty easy to crash mIRC with bad pointers and such stuff.


Link Copied to Clipboard