|
S.J.Chun wrote:
> I'd like to create a DLL for windows platform(Tokyo Dystopia based search tool). Now
> I found that there's 2 kind of calling convention in Windows. What convention
> should I follow to create DLL so that it could be called from Squeak using FFI?
If your DLL is Windows-only, use __stdcall (i.e., WINAPI). If you need
to port it to other platforms use __cdecl. Both can be called.
Cheers,
- Andreas
|