Article View: borland.public.cppbuilder.nativeapi
Article #1229Using __stdcall
From: Sue King
Date: Sun, 14 Oct 2007 22:44
Date: Sun, 14 Oct 2007 22:44
19 lines
1416 bytes
1416 bytes
Hi, I have some old C code that I wish to compile using the 2007 C/C++ in RAD Studio Professional. This links to a dll that uses __stdcall and gives names such as _Function@4 in the .lib file. I don't seem to be able to get the compiler to pick up the mangled name. The error is [ILINK32 Error]Error: Unresolved external 'Function' referenced from xx.obj I tried unchecking the name mangle option under General Compatability but still no joy. Can someone please point me to some documentation/examples, or explain what I have missed ? (Or the correct newsgroup if this is not the right one) TIA Sue King
Technical Details
Message-ID:
<47129b93$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!news2.google.com!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,4be438fa70c4738f,start X-Google-Attributes: gid10cc67,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Date: Mon, 15 Oct 2007 08:44:49 +1000 From: Sue King <sue@torrensbs.com.au> User-Agent: Thunderbird 2.0.0.6 (Windows/20070728) MIME-Version: 1.0 Newsgroups: borland.public.cppbuilder.nativeapi Subject: Using __stdcall Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 203.34.140.74 Message-ID: <47129b93$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1192401811 203.34.140.74 (14 Oct 2007 15:43:31 -0700) Lines: 19 Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!news2.google.com!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail