l try to complie fivegen it told me ficegenh.mak dos not exit how can l find it
by the way visualfw work very well many tanks Antonio tank you
l am new with harbour but l want to learn
many tanks
.path.obj=.\objh
PRG = \
FIVEGEN.PRG \
BRWAREAS.PRG \
BRWDATA.PRG \
BRWDICT.PRG \
BRWFRMS.PRG \
BRWMENU.PRG \
BRWREP.PRG \
BRWSCRPT.PRG \
BRWSETS.PRG \
BRWTBL.PRG \
FRMDICT.PRG \
WEB.PRG \
WIZARDS.PRG
PROJECT : FiveGen.exe
FiveGen.exe : $(PRG:.PRG=.OBJ) fivegen.res
c:\bcc582\bin\ilink32 -aa -Tpe @fivegen.rsp
.PRG.OBJ:
c:\harbour\bin\harbour $< /N /Oobjh\ /I.\..\..\include /Ic:\harbour\include
c:\bcc582\bin\bcc32 -c -Ic:\harbour\include -oobjh\$& objh\$&.c
FiveGen.res : FiveGen.rc
c:\bcc582\bin\brc32 -r fivegen.rc
My Fivegen.rsp file
c:\bcc582\lib\c0w32.obj +
objh\fivegen.obj +
objh\brwareas.obj +
objh\brwdata.obj +
objh\brwdict.obj +
objh\brwfrms.obj +
objh\brwmenu.obj +
objh\brwrep.obj +
objh\brwscrpt.obj +
objh\brwsets.obj +
objh\brwtbl.obj +
objh\frmdict.obj +
objh\web.obj +
objh\wizards.obj, +
fivegen.exe, +
fivegen.map, +
.\..\..\lib\FiveH.lib .\..\..\lib\FiveHC.lib +
c:\harbour\lib\hbrtl.lib +
c:\harbour\lib\hbvm.lib +
c:\harbour\lib\gtgui.lib +
c:\harbour\lib\hblang.lib +
c:\harbour\lib\hbmacro.lib +
c:\harbour\lib\hbrdd.lib +
c:\harbour\lib\rddntx.lib +
c:\harbour\lib\rddcdx.lib +
c:\harbour\lib\rddfpt.lib +
c:\harbour\lib\hbsix.lib +
c:\harbour\lib\hbdebug.lib +
c:\harbour\lib\hbcommon.lib +
c:\harbour\lib\hbpp.lib +
c:\harbour\lib\hbcpage.lib +
c:\harbour\lib\hbwin.lib +
c:\harbour\lib\hbcplr.lib +
c:\harbour\lib\hbct.lib +
c:\harbour\lib\xhb.lib +
c:\harbour\lib\hbziparc.lib +
c:\harbour\lib\hbmzip.lib +
c:\harbour\lib\hbzlib.lib +
c:\harbour\lib\minizip.lib +
c:\harbour\lib\png.lib +
c:\bcc582\lib\cw32.lib +
c:\bcc582\lib\uuid.lib +
c:\bcc582\lib\import32.lib +
c:\bcc582\lib\psdk\odbc32.lib +
c:\bcc582\lib\psdk\nddeapi.lib +
c:\bcc582\lib\psdk\iphlpapi.lib +
c:\bcc582\lib\psdk\msimg32.lib +
c:\bcc582\lib\psdk\psapi.lib +
c:\bcc582\lib\psdk\rasapi32.lib +
c:\bcc582\lib\psdk\gdiplus.lib +
c:\bcc582\lib\psdk\shell32.lib,
fivegen.res
My fivegenh.mak file
#MakeFile for Fivegen sample
HBDIR=c:\harbour
BCDIR=c:\bcc582
FWDIR=c:\fwh
OBJHD=objh
#change these paths as needed
.path.OBJ = .\objh
.path.PRG = .\
.path.CH = $(BCDIR)\include;$(FWDIR)\include;$(HBDIR)\include
.path.C = .\
.path.rc = .\
#important: Use Uppercase for filenames extensions, in the next two rules!
PRG = \
FIVEGEN.PRG \
BRWAREAS.PRG \
BRWDATA.PRG \
BRWDICT.PRG \
BRWFRMS.PRG \
BRWMENU.PRG \
BRWREP.PRG \
BRWSCRPT.PRG \
BRWSETS.PRG \
BRWTBL.PRG \
FRMDICT.PRG \
WEB.PRG \
WIZARDS.PRG
PROJECT : FiveGen.exe
FiveGen.exe : $(PRG:.PRG=.OBJ) Fivegen.res
c:\bcc582\bin\ilink32 -aa -Tpe @fivegen.rsp
IF NOT EXIST FIVEGEN.RES c:\bcc582\bin\brc32 -r FIVEGEN.RC
echo c:\bcc582\lib\c0w32.obj + > make.log
echo $(OBJHD)\FIVEGEN.OBJ $(OBJHD)\BRWAREAS.OBJ $(OBJHD)\BRWDATA.OBJ $(OBJHD)\BRWDICT.OBJ $(OBJHD)\BRWFRMS.OBJ $(OBJHD)\BRWMENU.OBJ $(OBJHD)\BRWREP.OBJ $(OBJHD)\BRWSCRPT.OBJ $(OBJHD)\BRWSETS.OBJ $(OBJHD)\BRWTBL.OBJ $(OBJHD)\FRMDICT.OBJ $(OBJHD)\WEB.OBJ $(OBJHD)\WIZARDS.OBJ, + >> make.log
echo FIVEGEN.EXE, + >> make.log
echo FIVEGEN.MAP, + >> make.log
echo $(FWDIR)\lib\FiveH.lib $(FWDIR)\lib\FiveHC.lib + >> make.log
echo $(HBDIR)\lib\win\bcc\hbrtl.lib + >> make.log
echo $(HBDIR)\lib\win\bcc\hbvm.lib + >> make.log
echo $(HBDIR)\lib\win\bcc\gtgui.lib + >> make.log
echo $(HBDIR)\lib\win\bcc\hblang.lib + >> make.log
echo $(HBDIR)\lib\win\bcc\hbmacro.lib + >> make.log
echo $(HBDIR)\lib\win\bcc\hbrdd.lib + >> make.log
echo $(HBDIR)\lib\win\bcc\rddntx.lib + >> make.log
echo $(HBDIR)\lib\win\bcc\rddcdx.lib + >> make.log
echo $(HBDIR)\lib\win\bcc\rddfpt.lib + >> make.log
echo $(HBDIR)\lib\win\bcc\hbsix.lib + >> make.log
echo $(HBDIR)\lib\win\bcc\hbdebug.lib + >> make.log
echo $(HBDIR)\lib\win\bcc\hbcommon.lib + >> make.log
echo $(HBDIR)\lib\win\bcc\hbpp.lib + >> make.log
echo $(HBDIR)\lib\win\bcc\hbcpage.lib + >> make.log
echo $(HBDIR)\lib\win\bcc\hbwin.lib + >> make.log
echo $(HBDIR)\lib\win\bcc\hbcplr.lib + >> make.log
echo $(HBDIR)\lib\win\bcc\hbct.lib + >> make.log
echo $(HBDIR)\lib\win\bcc\xhb.lib + >> make.log
echo $(BCDIR)\lib\cw32.lib + >> make.log
echo $(BCDIR)\lib\uuid.lib + >> make.log
echo $(BCDIR)\lib\import32.lib + >> make.log
echo $(BCDIR)\lib\psdk\odbc32.lib + >> make.log
echo $(BCDIR)\lib\psdk\nddeapi.lib + >> make.log
echo $(BCDIR)\lib\psdk\iphlpapi.lib + >> make.log
echo $(BCDIR)\lib\psdk\msimg32.lib + >> make.log
echo $(BCDIR)\lib\psdk\rasapi32.lib, >> make.log
IF EXIST FIVEGEN.RES echo FIVEGEN.RES >> make.log
$(BCDIR)\bin\ilink32 -Gn -aa -Tpe -s @make.log > ERROR.LOG
.PRG.OBJ:
c:\harbour\bin\harbour $< /N /Oobjh\ /I.\..\..\include /Ic:\harbour\include
c:\bcc582\bin\bcc32 -c -Ic:\harbour\include -oobjh\$& objh\$&.c
.C.OBJ:
echo -c -tWM -D__HARBOUR__ -DHB_API_MACROS > tmp
echo -I$(HBDIR)\include;$(FWDIR)\include.$(BcDIR)\include >> tmp
$(BCDIR)\bin\bcc32 -oobj\$& @tmp $&.c
del tmp
Fivegen.res : Fivegen.rc
c:\bcc582\bin\brc32 -r fivegen.rc
c:\bcc582\bin\make -ffivegenh.mak
if errorlevel 0 fivegen.exe
.path.obj=.\objh
PRG = \
FIVEGEN.PRG \
BRWAREAS.PRG \
BRWDATA.PRG \
BRWDICT.PRG \
BRWFRMS.PRG \
BRWMENU.PRG \
BRWREP.PRG \
BRWSCRPT.PRG \
BRWSETS.PRG \
BRWTBL.PRG \
FRMDICT.PRG \
WEB.PRG \
WIZARDS.PRG
PROJECT : FiveGen.exe
FiveGen.exe : $(PRG:.PRG=.OBJ) fivegen.res
c:\bcc582\bin\ilink32 -aa -Tpe @fivegen.rsp
.PRG.OBJ:
c:\harbour\bin\harbour $< /N /Oobjh\ /I.\..\..\include /Ic:\harbour\include
c:\bcc582\bin\bcc32 -c -Ic:\harbour\include -oobjh\$& objh\$&.c
FiveGen.res : FiveGen.rc
c:\bcc582\bin\brc32 -r fivegen.rc
c:\bcc582\lib\c0w32.obj +
objh\fivegen.obj +
objh\brwareas.obj +
objh\brwdata.obj +
objh\brwdict.obj +
objh\brwfrms.obj +
objh\brwmenu.obj +
objh\brwrep.obj +
objh\brwscrpt.obj +
objh\brwsets.obj +
objh\brwtbl.obj +
objh\frmdict.obj +
objh\web.obj +
objh\wizards.obj, +
fivegen.exe, +
fivegen.map, +
.\..\..\lib\FiveH.lib .\..\..\lib\FiveHC.lib +
c:\harbour\lib\hbrtl.lib +
c:\harbour\lib\hbvm.lib +
c:\harbour\lib\gtgui.lib +
c:\harbour\lib\hblang.lib +
c:\harbour\lib\hbmacro.lib +
c:\harbour\lib\hbrdd.lib +
c:\harbour\lib\rddntx.lib +
c:\harbour\lib\rddcdx.lib +
c:\harbour\lib\rddfpt.lib +
c:\harbour\lib\hbsix.lib +
c:\harbour\lib\hbdebug.lib +
c:\harbour\lib\hbcommon.lib +
c:\harbour\lib\hbpp.lib +
c:\harbour\lib\hbcpage.lib +
c:\harbour\lib\hbwin.lib +
c:\harbour\lib\hbcplr.lib +
c:\harbour\lib\hbct.lib +
c:\harbour\lib\xhb.lib +
c:\harbour\lib\hbziparc.lib +
c:\harbour\lib\hbmzip.lib +
c:\harbour\lib\hbzlib.lib +
c:\harbour\lib\hbpcre.lib +
c:\harbour\lib\minizip.lib +
c:\harbour\lib\png.lib +
c:\bcc582\lib\cw32.lib +
c:\bcc582\lib\uuid.lib +
c:\bcc582\lib\import32.lib +
c:\bcc582\lib\psdk\odbc32.lib +
c:\bcc582\lib\psdk\nddeapi.lib +
c:\bcc582\lib\psdk\iphlpapi.lib +
c:\bcc582\lib\psdk\msimg32.lib +
c:\bcc582\lib\psdk\psapi.lib +
c:\bcc582\lib\psdk\rasapi32.lib +
c:\bcc582\lib\psdk\gdiplus.lib +
c:\bcc582\lib\psdk\shell32.lib,
fivegen.res
Error Message
Application
===========
Path and name: C:\fwh\samples\fivegen\fivegen.exe (32 bits)
Size: 2,560,000 bytes
Compiler version: Harbour 3.1.0dev (Rev. 17222)
FiveWin Version: FWH 12.01
Windows version: 5.1, Build 2600 Service Pack 3
Time from start: 0 hours 0 mins 0 secs
Error occurred at: 04/17/12, 14:25:29
Error description: (DOS Error 2) DBFCDX/1002 Open error: SYSTEM\Browses.fpt
Stack Calls
===========
Called from: => DBUSEAREA( 0 )
Called from: .\source\classes\TDICT.PRG => TDICT:NEW( 263 )
Called from: FIVEGEN.PRG => TAPPLICATION:NEW( 88 )
Called from: FIVEGEN.PRG => MAIN( 24 )
Fivegen.prg
#include "FiveWin.ch"
#include "FiveGen.ch"
#define DRIVER "DBFCDX"
extern MsgDate, GetHostByAddress, ExitWnd, GlobalSize, GlobalAlloc
extern IsDigit, MsgAbout, MsgInfo, DibFromBitmap, DibWrite, WndBitmap
extern GetDesktopWindow, cGetFile, WinExec, nRandom, I2Hex, nStrCrc16
extern Encrypt, Decrypt, cGetDir, WNetConnect, WNetGetUser, ShellExecute
extern MsgCalc, OSend
extern DbfCdx
memvar oApp, cActionName
the tdict.prg
if ! File( cPath + "\Browses.dbf" )
DbCreate( cPath + "\Browses.dbf",;
{ { "NAME", "C", 10, 0 },;
{ "DATABASE", "C", 10, 0 },;
{ "TITLE", "C", 80, 0 },;
{ "EDITFORM", "C", 80, 0 },;
{ "EDITCAPT", "C", 80, 0 },;
{ "CLRTEXT", "C", 80, 0 },;
{ "CLRBACK", "C", 80, 0 },;
{ "ADD", "L", 1, 0 },;
{ "DUPLICATE", "L", 1, 0 },;
{ "EDIT", "L", 1, 0 },;
{ "DEL", "L", 1, 0 },;
{ "SEARCH", "L", 1, 0 },;
{ "QUERIES", "L", 1, 0 },;
{ "GRAPHICS", "L", 1, 0 },;
{ "PRINT", "L", 1, 0 },;
{ "TABS", "C", 45, 0 },;
{ "BITMAPS", "M", 8, 0 },;
{ "BUTTON1", "C", 128, 0 },;
{ "BUTTON2", "C", 128, 0 },;
{ "BUTTON3", "C", 128, 0 },;
{ "BUTTON4", "C", 128, 0 },;
{ "BUTTON5", "C", 128, 0 },;
{ "ONCLICK1", "C", 128, 0 },;
{ "ONCLICK2", "C", 128, 0 },;
{ "ONCLICK3", "C", 128, 0 },;
{ "ONCLICK4", "C", 128, 0 },;
{ "ONCLICK5", "C", 128, 0 },;
{ "COMMENTS", "C", 45, 0 },;
{ "ONOPEN", "C", 80, 0 },;
{ "ONCLOSE", "C", 80, 0 },;
{ "ONSELECT", "C", 80, 0 },;
{ "ONRETURN", "C", 80, 0 } } )
endif
if ! File( cPath + "\Browses" + IndexExt() )
USE ( cPath + "\Browses.dbf" ) NEW ALIAS Browses
BROWSE()
if IndexExt() == ".NTX"
INDEX ON Name TO ( cPath + "\Browses" )
else
INDEX ON Name TAG "Name" ;
TO ( cPath + "\Browses" ) FOR ! Browses->( Deleted() )
INDEX ON DataBase TAG "DataBase" ;
TO ( cPath + "\Browses" ) FOR ! Browses->( Deleted() )
endif
USE
endif
Application
===========
Path and name: C:\fwh\samples\fivegen\fivegen.exe (32 bits)
Size: 2,673,152 bytes
Compiler version: Harbour 3.1.0dev (Rev. 17346)
FiveWin Version: FWH 12.02
Windows version: 5.1, Build 2600 Service Pack 3
Time from start: 0 hours 0 mins 0 secs
Error occurred at: 04/17/12, 15:39:10
Error description: (DOS Error 2) DBFCDX/1002 Open error: SYSTEM\Browses.fpt
Stack Calls
===========
Called from: => DBUSEAREA( 0 )
Called from: .\source\classes\TDICT.PRG => TDICT:NEW( 263 )
Called from: FIVEGEN.PRG => TAPPLICATION:NEW( 88 )
Called from: FIVEGEN.PRG => MAIN( 24 )
System
======
CPU type: Intel(R) Pentium(R) 4 CPU 3.00GHz 3000 Mhz
Hardware memory: 504 megs
Free System resources: 90 %
GDI resources: 90 %
User resources: 90 %
Return to FiveWin for Harbour/xHarbour
Users browsing this forum: No registered users and 97 guests