Link to home
Start Free TrialLog in
Avatar of Dazza051197
Dazza051197

asked on

Calling a 16 bit DLL from Delphi 2

I'm trying to call a 16 bit DLL from my Delphi 2 application.  I'm getting the program to compile ok but when I run it I get a "Debugger kernel error. Error code: 1."I've also tried to call functions in the mmsystem dll but I get the same error.  Any ideas anyone ?
ASKER CERTIFIED SOLUTION
Avatar of icampbe1
icampbe1

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Dazza051197
Dazza051197

ASKER

What the heck is Generic Thunking ?  Guess I'll compile it as an exe and pass things over via the command line then.  Not as tidy as a DLL but I need to call a Delphi 16 bit app from Delphi 32.