Einzelnen Beitrag anzeigen

jbg

Registriert seit: 12. Jun 2002
3.483 Beiträge
 
Delphi 10.1 Berlin Professional
 
#18

AW: FreeMem D2009 und FastMM

  Alt 2. Mai 2011, 11:37
In C heißen die Typen doch eh alle anders
Hast du dir schon mal dir WinAPI Header Dateien angeschaut? Da kommt eine Menge "int" als Parametertyp vor.

Das fängt schon beim CreateWindowEx an.
Code:
HWND WINAPI CreateWindowEx(
  __in     DWORD dwExStyle,
  __in_opt LPCTSTR lpClassName,
  __in_opt LPCTSTR lpWindowName,
  __in     DWORD dwStyle,
  __in     int x,
  __in     int y,
  __in     int nWidth,
  __in     int nHeight,
  __in_opt HWND hWndParent,
  __in_opt HMENU hMenu,
  __in_opt HINSTANCE hInstance,
  __in_opt LPVOID lpParam
);
  Mit Zitat antworten Zitat