Article View: pl.comp.lang.delphi
Article #345411Re: Dynamiczne ładowanie DLL
From: immo
Date: Mon, 05 Dec 2016 14:07
Date: Mon, 05 Dec 2016 14:07
14 lines
1976 bytes
1976 bytes
W dniu poniedziałek, 5 grudnia 2016 14:03:34 UTC+1 użytkownik stch...@gmail.com napisał:
1. Sprawdzaj czy w @FT_Open_Func masz adres procki z pobrany przez GetProcAddress, np:
if Assigned(FT_Open_Func) then
ftresult := FT_Open_Func(0,@FT_Handle)
else
ShowMessage('FT_Open_Func not found');
2. Zadeklaruj FT_Open_Func jako FT_Open_Func(PVDevice: integer; ftHandle: Pointer): integer; stdcall;
3. Ogólnie poczytaj o podstawach :) http://delphi.about.com/od/windowsshellapi/a/delphi-dll-loading-static-dynamic.htm
pozdrawiam,
Przemek O.
Technical Details
Message-ID:
<172daa86-a77e-4076-9d48-ceef3a04d64d@googlegroups.com>Path:
mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.icm.edu.pl!newsfeed2.atman.pl!newsfeed.atman.pl!goblin1!goblin2!goblin.stu.neva.ru!peer02.am4!peer.am4.highwinds-media.com!peer02.iad!feed-me.highwinds-media.com!news.highwinds-media.com!p16no2811562qta.1!news-out.google.com!j8ni5194qtc.0!nntp.google.com!n6no2812538qtd.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mailReferences:
<d4e0b6e4-835d-4acd-b39f-9badaa7abbc1@googlegroups.com>Show Full Headers
Complete Article Headers
X-Received: by 10.157.46.122 with SMTP id c55mr14917605otd.60.1480946855310; Mon, 05 Dec 2016 06:07:35 -0800 (PST) X-Received: by 10.157.4.119 with SMTP id 110mr3648671otc.11.1480946855246; Mon, 05 Dec 2016 06:07:35 -0800 (PST) Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.icm.edu.pl!newsfeed2.atman.pl!newsfeed.atman.pl!goblin1!goblin2!goblin.stu.neva.ru!peer02.am4!peer.am4.highwinds-media.com!peer02.iad!feed-me.highwinds-media.com!news.highwinds-media.com!p16no2811562qta.1!news-out.google.com!j8ni5194qtc.0!nntp.google.com!n6no2812538qtd.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: pl.comp.lang.delphi Date: Mon, 5 Dec 2016 06:07:34 -0800 (PST) In-Reply-To: <d4e0b6e4-835d-4acd-b39f-9badaa7abbc1@googlegroups.com> Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=77.65.28.194; posting-account=uWBjDgoAAACxkgIP6dtE4dpCnc16V86n NNTP-Posting-Host: 77.65.28.194 References: <d4e0b6e4-835d-4acd-b39f-9badaa7abbc1@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <172daa86-a77e-4076-9d48-ceef3a04d64d@googlegroups.com> Subject: Re: Dynamiczne ładowanie DLL From: immo <przemek-o@soft-system.pl> Injection-Date: Mon, 05 Dec 2016 14:07:35 +0000 X-Received-Body-CRC: 1773358433 X-Received-Bytes: 1875 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit