🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Use function of a DLL by its index

#11862
From: Remy Lebeau (TeamB)
Date: Tue, 13 Jan 2004 17:47
13 lines
1365 bytes
"M.D." <muad_dib@gmx.li> 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.

No, it is not.  GetProcAddress() supports locating functions by ordinal
(index) as well as by name.  Look at the MAKEINTRESOURCE() macro.


Gambit
Technical Details
Message-ID: <40042ed8@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.frii.net!newsfeed.frii.net!news.compaq.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail
References: <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: "Remy Lebeau \(TeamB\)" <gambit47.no.spam@no.spam.yahoo.com>
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 09:47:02 -0800
Lines: 15
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.1165
NNTP-Posting-Host: 67.22.138.253
Message-ID: <40042ed8@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1074015960 67.22.138.253 (13 Jan 2004 09:46:00 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.frii.net!newsfeed.frii.net!news.compaq.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail