Article View: borland.public.cppbuilder.nativeapi
Article #6953Re: float MyAdd(float A,float B); int MyAdd(int A, int B); both in one DLL
From: Peter Str�mberg
Date: Sat, 05 Jul 2003 07:00
Date: Sat, 05 Jul 2003 07:00
17 lines
1558 bytes
1558 bytes
"Miem Chan" <miemchan@yahoo.com> wrote in news:3f06547e@newsgroups.borland.com: > In C++ it is valid to have two functions with the same name but with > different arguments as shown below; > ... > The problem (and my question) is how we can put both of these MyAdd > functions in to a single DLL and expect to call proper MyAdd function > depending on the parameters passed ? because of name mangling <http://my.execpc.com/~geezer/osd/cpp/> -- Peter Str�mberg C2K2 C2K3 ISCCIV02
Technical Details
Message-ID:
<Xns93AF5B9764CD2wilfriedspamcopnet@207.105.83.65>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-06!sn-xit-08!supernews.com!newsfeed.wirehub.nl!news.kweb.on.ca!newsgroups.borland.com!not-for-mailReferences:
<3f06547e@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII X-Google-Thread: 10cc67,81e91db7883b82d8 X-Google-Attributes: gid10cc67,public X-Google-Thread: 10db1e,81e91db7883b82d8 X-Google-Attributes: gid10db1e,public X-Google-Thread: 102541,81e91db7883b82d8 X-Google-Attributes: gid102541,public X-Google-ArrivalTime: 2003-07-05 00:03:42 PST Newsgroups: borland.public.cppbuilder.nativeapi,borland.public.cppbuilder.oodesign,borland.public.cppbuilder.students Subject: Re: float MyAdd(float A,float B); int MyAdd(int A, int B); both in one DLL From: "Peter Str�mberg" <wilfried@spamcop.net> References: <3f06547e@newsgroups.borland.com> Message-ID: <Xns93AF5B9764CD2wilfriedspamcopnet@207.105.83.65> User-Agent: Xnews/05.08.12 NNTP-Posting-Host: 213.65.156.53 Date: 5 Jul 2003 00:00:11 -0700 X-Trace: newsgroups.borland.com 1057388411 213.65.156.53 (5 Jul 2003 00:00:11 -0700) Lines: 17 Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-06!sn-xit-08!supernews.com!newsfeed.wirehub.nl!news.kweb.on.ca!newsgroups.borland.com!not-for-mail