485
edits
(3 intermediate revisions by 2 users not shown) | |||
Line 92: | Line 92: | ||
There's an alias for LongPtr in DataFlex 19.1 | There's an alias for LongPtr in DataFlex 19.1 | ||
=== Calling conventions === | |||
In DataFlex 20 you should use the following calling conventions for your external DLLs | |||
* 32 bit: stdcall | |||
* 64 bit: fastcall | |||
See also: [https://renenyffenegger.ch/notes/development/languages/C-C-plus-plus/calling-convention Calling conventions] | |||
The DF20 runtime uses the library [https://en.wikipedia.org/wiki/Libffi libffi] to make the call. | |||
It is possible that for 32 bit the cdecl calling convention also works now, but it has so far only seen limited testing. | |||
= Unicode Support = | = Unicode Support = | ||
Line 140: | Line 152: | ||
Bytes are not code points, one character can take up to 4 bytes. | Bytes are not code points, one character can take up to 4 bytes. | ||
[[Category:How To]] | |||
[[Category:Tutorials]] |