Declaration was expected in function DECLARE_HANDLE

Declaration was expected in function DECLARE_HANDLE

Postby KRCNET » Mon Jun 18, 2018 11:22 am

At the time of compiling this giving error, someone can help me

(063/201) Compilando FAT1111.PRG
xHarbour Compiler build 1.2.1 (SimpLex) (Rev. 6406)
Copyright 1999-2009, http://www.xharbour.org http://www.harbour-project.org/
 
* (064/201) Compilando FAT1111.c
Borland C++ 5.82 for Win32 Copyright (c) 1993, 2005 Borland
.\fat1111.c:
Error E2257 C:\BCC582\include\windef.h 183: , expected
Error E2257 C:\BCC582\include\windef.h 184: , expected
Error E2258 C:\BCC582\include\windef.h 208: Declaration was expected in function DECLARE_HANDLE
Error E2258 C:\BCC582\include\windef.h 209: Declaration was expected in function DECLARE_HANDLE
Error E2257 C:\BCC582\include\windef.h 217: , expected in function DECLARE_HANDLE
Error E2238 C:\BCC582\include\windef.h 247: Multiple declaration for 'DECLARE_HANDLE' in function DECLARE_HANDLE
Error E2344 C:\BCC582\include\windef.h 208: Earlier declaration of 'DECLARE_HANDLE' in function DECLARE_HANDLE
Error E2258 C:\BCC582\include\windef.h 247: Declaration was expected in function DECLARE_HANDLE
Error E2257 C:\BCC582\include\windef.h 248: , expected in function DECLARE_HANDLE
Error E2238 C:\BCC582\include\windef.h 251: Multiple declaration for 'DECLARE_HANDLE' in function DECLARE_HANDLE
Error E2344 C:\BCC582\include\windef.h 247: Earlier declaration of 'DECLARE_HANDLE' in function DECLARE_HANDLE
Error E2258 C:\BCC582\include\windef.h 251: Declaration was expected in function DECLARE_HANDLE
Error E2258 C:\BCC582\include\windef.h 254: Declaration was expected in function DECLARE_HANDLE
Error E2258 C:\BCC582\include\windef.h 255: Declaration was expected in function DECLARE_HANDLE
Error E2258 C:\BCC582\include\windef.h 258: Declaration was expected in function DECLARE_HANDLE
Error E2258 C:\BCC582\include\windef.h 261: Declaration was expected in function DECLARE_HANDLE
Error E2258 C:\BCC582\include\windef.h 263: Declaration was expected in function DECLARE_HANDLE
Error E2258 C:\BCC582\include\windef.h 264: Declaration was expected in function DECLARE_HANDLE
Error E2258 C:\BCC582\include\windef.h 265: Declaration was expected in function DECLARE_HANDLE
Error E2258 C:\BCC582\include\windef.h 267: Declaration was expected in function DECLARE_HANDLE
Error E2258 C:\BCC582\include\windef.h 269: Declaration was expected in function DECLARE_HANDLE
Error E2258 C:\BCC582\include\windef.h 271: Declaration was expected in function DECLARE_HANDLE
Error E2258 C:\BCC582\include\windef.h 273: Declaration was expected in function DECLARE_HANDLE
Error E2258 C:\BCC582\include\windef.h 274: Declaration was expected in function DECLARE_HANDLE
Error E2257 C:\BCC582\include\windef.h 275: , expected in function DECLARE_HANDLE
Error E2228 C:\BCC582\include\windef.h 275: Too many error or warning messages in function DECLARE_HANDLE
-----------------------------------------------------------------------
font I'm trying to compile


#pragma BEGINDUMP

#include <windows.h>
#include <hbapi.h>
#include <hbapierr.h>
#include "hbapiitm.h"
#include "hbvm.h"
#include "hbapirdd.h"
#include "hbxvm.h"


HB_FUNC( ISEXE64 ) // Check if our app is 64 bits

{
hb_retl( ( sizeof( void * ) == 8 ) );
}

#pragma ENDDUMP
Cleber Ribeiro Conde
Krc Sistemas
FWH 7.1 / xHarbour 0.99.71 / xMate/ SqlLib
KRCNET
 
Posts: 25
Joined: Wed Mar 14, 2007 1:58 pm
Location: Belo Horizonte/MG/Brasil

Re: Declaration was expected in function DECLARE_HANDLE

Postby Enrico Maria Giordano » Mon Jun 18, 2018 12:21 pm

Your sample compiles without errors here using Harbour and xHarbour with BCC 7.30.

EMG
User avatar
Enrico Maria Giordano
 
Posts: 8710
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot] and 40 guests