Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

win32api on freepascal

Name: Anonymous 2007-11-09 8:26

I have a problem compiling this on freepascal, can you check for any error?

unit TestDll;

interface
uses Windows;
const
 NOMBREDLL = 'User32.dll';
 NOMBREFUNCION = 'GetAsyncKeyState';
// SHORT c(
  //  int vKey  // código de tecla virtual
  // );

function GetAsyncKeyState(vKey:longint):integer; *stdcall*; *external* NOMBREDLL name NOMBREFUNCION;

begin
end.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List