Article View: borland.public.cppbuilder.nativeapi
Article #12076Re: Underscore in Dll export function
From: Ed Mulroy [TeamB]
Date: Thu, 25 Dec 2003 05:06
Date: Thu, 25 Dec 2003 05:06
28 lines
1713 bytes
1713 bytes
This is just a guess but try it. Restore the setting so that the compiler and linker now work correctly. Do a Project|Build and follow by looking at the exports with this command tdump -ee DllName.DLL . Ed > Muzzy wrote in message > news:3fea5c17$1@newsgroups.borland.com... > > I just wonder if anybody has an answer: > > I create a DLL which exports one function: > > extern "C" void __declspec(dllexport) GetValue(char* AValue); > > But when i do a dumpbin.exe /export MyDLL.DLL, i see that _GetValue is > exported, with underscore, and not GetValue > > Any ideas how to get rid of the underscore in the beginning? > > Thank you, > Andrey > > PS. I use BCB 6.0
Technical Details
Message-ID:
<3fea7070$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.media.kyoto-u.ac.jp!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<3fea5c17$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10cc67,978c9ad7ff0cf7fb X-Google-Attributes: gid10cc67,public X-Google-ArrivalTime: 2003-12-24 21:09:17 PST From: "Ed Mulroy [TeamB]" <dont_email_me@bitbuc.ket> Newsgroups: borland.public.cppbuilder.nativeapi References: <3fea5c17$1@newsgroups.borland.com> Subject: Re: Underscore in Dll export function Date: Thu, 25 Dec 2003 00:06:45 -0500 Lines: 30 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: <3fea7070$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1072328816 24.74.175.102 (24 Dec 2003 21:06:56 -0700) X-Authenticated-User: edmulroy Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.media.kyoto-u.ac.jp!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail