Article View: pl.comp.lang.delphi
Article #345364Re: Raspberry/Lazarus/FTDI - prośba o pomoc
From: Piotr S.
Date: Wed, 16 Nov 2016 11:11
Date: Wed, 16 Nov 2016 11:11
15 lines
1745 bytes
1745 bytes
W dniu 2016-11-16 o 10:30, stchebel@gmail.com pisze: > > Sytuacja jest taka, że wystarczy by prototyp funkcji był zadeklarowany: > function FT_Open(PVDevice:Integer; ftHandle:Pointer ) : integer ; stdcall ; External 'ftd2xx.dll' name 'FT_Open'; > > i już forma się nie otwiera. Niezależnie czy w dalszej części programu jest polecenie wywołania tej funkcji czy nie. > A procedura FT_Open na pewno istnieje w tej dllce? Może nazwę trzeba poprzedzić znakiem "_"? Albo może trzeba użyć innej konwencji wywoływania niż stdcall? Spróbuj jeszcze poprzez dynamiczne ładowanie dllki tj. LoadLibrary, GetProcAddress itd. Wtedy może łatwiej dojdziesz gdzie jest problem. P.S.
Technical Details
Message-ID:
<o0hesu$a7h$1@news.icm.edu.pl>Path:
mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.icm.edu.pl!.POSTED!not-for-mailReferences:
<0ab4624c-e38d-40b6-9d07-2f655cd846c3@googlegroups.com> <o0h2cf$toj$1@portraits.wsisiz.edu.pl> <o0h806$5vs$1@portraits.wsisiz.edu.pl> <34545a40-f879-4692-8d68-de3ff3a45c53@googlegroups.com>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.icm.edu.pl!.POSTED!not-for-mail From: "Piotr S." <sashxat@interia.pl> Newsgroups: pl.comp.lang.delphi Subject: Re: Raspberry/Lazarus/FTDI - prośba o pomoc Date: Wed, 16 Nov 2016 12:11:28 +0100 Organization: ICM, Uniwersytet Warszawski Lines: 17 Message-ID: <o0hesu$a7h$1@news.icm.edu.pl> References: <0ab4624c-e38d-40b6-9d07-2f655cd846c3@googlegroups.com> <o0h2cf$toj$1@portraits.wsisiz.edu.pl> <o0h806$5vs$1@portraits.wsisiz.edu.pl> <34545a40-f879-4692-8d68-de3ff3a45c53@googlegroups.com> NNTP-Posting-Host: ibw194.internetdsl.tpnet.pl Mime-Version: 1.0 X-Trace: news.icm.edu.pl 1479294686 10481 79.189.48.194 (16 Nov 2016 11:11:26 GMT) X-Complaints-To: usenet@news.icm.edu.pl NNTP-Posting-Date: Wed, 16 Nov 2016 11:11:26 +0000 (UTC) User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0 In-Reply-To: <34545a40-f879-4692-8d68-de3ff3a45c53@googlegroups.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit