Article View: borland.public.cppbuilder.nativeapi
Article #11864Re: System Path
From: Ed Mulroy [TeamB]
Date: Tue, 13 Jan 2004 17:46
Date: Tue, 13 Jan 2004 17:46
22 lines
1731 bytes
1731 bytes
Might it be an issue of what the public name is vs what you expect the public name to be? Try this: tdump -ee dllname.dll and look at the exact text of the public name and compare it to that used in the GetProcAddress call. For instance, you might be giving GetProcAddress "FunctionName" when the public name actually is "_FunctionName" or "@FunctionName$qv". The public name is what GetProcAddress requires. . Ed > Oliver Young wrote in message > news:4004243f$1@newsgroups.borland.com... > > Thank you all that replayed. I've tried to use full dll path when > calling LoadLibrary(). LoadLibrary() succeed, but > GetProcAddress() fails. :(
Technical Details
Message-ID:
<40042edb$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!easynet-monga!easynet.net!newsfeed.icl.net!newsfeed.fjserv.net!proxad.net!203.109.252.33.MISMATCH!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mailReferences:
<4003d527@newsgroups.borland.com> <4003ec5d$1@newsgroups.borland.com> <4004243f$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10cc67,2de8b2774d42c536 X-Google-Attributes: gid10cc67,public X-Google-ArrivalTime: 2004-01-13 10:07:48 PST From: "Ed Mulroy [TeamB]" <dont_email_me@bitbuc.ket> Newsgroups: borland.public.cppbuilder.nativeapi References: <4003d527@newsgroups.borland.com> <4003ec5d$1@newsgroups.borland.com> <4004243f$1@newsgroups.borland.com> Subject: Re: System Path Date: Tue, 13 Jan 2004 12:46:01 -0500 Lines: 24 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 NNTP-Posting-Host: 24.74.175.102 Message-ID: <40042edb$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1074015963 24.74.175.102 (13 Jan 2004 09:46:03 -0700) X-Authenticated-User: edmulroy Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!easynet-monga!easynet.net!newsfeed.icl.net!newsfeed.fjserv.net!proxad.net!203.109.252.33.MISMATCH!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail