🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #16233

R: DLL GetProcAddress problem

#16233
From: Enrico B.
Date: Thu, 22 May 2003 10:33
31 lines
1658 bytes
Thank you for your help Russel!

Henry

Russell Hind <rhind@mac.com> wrote in message
3eca47f7@newsgroups.borland.com...
> Have you tried tdump on the DLL?
>
> tdump txdevice.dll
>
> from the command prompt will list all the symbols the dll exports.  You
> can check the name with that.
>
> HTH Russell
>
> Enrico B. wrote:
> >
> > I am pretty sure the "Txdevice.dll" does contain the routine
> > "Txdevice_init"; in spite of that the instruction:
> >
> > Txdevice_init = (int (*)(void))GetProcAddress(hndr, "Txdevice_init");
> >
> > always returns zero.
> > Is there something wrong in my code?
> > Thanks in advance.
> >
> > Henry
> >
> >
> >
>
Technical Details
Message-ID: <3ecca3e2@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!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail
References: <3ec9e11d@newsgroups.borland.com> <3eca47f7@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,103aeaad97b09526
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2003-05-22 03:22:56 PST
Reply-To: "Enrico B." <eangelo@libero.it>
From: "Enrico B." <eangelo@libero.it>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <3ec9e11d@newsgroups.borland.com> <3eca47f7@newsgroups.borland.com>
Subject: R: DLL GetProcAddress problem
Date: Thu, 22 May 2003 12:33:03 +0200
Lines: 33
Organization: Idinet
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.38.43.80
Message-ID: <3ecca3e2@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1053598690 212.38.43.80 (22 May 2003 03:18:10 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-09!supernews.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail