Hi all,
I want if it's possible to create DLLs in Lazarus, and then use them in C ?
Because I created a simple one, but C can not find any function, actually, I opened the dll with a dll file viewer, and there is no function/variable located.
this the example that i tried:
library project1;
{$mode objfpc}{$H+}
uses
Classes
{ you can add units after this };
function strtoint(s: string): integer;
var x, e: integer;
begin
val(s, x, e);
strtoint := x;
end;
begin
end.
Thanks a lot.
Cheers,
KingXerXes