Article View: borland.public.cppbuilder.nativeapi
Article #17277Re: Import functions from gll by index.
From: Mariusz Grecki
Date: Thu, 27 Mar 2003 17:35
Date: Thu, 27 Mar 2003 17:35
26 lines
2066 bytes
2066 bytes
Thanks for informations, I spend huge amount of time only to gain knowledge that M$ does not give the full information in MSDN! Now I understand the problem and can find solution by analysis of the PE format of kernel32.dll or other way. However I wonder how it is made by internals of Delphi compiler/linker, because I have Delphi program (rawwrite - written by John Newbigin ) that declares ------------------------ function LoadLibrary16; external kernel32 index 35; procedure FreeLibrary16; external kernel32 index 36; function GetProcAddress16; external kernel32 index 37; ----------------------- and that imports are done "automagicaly"! I was trying to import those functions in BC++ Builder - you know with what results....... At this moment I have an idea to make a dll in Delphi (using "automagic" importing mechanism) and to use this dll from C++ program - I expect it will be easier than to analyse the PE of kernel32 (I know, it is not to complex, but .....) Many thanks Mariusz Grecki
Technical Details
Message-ID:
<3e8334b8$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-09!supernews.com!iad-peer.news.verio.net!news.verio.net!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mailReferences:
<3e8165eb@newsgroups.borland.com> <3e81f8e3$2@newsgroups.borland.com> <3e82b1fc$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10cc67,3166b65da596fd46 X-Google-Attributes: gid10cc67,public X-Google-ArrivalTime: 2003-03-27 09:34:50 PST From: "Mariusz Grecki" <grecki@dmcs.p.lodz.pl> Newsgroups: borland.public.cppbuilder.nativeapi References: <3e8165eb@newsgroups.borland.com> <3e81f8e3$2@newsgroups.borland.com> <3e82b1fc$1@newsgroups.borland.com> Subject: Re: Import functions from gll by index. Date: Thu, 27 Mar 2003 18:35:03 +0100 Lines: 30 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.00.2615.200 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200 NNTP-Posting-Host: 212.51.219.26 Message-ID: <3e8334b8$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1048786104 212.51.219.26 (27 Mar 2003 09:28:24 -0800) Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-09!supernews.com!iad-peer.news.verio.net!news.verio.net!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail