Einzelnen Beitrag anzeigen

JonnyGuitar

Registriert seit: 4. Jun 2004
233 Beiträge
 
#3

Re: Parameterprobleme beim Aufruf einer Delphi DLL aus C#

  Alt 26. Okt 2009, 16:08
Hallo,

ich habe das jetzt mal so eingebaut wie du geschrieben hast, leider bekomme
ich schon beim Aufruf einen Fehler (SEHException).

Gibt es eine Möglichkeit das zu debuggen in Delphi (An Prozess hängen hat nicht geklappt)

Ich habe das versucht so zu implementieren:

in C#
Delphi-Quellcode:
[DllImport("eMapi.dll")]
public static extern void Profile(IntPtr ms);
in Delphi:
procedure Profile(ms: IUnknown); stdcall; Noch ne Idee was daran falsch ist?


Gruss Jonny
the only thing to fear is runnin' out of beer
  Mit Zitat antworten Zitat