Article View: borland.public.cppbuilder.nativeapi
Article #325Re: access function in dll
From: Denville Longhurst
Date: Wed, 30 Apr 2008 07:52
Date: Wed, 30 Apr 2008 07:52
36 lines
2503 bytes
2503 bytes
Thanks for that, a very interesting tool. No, my required function is not listed in the dll, so I guess they have supplied an old or broken dll with the sdk. Thanks again. Denville. "Leo Havm�ller" <rtxleh@nospam.nospam> wrote in message news:4817f107$1@newsgroups.borland.com... > "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:
<48182553$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!news.isoc.lu!newsgroups.borland.com!not-for-mailReferences:
<4817969d$1@newsgroups.borland.com> <4817f107$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: "Denville Longhurst" <denville@metco.co.uk> Newsgroups: borland.public.cppbuilder.nativeapi References: <4817969d$1@newsgroups.borland.com> <4817f107$1@newsgroups.borland.com> Subject: Re: access function in dll Date: Wed, 30 Apr 2008 07:52:52 -0000 Lines: 38 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.3138 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3198 X-RFC2646: Format=Flowed; Response NNTP-Posting-Host: 82.8.28.29 Message-ID: <48182553$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1209541971 82.8.28.29 (30 Apr 2008 00:52:51 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!news.isoc.lu!newsgroups.borland.com!not-for-mail