Re: [PATCH] non static libs on windows (dll)
From: Russell Yanofsky <rey4_at_columbia.edu>
Date: 2003-03-21 09:55:39 CET
Branko Cibej wrote:
Really? The following works for me on VC6
int __declspec(dllexport) __stdcall whatwhat()
But you are right about __stdcall having to come after the return type, so
Anyway, on the bigger issue I think the best alternatives are:
1) Use __cdecl and DEF files. The advantages are that it doesn't require any
2) Use __stdcall and __declspec() . The advantages are that __stdcall
Either one seems reasonable to me...
- Russ
---------------------------------------------------------------------
|
This is an archived mail posted to the Subversion Dev mailing list.
This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.