Autor Beitrag
chaoslion
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 45


Delphi 2k6 Prof,C,C#,Delphi
BeitragVerfasst: Di 13.03.07 09:49 
Hey,


weiß einer wie ich in Oberon eine in Delphi erstellte Dll aufrufe?
Wollte es mit ner Simplen Funktion
ausblenden Delphi-Quelltext
1:
2:
3:
4:
function add(a,b: integer): integer;
begin
 result := a+b;
end;

probieren und so in Oberon aufrufen:
ausblenden Quelltext
1:
PROCEDURE [_APICALL] add(a,b: INTEGER): INTEGER;					


der Linker sagt aber was von Object not resolved...

Moderiert von user profile iconmatze: Code- durch Delphi-Tags ersetzt
Horst_H
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 1654
Erhaltene Danke: 244

WIN10,PuppyLinux
FreePascal,Lazarus
BeitragVerfasst: Di 13.03.07 11:48 
Hallo,

wahrscheinlich muß die Delphi-Dll stdcall als Aufkonvektion nutzen, vermute ich wegen [_apicall].
Siehe mal
www.delphi-forum.de/...ighlight=stdcall+dll

Gruß Horst