Usage examples for FLRELib
Hello Benjamin!
When you have free time, could you give an example using FLRELib?
It would be interesting to have examples in different languages. Maybe I could contribute, but I need you to give the first example. :)
Best regards.
Roland
I made this little example (for Free Pascal):
program testdll1;
{$MODE DELPHI}
uses
Classes, SysUtils;
function FLREGetVersionString(): pchar; stdcall; external 'FLRELib';
begin
WriteLn(FLREGetVersionString());
ReadLn;
end.
But for the other functions, I don't see how to use them.
Only the problem in the moment: The foreign-API of FLRE is a bit out-of-sync in the moment, so I must (re-)sync the foreign-API first to the Pascal-native API again.
OK, thank you for the answer. I don't really need the dynamic library for now. I was just curious about the way to use it.