1. ffi.e
- Posted by ChrisB (moderator) Nov 14, 2022
- 1035 views
Using ffi.e, is the intention to put the include into std, ie
include std\ffi.e
and comment out
include std\dll.e
?
By the way, using 32 bit dlls, and put them in SysWOW64.
Cheers
Chris
2. Re: ffi.e
- Posted by ghaberek (admin) Nov 14, 2022
- 1076 views
Using ffi.e, is the intention to put the include into std, ie
include std\ffi.e
and comment out
include std\dll.e
?
That is the intent, yes. I plan for std/ffi.e to be backward-compatible but provide additional features. But the basic API for define_c_func(), etc. will work the same.
I will mark the routines in std/dll.e as deprecate which will cause a warning message when used, and update the documentation to say "please use [link to ffi] instead."
By the way, using 32 bit dlls, and put them in SysWOW64.
Please do not ever put third-party DLLs into your System32 or SysWOW64 directories. We should all just forget the entire C:\Windows directory even exists.
Put them into C:\Euphoria\bin instead. If you are packing and shipping an application, put them along side your executable, e.g. C:\Program Files\MyAppName.
-Greg