🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Underscore in Dll export function

#12090
From: Remy Lebeau (TeamB)
Date: Fri, 26 Dec 2003 03:08
18 lines
1751 bytes
"Muzzy" <leyandrew@yahoo.com> wrote in message
news:3feb0265$1@newsgroups.borland.com...

> when i call this function with GetProcAddress, it returns NULL
> unless i put '_GetValue' - with underscore... So we've found the
> way to get rid of underscore in export symbol of dll, but when
> calling it i still have to add underscore to function name...

No, you do not.  You are probably still loading an old version of the DLL
that still had "_" in the exported name.  Make sure that you locate all
copies of the DLL on your machine and delete them all except for the
absolute latest one, and also make sure that you are doing a full build of
the DLL (delete the .obj files and such) to make sure that the compiler is
producing an up-to-date DLL file.


Gambit
Technical Details
Message-ID: <3feba4dc@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-mail
References: <3fea5c17$1@newsgroups.borland.com> <r82luvgtq0rgn35tqlnjiqk6316dmpjs9o@4ax.com> <3feb0265$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-25 19:09:22 PST
From: "Remy Lebeau \(TeamB\)" <gambit47.no.spam@no.spam.yahoo.com>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <3fea5c17$1@newsgroups.borland.com> <r82luvgtq0rgn35tqlnjiqk6316dmpjs9o@4ax.com> <3feb0265$1@newsgroups.borland.com>
Subject: Re: Underscore in Dll export function
Date: Thu, 25 Dec 2003 19:08:07 -0800
Lines: 20
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.139.199
Message-ID: <3feba4dc@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1072407772 67.22.139.199 (25 Dec 2003 19:02:52 -0700)
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