Link to home
Start Free TrialLog in
Avatar of TheMatrixDuck
TheMatrixDuck

asked on

how can I call into a csharp dll from delphi

I need to call a procedure in a c-sharp library from delphi.  Project compiles, but causes an Access Violation when executed, before the project code is run (during load).
Here is my external declaration in delphi:

procedure OpenRxEntryForm(iToken: Integer; Prescription_id: AnsiString ) stdcall; external 'RxTracker.dll';
ASKER CERTIFIED SOLUTION
Avatar of Ephraim Wangoya
Ephraim Wangoya
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of TheMatrixDuck
TheMatrixDuck

ASKER

ReRouted to another project branch.  Haven't tested the solution yet, but the answer is at least a partial solution.