Board index » delphi » thunking (calling 16 bit dll's from 32 bit app)

thunking (calling 16 bit dll's from 32 bit app)

Hi there,

Can anybody give me any information or tell me where I can find any on
thunking (calling 16 bit dll's from my delphi 2.0 app). A good example would
be the best.

Thanks in advance.

 ,-,-,-.            ,---.    ,-,---.      .          .   .
 `,| | |  ,-.,-.. , |  -'     '|___/. .,-.|-.. , ,,-.| ,-|
   | ; | .,-||  |/  |  ,-',.  ,|   \| ||  | ||/|/ ,-|| | |
   '   `-'`-^'  |\  `---| `' `-^---'`-'`-'' '' '  `-^`'`-'
                ' `  ,-.|
                     `-+'
e-mail mb...@supweigh.ca .....or.... URL http://www.supweigh.ca/~mbuch

 

Re:thunking (calling 16 bit dll's from 32 bit app)


Look at an article in The Delphi Magazine, Issue 12, August 1996 and a follow
up submission in issue 13 (September 1996), this article is Copyright ? 1996
Brian Long. The article was written by Brian Long (76004.3...@compuserve.com)
For information on The Delphi Magazine, contact Chris Frizelle on
70630....@compuserve.com.

-Roy.

Quote

In article <51rtlo$...@wpg-01.escape.ca>,
   mb...@supweigh.ca (Mark Buchwald) wrote:
Quote
>Hi there,

>Can anybody give me any information or tell me where I can find any on
>thunking (calling 16 bit dll's from my delphi 2.0 app). A good example would
>be the best.

>Thanks in advance.

> ,-,-,-.            ,---.    ,-,---.      .          .   .
> `,| | |  ,-.,-.. , |  -'     '|___/. .,-.|-.. , ,,-.| ,-|
>   | ; | .,-||  |/  |  ,-',.  ,|   \| ||  | ||/|/ ,-|| | |
>   '   `-'`-^'  |\  `---| `' `-^---'`-'`-'' '' '  `-^`'`-'
>                ' `  ,-.|
>                     `-+'
>e-mail mb...@supweigh.ca .....or.... URL http://www.supweigh.ca/~mbuch

Re:thunking (calling 16 bit dll's from 32 bit app)


On Thu, 19 Sep 96 17:44:47 GMT, mb...@supweigh.ca (Mark Buchwald)
wrote:

Quote
>Hi there,

>Can anybody give me any information or tell me where I can find any on
>thunking (calling 16 bit dll's from my delphi 2.0 app). A good example would
>be the best.

I'd highly recommend Brian Long's articles in the Delphi Magazine -
Issues 12 and 13.  The article in Issue 12 will give you a good
grounding in the principles needed to achieve a stable thunk directly
from Delphi, and the disk supplied with issue 13 has a unit on it
containing a function 'Call16BitRoutine' which you can use to call
16-bit DLLs utterly painlessly and without need for coding.  It's
saved me no end of time.

Delphi Magazine can be contacted at :-

70630....@compuserve.com
Tel: +44 (0)181 249 0354        Fax: +44(0)181 249 0376

Cheers,

Russ.

Other Threads