Guest_imported
New member
- Jan 1, 1970
- 0
library MyDLL;
uses SysUtils, Classes;
function MyMin(x,y:real):real; cdecl;
begin
if x<y then Result := x else Result := y;
end;
var res : array[0..1024] of char;
function DoubleString(str
Char)
Char; cdecl;
begin
StrCopy(res,str);
StrCat(res,str);
Result := res;
end;
exports MyMin, DoubleString;
begin
end.
This is a Delphi code DLL making layout ....... but how to do the same with C++ , can you give me this type of dll layout !
plz !!!!!
uses SysUtils, Classes;
function MyMin(x,y:real):real; cdecl;
begin
if x<y then Result := x else Result := y;
end;
var res : array[0..1024] of char;
function DoubleString(str
begin
StrCopy(res,str);
StrCat(res,str);
Result := res;
end;
exports MyMin, DoubleString;
begin
end.
This is a Delphi code DLL making layout ....... but how to do the same with C++ , can you give me this type of dll layout !
plz !!!!!