sample test.prg
- Code: Select all Expand view
#include "FiveWin.ch"
static nInitial1, nInitial2 , nInitial3
STATIC aOImages
STATIC magicNum
STatic nHeightImg
//----------------------------------------------------------------------------//
function Main()
local oWnd
local obmp1, obmp2, oBmp3
local ofont
local osay
DEFINE FONT ofont NAME "arial" SIZE 0,-80 BOLD
DEFINE WINDOW oWnd
@ 20,12 button "lauch" size 40,20 pixel Action NIL
@ 6,72 BITMAP oBmp1 File "" size 100, 240 pixel
@ 6,182 BITMAP oBmp2 File "" size 100, 240 pixel
@ 6,292 BITMAP oBmp3 File "" size 100, 240 pixel
@ 20, 70 SAY osay PROMPT "PREMIO" OF oWnd FONT Ofont pixel
osay:hide()
ACTIVATE WINDOW oWnd
return nil
Errors
- Code: Select all Expand view
Progetto: roller, Ambiente: xFivePelles7:
[1]:Harbour.Exe roller.prg /m /n0 /gc1 /es2 /iC:\WORK\fwh\include /ic:\work\xHarbour\Include /jC:\WORK\Prg\ORIG_M~1\I18n\Main.hil /iinclude;c:\work\fwh\include;c:\work\xHarbour\include /oObj\roller.c
xHarbour 1.2.3 Intl. (SimpLex) (Build 20150603)
Copyright 1999-2015, http://www.xharbour.org http://www.harbour-project.org/
Compiling 'roller.prg'...
Generating international list to 'C:\WORK\Prg\ORIG_M~1\I18n\Main.hil'...
Generating C source output to 'Obj\roller.c'...
Done.
Lines 41, Functions/Procedures 1, pCodes 246
[1]:Bcc32.Exe -M -c -O2 -tW -v- -X -DHB_FM_STATISTICS_OFF -DHB_NO_DEFAULT_API_MACROS -DHB_NO_DEFAULT_STACK_MACROS -DHB_OS_WIN_32 -IC:\WORK\fwh\include -IC:\Work\bcc7\Include;c:\work\xHarbour\Include -nC:\WORK\Prg\ORIG_M~1\Obj roller.c
Embarcadero C++ 7.00 for Win32 Copyright (c) 1993-2015 Embarcadero Technologies, Inc.
Warning W8123: Path 'c:\bcc7\include' not found - path ignored in option '-I'
Warning W8123: Path 'c:\bcc7\include\windows\crtl' not found - path ignored in option '-I'
Warning W8123: Path 'c:\bcc7\include\dinkumware' not found - path ignored in option '-I'
Warning W8123: Path 'c:\bcc7\include\windows\rtl' not found - path ignored in option '-I'
Warning W8123: Path 'c:\bcc7\include\windows\sdk' not found - path ignored in option '-I'
Warning W8123: Path 'c:\bcc7\include\windows\sdk\atl' not found - path ignored in option '-I'
Warning W8123: Path 'c:\bcc7\lib' not found - path ignored in option '-L'
Warning W8123: Path 'c:\bcc7\lib\psdk' not found - path ignored in option '-L'
roller.c:
Error E2209 c:\work\xHarbour\Include\hbvmpub.h 65: Unable to open include file 'assert.h'
Error E2209 c:\work\xHarbour\Include\hbdefs.h 56: Unable to open include file 'stdarg.h'
Error E2209 c:\work\xHarbour\Include\hbdefs.h 57: Unable to open include file 'stdio.h'
Error E2209 c:\work\xHarbour\Include\hbdefs.h 58: Unable to open include file 'stdlib.h'
Error E2209 c:\work\xHarbour\Include\hbdefs.h 59: Unable to open include file 'string.h'
Error E2209 c:\work\xHarbour\Include\hbsetup.h 67: Unable to open include file 'limits.h'
Error E2209 c:\work\xHarbour\Include\hbdefs.h 89: Unable to open include file 'stdint.h'
Warning W8017 c:\work\xHarbour\Include\hbdefs.h 587: Redefinition of 'HB_LONG_LENGTH' is not identical
Error E2257 c:\work\xHarbour\Include\hbdefs.h 618: , expected
Error E2141 c:\work\xHarbour\Include\hbwince.h 183: Declaration syntax error
Error E2293 c:\work\xHarbour\Include\hbwince.h 184: ) expected
Error E2141 c:\work\xHarbour\Include\hbwince.h 185: Declaration syntax error
Error E2293 c:\work\xHarbour\Include\hbwince.h 186: ) expected
Error E2147 c:\work\xHarbour\Include\hbwince.h 187: 'wchar_t' cannot start a parameter declaration
Error E2147 c:\work\xHarbour\Include\hbwince.h 188: 'wchar_t' cannot start a parameter declaration
Error E2293 c:\work\xHarbour\Include\hbwince.h 189: ) expected
Error E2139 c:\work\xHarbour\Include\hbvmpub.h 288: Declaration missing ;
Error E2141 c:\work\xHarbour\Include\hbapiitm.h 170: Declaration syntax error
Error E2141 c:\work\xHarbour\Include\hbapi.h 639: Declaration syntax error
Error E2303 c:\work\xHarbour\Include\hbapi.h 706: Type name expected
Error E2303 c:\work\xHarbour\Include\hbapi.h 707: Type name expected
Error E2303 c:\work\xHarbour\Include\hbapi.h 1030: Type name expected
Error E2451 roller.c 35: Undefined symbol 'NULL'
Error E2141 roller.c 35: Declaration syntax error
Error E2190 roller.c 35: Unexpected }
Error E2040 roller.c 35: Declaration terminated incorrectly
Error E2190 roller.c 57: Unexpected }
Error E2109 roller.c 57: Not an allowed type in function hb_vm_SymbolInit_ROLLER
*** 27 errors in Compile ***
I use Xmate and I tried with this Env
xfivewin7.env
- Code: Select all Expand view
[Environment]
Description 1=
Description 2=
Description 3=
PRG Compiler ver=
C compiler ver=
Subsystem=
Author=Falconi Silvio
Last update=13/01/2016
[Advanced]
Command types=1,1,1,1,1,1,1,1,1
[Harbour]
HB_INSTALL=c:\work\xHarbour
HB_COMMAND=%HB_BIN_INSTALL%\Harbour.Exe %PRG% /m /n0 /gc1 /es2 /i%HB_INC_INSTALL% /j%HOME%\I18n\Main.hil /iinclude;c:\work\fwh\include;%HB_INSTALL%\include
Option prefix=/
[C]
C_INSTALL=C:\Work\bcc7
C_COMP_COMMAND=%C_BIN_INSTALL%\Bcc32.Exe -M -c -O2 -tW -v- -X %CRLF%-DHB_FM_STATISTICS_OFF %CRLF%-DHB_NO_DEFAULT_API_MACROS %CRLF%-DHB_NO_DEFAULT_STACK_MACROS %CRLF%-DHB_OS_WIN_32 %CRLF%-I%C_INC_INSTALL%;%HB_INC_INSTALL% -n%HOME%\Obj %C%%CRLF%
C_LIB_COMMAND=%C_BIN_INSTALL%\TLib.Exe %LIB% /P512 @%RSP% , %LST%
C_LINK_COMMAND=%C_BIN_INSTALL%\iLink32.Exe -Gn -aa -Tpe -s @%LNK%
C_RC_COMMAND=c:\work\PellesC\Bin\PORC.EXE %RC% /I c:\work\pellesc\include /I c:\work\pellesc\include\win
C_DLL_COMMAND=%C_BIN_INSTALL%\iLink32.Exe -Gn -aa -Tpd -M -L%C_LIB_INSTALL% @%LNK%
Option prefix=-
[User]
POSTEXE_COMMAND=
POSTLIB_COMMAND=
POSTDLL_COMMAND=
[Files]
%C_LIB_INSTALL%\C0W32.OBJ=1
C:\Work\FWH\LIB\fivehx.lib=2
C:\Work\FWH\LIB\Fivehc.lib=3
%HB_LIB_INSTALL%\rtl.lib=4
%HB_LIB_INSTALL%\vm.lib=5
%HB_LIB_INSTALL%\gtcgi.lib=6
%HB_LIB_INSTALL%\gtgui.lib=7
%HB_LIB_INSTALL%\gtstd.lib=8
%HB_LIB_INSTALL%\gtwin.lib=9
%HB_LIB_INSTALL%\gtwvt.lib=10
%HB_LIB_INSTALL%\lang.lib=11
%HB_LIB_INSTALL%\macro.lib=12
%HB_LIB_INSTALL%\rdd.lib=13
%HB_LIB_INSTALL%\dbfcdx.lib=14
%HB_LIB_INSTALL%\dbffpt.lib=15
%HB_LIB_INSTALL%\dbfntx.lib=16
%HB_LIB_INSTALL%\hbsix.lib=17
%HB_LIB_INSTALL%\debug.lib=18
%HB_LIB_INSTALL%\common.lib=19
%HB_LIB_INSTALL%\pp.lib=20
%HB_LIB_INSTALL%\pcrepos.lib=21
%HB_LIB_INSTALL%\ct.lib=22
%HB_LIB_INSTALL%\zlib.lib=23
%HB_LIB_INSTALL%\hbzip.lib=24
%HB_LIB_INSTALL%\png.lib=25
%HB_LIB_INSTALL%\codepage.lib=26
%C_LIB_INSTALL%\CW32.LIB=27
%C_LIB_INSTALL%\IMPORT32.LIB=28
%C_LIB_INSTALL%\uuid.lib=29
%C_LIB_INSTALL%\PSDK\odbc32.lib=30
%C_LIB_INSTALL%\PSDK\rasapi32.lib=31
%C_LIB_INSTALL%\PSDK\msimg32.lib=32
%C_LIB_INSTALL%\PSDK\psapi.lib=33
%C_LIB_INSTALL%\PSDK\GdiPlus.lib=34
%C_LIB_INSTALL%\PSDK\iphlpapi.lib=35
%C_LIB_INSTALL%\PSDK\nddeapi.lib=36
%C_LIB_INSTALL%\PSDK\shell32.lib=37
[DLL Files]
%HB_LIB_INSTALL%\harbour.lib=1
%C_LIB_INSTALL%\C0W32.OBJ=2
%C_LIB_INSTALL%\CW32.LIB=3
%C_LIB_INSTALL%\IMPORT32.LIB=4