From: Peter S. <pe...@st...> - 2010-01-19 05:22:18
|
Michael Plante wrote: >> compiler switch: /Gz . This would not require any code changes. > > Ooh. This may still not work. How does a program using the DLL > know to use __stdcall when calling the functions (or perhaps the > opposite is true, and it's people who use _cdecl who have problems)? Yes - cdecl is C standard and stdcall is everyone else's standard. But C can do stdcall too, as long as it's known. > I think we probably will still need a #define symbol. Hopefully we can reuse API_EXPORTED. //Peter |