Einzelnen Beitrag anzeigen

NicoDE
(Gast)

n/a Beiträge
 
#5

Re: Funktion in dll auslagern

  Alt 20. Mär 2004, 14:47
Zitat von Pseudemys Nelsoni:
was ist mWND? das gibts in delphi doch garnicht oder?
Das ist der Name Parameters (kannst Du in Deiner DLL nennen wie Du willst).
In C/C++ sind Parameter und Typ im Sinne der Delphi Language vertauscht.
(HWND mWnd -> mWnd: HWND)

Zitat von Pseudemys Nelsoni:
wie setze ich das:

int __stdcall procname(HWND mWnd, HWND aWnd, char *data, char *parms, BOOL show, BOOL nopause)

in delphi um?
function ProcName(mWnd, aWnd: HWND; data, parms: PAnsiChar; show, nopause: LongBool): Integer; stdcall; Bzw. PByte statt PAnsiChar, je nach Verwendung.
  Mit Zitat antworten Zitat