Using Delphi dlls in VB6
HI all , i have a dll that i would like to use in vb6. the problem i am having is that delphi cant see the values passed to it from vb6 ....however vb6 can get what ever i pass to it from Delphi
library db_conn;
uses
fastsharemem,
SysUtils,
dialogs,
Classes;
{$R *.res}
function SayHI(str char):string; stdcall;
begin
ShowMessage(str); {shows blank indicating it gets nothing from VB6}
Result:='ameman';
end;
exports
SayHI;
begin
end.
Anything or Anyone that fails to grow will eventually die. {AI}
-------------------------------------------------
Tomorrow is the future!
Today Is the Tomorrow you made Yesterday!{AI}