E
erdosa
Hi
I want use dll (Delphi 7) in c#
example
delphi
procedure GetNev(sChar);export;
begin
ShowMessage(s) ;
end;
exports GetNev;
c#
[DllImport( "project1.dll", CallingConvention =
CallingConvention.StdCall, CharSet=CharSet.Unicode )]
public static extern void GetNev(string s);
GetNev("hello");
problem:
Message is: ^’rectangle’. (not "Hello")
what is tha problem???
Thanks Erdosa
(e-mail address removed)
I want use dll (Delphi 7) in c#
example
delphi
procedure GetNev(sChar);export;
begin
ShowMessage(s) ;
end;
exports GetNev;
c#
[DllImport( "project1.dll", CallingConvention =
CallingConvention.StdCall, CharSet=CharSet.Unicode )]
public static extern void GetNev(string s);
GetNev("hello");
problem:
Message is: ^’rectangle’. (not "Hello")
what is tha problem???
Thanks Erdosa
(e-mail address removed)