🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: access function in dll

#323
From: Leo Havmøller
Date: Wed, 30 Apr 2008 04:09
25 lines
2225 bytes
"Denville Longhurst" <denville@metco.co.uk> wrote in message 
news:4817969d$1@newsgroups.borland.com...
>I have a .dll which was intended for use in a VC++ app.  I don't have vc++ 
>but I have to asume that it compiles ok.
>
> I need to use this .dll in my app.  The thing is that it contains an 
> essential function that is not specifically exported (ie I run impdef on 
> the .dll and the func is not listed.  I run implib and examine it (WinHex) 
> and there is no trace of the function name.  I have tried loading the dll 
> both statically and dynamically but I can't get to the function.  If I 
> examine the actual .dll I can see the required function name but only in 
> one place, whereas all the other function names occur twice (one in the 
> export list and once later).
>
> So question is, does vc++ have some other mechanism to access this 
> function, and can I tap into it?
>
> NB the function is clearly intended to be exported; it is published in the 
> .h file and is clearly doccumented, indeed it is essential to the 
> application.

The function may be just exported by number. Use Depends.exe to see a full 
listing of what is exported.

Leo Havm�ller. 
Technical Details
Message-ID: <4817f107$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news1.google.com!news.glorb.com!news.isoc.lu!newsgroups.borland.com!not-for-mail
References: <4817969d$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,6110533675898442
X-Google-Attributes: gid10cc67,domainid0,public,usenet
X-Google-Language: ENGLISH,ASCII
From: Leo Havmøller <rtxleh@nospam.nospam>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <4817969d$1@newsgroups.borland.com>
In-Reply-To: <4817969d$1@newsgroups.borland.com>
Subject: Re: access  function in dll
Date: Wed, 30 Apr 2008 06:09:45 +0200
Lines: 26
MIME-Version: 1.0
Content-Type: text/plain;
 format=flowed;
 charset="iso-8859-1";
 reply-type=response
Content-Transfer-Encoding: 8bit
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Windows Mail 6.0.6001.18000
X-MimeOLE: Produced By Microsoft MimeOLE V6.0.6001.18000
NNTP-Posting-Host: 87.54.11.130
Message-ID: <4817f107$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1209528583 87.54.11.130 (29 Apr 2008 21:09:43 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news1.google.com!news.glorb.com!news.isoc.lu!newsgroups.borland.com!not-for-mail