Article View: borland.public.cppbuilder.nativeapi
Article #12075Underscore in Dll export function
From: Muzzy
Date: Thu, 25 Dec 2003 03:39
Date: Thu, 25 Dec 2003 03:39
17 lines
1267 bytes
1267 bytes
Hi, 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:
<3fea5c17$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!fu-berlin.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailShow 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 20:09:07 PST Date: Wed, 24 Dec 2003 22:39:57 -0500 From: Muzzy <leyandrew@yahoo.com> User-Agent: Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.5) Gecko/20031013 Thunderbird/0.3 X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: borland.public.cppbuilder.nativeapi Subject: Underscore in Dll export function Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 24.91.233.60 Message-ID: <3fea5c17$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1072323607 24.91.233.60 (24 Dec 2003 19:40:07 -0700) Lines: 18 Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!fu-berlin.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail