Board index » delphi » 16 bit DLL calling form Delphi 3.0

16 bit DLL calling form Delphi 3.0

I'm working with Delphi 1.0 and a library to manipulate an I/O aquisition
card. When I buy Delphi 3.0 and translate my project, the DLL don't work
and Windows says "DLL is damaged and must be reinstalled", and Delphi
Project don't run saying "Unable to create the process".

I tried diferent kinds of translation, but none works.

Any have a solution.

Thanks

 

Re:16 bit DLL calling form Delphi 3.0


Quote
Carlos Quiroz wrote:

> I'm working with Delphi 1.0 and a library to manipulate an I/O aquisition
> card. When I buy Delphi 3.0 and translate my project, the DLL don't work
> and Windows says "DLL is damaged and must be reinstalled", and Delphi
> Project don't run saying "Unable to create the process".

> I tried diferent kinds of translation, but none works.

And none will.  Essentially you can not call a 16-Bit DLL directly from
a 32-bit Application (and vice versa).

There are thunking-mechanisms that can do what you are trying to do but
I haven't used them.  If someone has a solution (by way of a unit or
instructions or component) I would certainly be most interested.

Johannes

Re:16 bit DLL calling form Delphi 3.0


Quote
Johannes Eggers wrote:
> Carlos Quiroz wrote:
> And none will.  Essentially you can not call a 16-Bit DLL directly from
> a 32-bit Application (and vice versa).

> There are thunking-mechanisms that can do what you are trying to do but
> I haven't used them.  If someone has a solution (by way of a unit or
> instructions or component) I would certainly be most interested.

Look at

   http://www.{*word*104}us.ca/~bclarke/d2thunk.html

Manfred

========================================================
http://ourworld.compuserve.com/homepages/MMuellerSpaeth/

Re:16 bit DLL calling form Delphi 3.0


On 7 Jul 1997 22:52:56 GMT, "Carlos Quiroz"

Quote
<cqui...@graduados.utfsm.cl> wrote:

Also look at Dr Bob's web page. Just search for Dr Bob & Delphi in
Yahoo.

Re:16 bit DLL calling form Delphi 3.0


On 7 Jul 1997 22:52:56 GMT, "Carlos Quiroz"

Quote
<cqui...@graduados.utfsm.cl> wrote:

Also look at Dr Bob's web page. Just search for Dr Bob & Delphi in
Yahoo.

Other Threads