Can't give you code - but I did this a few years back.
Create an external library and add an method with a call signature
matching the function you got below.
Then you need to get the ExternalMethod instance (e.g. UserLibrary methodDictionary at: #blockInput:). This ExternalMethod instance
contains and ExternalDescriptor which contains the (for DLLs resolved)
proc address (check for #procAddress). You need to write the address you
got below into the descriptor literal. Then you can call the function
you got below by using an instance of your own lib. I /think/ there was
also some lazy/caching stuff going on. You might have to check.
Can't give you the exact code. But this is the rough outline.
CU,
Udo
Am 12.10.2019 um 15:44 schrieb Dima Smirnov:
Hello! How can I describe a similar structure:
typedef struct _ISciterAPI {
UINT version; // is zero for now
LPCWSTR SCFN( SciterClassName )();
UINT SCFN( SciterVersion )(BOOL major);
} ISciterAPI;
in Dolphin?
--- SoupGate-Win32 v1.05
* Origin: fsxNet Usenet Gateway (21:1/5)