fivegenh.mak where is it

fivegenh.mak where is it

Postby richard wilson » Wed Apr 04, 2012 12:09 am

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
richard wilson
 
Posts: 38
Joined: Sat Mar 04, 2006 3:32 pm
Location: canada

Re: fivegenh.mak where is it

Postby Antonio Linares » Wed Apr 04, 2012 5:01 am

Richard,

Here it is:

fivegenh.mak
Code: Select all  Expand view  RUN
.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
 
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42122
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: fivegenh.mak where is it

Postby eddielum » Tue Apr 17, 2012 3:44 am

Antonio

I try to gen Fivegen, it got 41 errors for compile

C:\fwh\samples\fivegen>c:\bcc582\bin\make -ffivegenh.mak
MAKE Version 5.2 Copyright (c) 1987, 2000 Borland
Error fivegenh.mak 40: Command syntax error
Error fivegenh.mak 41: Command syntax error
Error fivegenh.mak 42: Command syntax error
Error fivegenh.mak 44: Command syntax error
Error fivegenh.mak 45: Command syntax error
Error fivegenh.mak 47: Command syntax error
Error fivegenh.mak 49: Command syntax error
Error fivegenh.mak 50: Command syntax error
Error fivegenh.mak 51: Command syntax error
Error fivegenh.mak 52: Command syntax error
Error fivegenh.mak 53: Command syntax error
Error fivegenh.mak 54: Command syntax error
Error fivegenh.mak 55: Command syntax error
Error fivegenh.mak 56: Command syntax error
Error fivegenh.mak 57: Command syntax error
Error fivegenh.mak 58: Command syntax error
Error fivegenh.mak 59: Command syntax error
Error fivegenh.mak 60: Command syntax error
Error fivegenh.mak 61: Command syntax error
Error fivegenh.mak 62: Command syntax error
Error fivegenh.mak 63: Command syntax error
Error fivegenh.mak 64: Command syntax error
Error fivegenh.mak 65: Command syntax error
Error fivegenh.mak 66: Command syntax error
Error fivegenh.mak 69: Command syntax error
Error fivegenh.mak 70: Command syntax error
Error fivegenh.mak 71: Command syntax error
Error fivegenh.mak 72: Command syntax error
Error fivegenh.mak 73: Command syntax error
Error fivegenh.mak 74: Command syntax error
Error fivegenh.mak 75: Command syntax error
Error fivegenh.mak 76: Command syntax error
Error fivegenh.mak 78: Command syntax error
Error fivegenh.mak 80: Command syntax error
Error fivegenh.mak 83: Command syntax error
Error fivegenh.mak 84: Command syntax error
Error fivegenh.mak 87: Command syntax error
Error fivegenh.mak 88: Command syntax error
Error fivegenh.mak 89: Command syntax error
Error fivegenh.mak 90: Command syntax error
Error fivegenh.mak 93: Command syntax error
*** 41 errors during make ***

I check the last post about fivegen, so i add the fivegen.rsp

viewtopic.php?f=3&t=22961&p=122876&hilit=fivegen.rsp#p122876

If that i've anything missing or not?

Code: Select all  Expand view  RUN

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
 


Code: Select all  Expand view  RUN

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

 
FW12.01, BCC582, DBFNTX, Pelles C 6.50
eddielum
 
Posts: 17
Joined: Mon Apr 16, 2012 7:25 am

Re: fivegenh.mak where is it

Postby Antonio Linares » Tue Apr 17, 2012 6:14 am

Eddie,

Use this makefile and rsp file. To build it, do go.bat

go.bat
Code: Select all  Expand view  RUN
c:\bcc582\bin\make -ffivegenh.mak
if errorlevel 0 fivegen.exe


fivegenh.mak
Code: Select all  Expand view  RUN
.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
 


fivegen.rsp
Code: Select all  Expand view  RUN
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
 
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42122
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: fivegenh.mak where is it

Postby eddielum » Tue Apr 17, 2012 6:51 am

Antonio

It can be compile. But I got an error of index file (it's normal DBFcdx (Browses.fpt) but it build to DBFntx (Browses.dbt)), So i can't run the program. Is that any wrong setting with the program?


Code: Select all  Expand view  RUN
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 )
 


Code: Select all  Expand view  RUN
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


 

Code: Select all  Expand view  RUN

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
 
FW12.01, BCC582, DBFNTX, Pelles C 6.50
eddielum
 
Posts: 17
Joined: Mon Apr 16, 2012 7:25 am

Re: fivegenh.mak where is it

Postby Antonio Linares » Tue Apr 17, 2012 7:23 am

Eddie,

Please run this FiveGen.exe that I just built and let me know if it works fine there:

http://code.google.com/p/fivewin-contributions/downloads/detail?name=fivegen.exe&can=2&q=
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42122
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: fivegenh.mak where is it

Postby eddielum » Tue Apr 17, 2012 7:40 am

Antonio

It got errors

Code: Select all  Expand view  RUN
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 %
FW12.01, BCC582, DBFNTX, Pelles C 6.50
eddielum
 
Posts: 17
Joined: Mon Apr 16, 2012 7:25 am

Re: fivegenh.mak where is it

Postby Antonio Linares » Tue Apr 17, 2012 8:43 am

Eddie,

Don't copy fivegen.exe to FWH\samples\fivegen folder

Please run it from an empty folder, thanks
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42122
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: fivegenh.mak where is it

Postby eddielum » Tue Apr 17, 2012 9:06 am

It can run now.....
FW12.01, BCC582, DBFNTX, Pelles C 6.50
eddielum
 
Posts: 17
Joined: Mon Apr 16, 2012 7:25 am


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 50 guests