Hello everyone.
I have a dll made in delphi 7 where the parameters are of type PChar.
Calling it in a delphi program works ok.
How to declare and use it in a C # program.
Ex delphi dll:
Function Mostra_Msg (Parmsg: PChar): LongBool; export; // stdcall
begin
Result: = True;
ShowMessage ('String Passed =' + Strpas (parmsg));
end;
Thank you.