Usage examples for FLRELib #5

Open
opened 2015-11-28 17:50:10 +00:00 by rchastain · 3 comments
rchastain commented 2015-11-28 17:50:10 +00:00 (Migrated from github.com)

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

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
rchastain commented 2015-11-29 07:57:45 +00:00 (Migrated from github.com)

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.

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.
BeRo1985 commented 2015-11-29 17:15:05 +00:00 (Migrated from github.com)

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.

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.
rchastain commented 2015-11-29 17:28:11 +00:00 (Migrated from github.com)

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.

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.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
BeRo1985/flre#5
No description provided.