From: shelarcy <she...@gm...> - 2008-03-29 15:55:12
|
Hi, On Sat, 29 Mar 2008 23:29:08 +0900, Eric Y. Kow <eri...@gm...> wrote: >> What's the EXWXEXPORT() macro for? It didn't seem very useful to me... > > (snip) > > I get the impression that it's there for some kind of portability reasons. > Will need to do research on this mysterious __declspec(dllexport), __cdecl and > _cdecl business to understand better. Anyone already know what these do? __declspec(dllexport) is a calling convention to export functions in DLL, on Windows platform (Visual Studio). This convention's advantage is efficiency. http://msdn2.microsoft.com/en-us/library/3y1sfaz2(VS.80).aspx http://msdn2.microsoft.com/en-us/library/9h658af8(VS.80).aspx So, EXWXEXPORT is important for Windows user. Best Regards, -- shelarcy <shelarcy hotmail.co.jp> http://page.freett.com/shelarcy/ |