Ver Mensaje Individual
  #1  
Antiguo 10-03-2016
Ramsay Ramsay is offline
Miembro
NULL
 
Registrado: ene 2016
Posts: 104
Reputación: 9
Ramsay Va por buen camino
Error en funcion usando stdcall

Hola , tengo Delphi XE2 y tengo un error al usar este codigo , lo eh puesto en todas las partes del codigo del proyecto pero siempre me devuelve el error :

Código:
expected ; but received an identifier 'external'
El source :

Código Delphi [-]
function capCreateCaptureWindowA(
  WindowName: PChar;
  dwStyle: Cardinal;
  x,y,width,height: Integer;
  ParentWin: HWnd;
  WebcamID: Integer): Hwnd; stdcall external 'AVICAP32.dll';

¿ Como resuelvo esto ?
Responder Con Cita