Article View: borland.public.cppbuilder.nativeapi
Article #11865Re: Use function of a DLL by its index
From: Ed Mulroy [TeamB]
Date: Tue, 13 Jan 2004 17:48
Date: Tue, 13 Jan 2004 17:48
18 lines
1573 bytes
1573 bytes
Try this: GetProcAddress(lib_handle, MAKEINTRESOURCE(index-number)); Where index-number is the index number of the function. "mua_dib" ?!! Seen any good sand worms lately? <g> . Ed > M.D. wrote in message > news:40042b4e@newsgroups.borland.com... > > I try to use a function of a DLL. But this function is not > exported by its name, I only know the index-number of > the function. So GetProcAddress(...) seems to be useless. > How can i although use this function?
Technical Details
Message-ID:
<40042f7d@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!fu-berlin.de!news-ber1.dfn.de!news-kar1.dfn.de!npeer.de.kpn-eurorings.net!news.tele.dk!news.tele.dk!small.news.tele.dk!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:
<40042b4e@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10cc67,eda5469c8d6fe7d7 X-Google-Attributes: gid10cc67,public X-Google-ArrivalTime: 2004-01-13 10:07:52 PST From: "Ed Mulroy [TeamB]" <dont_email_me@bitbuc.ket> Newsgroups: borland.public.cppbuilder.nativeapi References: <40042b4e@newsgroups.borland.com> Subject: Re: Use function of a DLL by its index Date: Tue, 13 Jan 2004 12:48:42 -0500 Lines: 20 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: <40042f7d@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1074016125 24.74.175.102 (13 Jan 2004 09:48:45 -0700) X-Authenticated-User: edmulroy Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!fu-berlin.de!news-ber1.dfn.de!news-kar1.dfn.de!npeer.de.kpn-eurorings.net!news.tele.dk!news.tele.dk!small.news.tele.dk!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