New User FWH6.12
New User FWH6.12
Hi all,
i have finally decided to migrate to harbour and fwh, from fivewin and clipper 5.2. I have downloaded and installed all necessary files, fwh6.12,harbour2.0,bcc55. I complied the tutor01 with buildh.bat. the tutor01.exe file is generated but does not run, gives no error and does nothing. Am i missing something..thanks for any view on this, as i desperatly need to migrate to 32bit applications.
i have finally decided to migrate to harbour and fwh, from fivewin and clipper 5.2. I have downloaded and installed all necessary files, fwh6.12,harbour2.0,bcc55. I complied the tutor01 with buildh.bat. the tutor01.exe file is generated but does not run, gives no error and does nothing. Am i missing something..thanks for any view on this, as i desperatly need to migrate to 32bit applications.
Re: New User FWH6.12
Dear Mr.Riaz Khan,
I tested FWH 6.12 here and is working fine.

Please try with the Harbour version supplied along with FWH 6.12 ie Harbour Alpha Build 1.0 Intl. Please use BCC 5.5
It is available in the FiveWin website
Regards
Anser
I tested FWH 6.12 here and is working fine.

Please try with the Harbour version supplied along with FWH 6.12 ie Harbour Alpha Build 1.0 Intl. Please use BCC 5.5
It is available in the FiveWin website
Regards
Anser
Re: New User FWH6.12
Hi Anser,
thanks a lot. I downloaded and recompiled. now the tutor01.exe works fine. thanks a lot.
I have fivewin 16-bit applications developed by myself successfully running in 18 companies. The clipper dos applications have been converted to fivewin. i am now having issues with memory errors like
"unrecoverable error 332. string/array memory overflow" it read about this in this forum and thus decided to migrate to fwh.
i think i will be posting here from time to time for suggestions, while moving my applications to fwh..
thnx..
thanks a lot. I downloaded and recompiled. now the tutor01.exe works fine. thanks a lot.
I have fivewin 16-bit applications developed by myself successfully running in 18 companies. The clipper dos applications have been converted to fivewin. i am now having issues with memory errors like
"unrecoverable error 332. string/array memory overflow" it read about this in this forum and thus decided to migrate to fwh.
i think i will be posting here from time to time for suggestions, while moving my applications to fwh..
thnx..
Re: New User FWH6.12
Hello Mr. RiazKhan,
I advise you to update to FW 11.11 as there are many features and also you will be able to get Fivetech´s good support.
Welcome here!.
Best regards,
I advise you to update to FW 11.11 as there are many features and also you will be able to get Fivetech´s good support.
Welcome here!.
Best regards,
FWH 11.11, Harbour 3.1 and Borland C++ 5.82
Re: New User FWH6.12
Dear ukservice, Hi....
Thank you for the welcome, and yes I will consider your advice. Consider it noted.....
Regards
Thank you for the welcome, and yes I will consider your advice. Consider it noted.....
Regards
Re: New User FWH6.12
Okay so far so good.....the samples prgs compile well and execute....
I have setup one of my software application as a test sample for fwh 6.12. Its a large application with 277 prgs all to compile into one exe. At present i am using Clipper 5.2e, FiveWin 1.9.2 and Blinker 7.0. I use a batch file to compile all prgs and a lnk file for blinker7.
I tried to compile some of the prgs but produces lots of errors. I understand that fwh6.12 can easily read all previous source codes. How can I modify the buildh.bat file to accommodate all these prgs. It is recommended to use blinker instead of ilink32, so i will use blinker7.
Will appreciate all suggestions, thanks in advance.
I have setup one of my software application as a test sample for fwh 6.12. Its a large application with 277 prgs all to compile into one exe. At present i am using Clipper 5.2e, FiveWin 1.9.2 and Blinker 7.0. I use a batch file to compile all prgs and a lnk file for blinker7.
I tried to compile some of the prgs but produces lots of errors. I understand that fwh6.12 can easily read all previous source codes. How can I modify the buildh.bat file to accommodate all these prgs. It is recommended to use blinker instead of ilink32, so i will use blinker7.
Will appreciate all suggestions, thanks in advance.
- Antonio Linares
- Site Admin
- Posts: 42747
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Has thanked: 110 times
- Been thanked: 108 times
- Contact:
Re: New User FWH6.12
RiazKhan,
If you are using Borland then you should use ilink32.exe
What errors do you get ?
If you are using Borland then you should use ilink32.exe
What errors do you get ?
Re: New User FWH6.12
Hi Antonio,
Okay.will use ilink32.no issue with that.
Once i compile all my prgs in one go, i can eliminate my errors. At the moment, I dont know how to modify the buildh.bat file to accommodate my more than one prg. I did modify the buildh file to accommodate my set of prgs, but it did not compile...If someone can send me a build file and perhaps a lnk file..i can work from there..
Does all the prgs convert to .ppo and then to .c, before linking..??
Thanks for your response....
Okay.will use ilink32.no issue with that.
Once i compile all my prgs in one go, i can eliminate my errors. At the moment, I dont know how to modify the buildh.bat file to accommodate my more than one prg. I did modify the buildh file to accommodate my set of prgs, but it did not compile...If someone can send me a build file and perhaps a lnk file..i can work from there..
Does all the prgs convert to .ppo and then to .c, before linking..??
Thanks for your response....
- Antonio Linares
- Site Admin
- Posts: 42747
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Has thanked: 110 times
- Been thanked: 108 times
- Contact:
Re: New User FWH6.12
RiazKhan,
You should use a make file to manage multiple PRG files. FWH provides several examples in makes folder.
Here you have an example for FWH 11.11 and Harbour 3.1:
go.bat
make.mak
You should use a make file to manage multiple PRG files. FWH provides several examples in makes folder.
Here you have an example for FWH 11.11 and Harbour 3.1:
go.bat
Code: Select all | Expand
@if not exist obj md obj
c:\bcc582\bin\make -fvisualfw.mak
make.mak
Code: Select all | Expand
#VisualFW Borland make, (c) FiveTech Software 2005-2011
HBDIR=c:\harbour
BCDIR=c:\bcc582
FWDIR=..\
#change these paths as needed
.path.OBJ = .\obj
.path.PRG = .\
.path.CH = $(FWDIR)\include;$(HBDIR)\include
.path.C = .\
.path.rc = .\
#important: Use Uppercase for filenames extensions!
PRGS = \
.\APPLICAT.PRG \
.\CODE.PRG \
.\DATABASE.PRG \
.\DEBUG.PRG \
.\DESIGN.PRG \
.\INDEX.PRG \
.\INSPECT.PRG \
.\MENU.PRG \
.\OPTIONS.PRG \
.\PROGRAM.PRG \
.\PROJECT.PRG \
.\RECORD.PRG \
.\REP.PRG \
.\REPORT.PRG \
.\RESOURCE.PRG \
.\TOOLBAR.PRG \
.\TOOLS.PRG \
.\VISUAL.PRG
OBJ = $(PRGS:.PRG=.OBJ)
OBJS = $(OBJ:.\=.\obj\)
PROJECT : VISUALFW.EXE
VISUALFW.EXE : $(OBJS) VISUALFW.RES ..\lib\FiveH.lib ..\lib\FiveHC.lib
echo off
echo $(BCDIR)\lib\c0w32.obj + > b32.bc
echo $(OBJS), + >> b32.bc
echo visualfw.exe, + >> b32.bc
echo visualfw.map, + >> b32.bc
echo $(FWDIR)\lib\FiveH.lib $(FWDIR)\lib\FiveHC.lib + >> b32.bc
echo $(HBDIR)\lib\hbrtl.lib + >> b32.bc
echo $(HBDIR)\lib\hbvm.lib + >> b32.bc
echo $(HBDIR)\lib\gtgui.lib + >> b32.bc
echo $(HBDIR)\lib\hblang.lib + >> b32.bc
echo $(HBDIR)\lib\hbmacro.lib + >> b32.bc
echo $(HBDIR)\lib\hbrdd.lib + >> b32.bc
echo $(HBDIR)\lib\rddntx.lib + >> b32.bc
echo $(HBDIR)\lib\rddcdx.lib + >> b32.bc
echo $(HBDIR)\lib\rddfpt.lib + >> b32.bc
echo $(HBDIR)\lib\hbsix.lib + >> b32.bc
echo $(HBDIR)\lib\hbdebug.lib + >> b32.bc
echo $(HBDIR)\lib\hbcommon.lib + >> b32.bc
echo $(HBDIR)\lib\hbpp.lib + >> b32.bc
echo $(HBDIR)\lib\hbwin.lib + >> b32.bc
echo $(HBDIR)\lib\hbcpage.lib + >> b32.bc
echo $(HBDIR)\lib\hbct.lib + >> b32.bc
echo $(HBDIR)\lib\hbcplr.lib + >> b32.bc
echo $(HBDIR)\lib\png.lib + >> b32.bc
echo $(HBDIR)\lib\hbzlib.lib + >> b32.bc
echo $(HBDIR)\lib\xhb.lib + >> b32.bc
rem Uncomment these two lines to use Advantage RDD
rem echo $(HBDIR)\lib\rddads.lib + >> b32.bc
rem echo $(HBDIR)\lib\Ace32.lib + >> b32.bc
echo $(BCDIR)\lib\cw32.lib + >> b32.bc
echo $(BCDIR)\lib\import32.lib + >> b32.bc
echo $(BCDIR)\lib\psdk\odbc32.lib + >> b32.bc
echo $(BCDIR)\lib\psdk\nddeapi.lib + >> b32.bc
echo $(BCDIR)\lib\psdk\iphlpapi.lib + >> b32.bc
echo $(BCDIR)\lib\psdk\msimg32.lib + >> b32.bc
echo $(BCDIR)\lib\psdk\psapi.lib + >> b32.bc
echo $(BCDIR)\lib\psdk\rasapi32.lib, >> b32.bc
IF EXIST visualfw.res echo visualfw.res >> b32.bc
$(BCDIR)\bin\ilink32 -Gn -aa -Tpe -s @b32.bc
del b32.bc
.PRG.OBJ:
$(HBDIR)\bin\harbour $< /N /W /Oobj\ /I$(FWDIR)\include;$(HBDIR)\include
$(BCDIR)\bin\bcc32 -c -tWM -I$(HBDIR)\include -oobj\$& obj\$&.c
.C.OBJ:
echo -c -tWM -D__HARBOUR__ > tmp
echo -I$(HBDIR)\include;$(FWDIR)\include >> tmp
$(BCDIR)\bin\bcc32 -oobj\$& @tmp $&.c
del tmp
VISUALFW.RES : VISUALFW.RC
$(BCDIR)\bin\brc32.exe -r -I$(BCDIR)\include visualfw.rc
Re: New User FWH6.12
Hi Antonio,
Okay if have worked and made a few changes to the rmk file to accommodate my needs. It works file. I still have not been able to produce the exe file, and that is because of the dlls.
I use borland workshop for my dlls.and each application has more than one dll. I have added my dlls to screen32.dll via workshop. At the moment i do not understand the difference in res,dll,rc files. What would you recommend to use. As I do not have any rc files, the rmk file exists the process at that stage.
Thank you for the guidance..
Okay if have worked and made a few changes to the rmk file to accommodate my needs. It works file. I still have not been able to produce the exe file, and that is because of the dlls.
I use borland workshop for my dlls.and each application has more than one dll. I have added my dlls to screen32.dll via workshop. At the moment i do not understand the difference in res,dll,rc files. What would you recommend to use. As I do not have any rc files, the rmk file exists the process at that stage.
Thank you for the guidance..
- Antonio Linares
- Site Admin
- Posts: 42747
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Has thanked: 110 times
- Been thanked: 108 times
- Contact:
Re: New User FWH6.12
I recommend you to use a single RC file.
Open your DLL with Resource Workshop and save it as a RC file. Then the make file will be able to manage it and place it inside the EXE
Open your DLL with Resource Workshop and save it as a RC file. Then the make file will be able to manage it and place it inside the EXE
Re: New User FWH6.12
Hi Antonio,
Thanks for your quick response.
Problem.:
Apparently it seems that BRW 4.5 has some limitations. For this project I have four Dlls. The reason for splitting the dll was because BRW would not add any more dialogs in the dll. Giving errors as 'VTManager Fail/New Instance Fail". Probably reached some level of maximum.
I still have the same problem with rc file. I did open dll and save as rc and then added the second dll to the same rc. When adding th third dll to the same rc the same error pops up.
I have removed the "SetResources()" from my prgs
I can convert the four dll to four rc files. Can I then add the four rc file into the rmk file to compile into the exe...??
Regards
Thanks for your quick response.
Problem.:
Apparently it seems that BRW 4.5 has some limitations. For this project I have four Dlls. The reason for splitting the dll was because BRW would not add any more dialogs in the dll. Giving errors as 'VTManager Fail/New Instance Fail". Probably reached some level of maximum.
I still have the same problem with rc file. I did open dll and save as rc and then added the second dll to the same rc. When adding th third dll to the same rc the same error pops up.
I have removed the "SetResources()" from my prgs
I can convert the four dll to four rc files. Can I then add the four rc file into the rmk file to compile into the exe...??
Regards
- Antonio Linares
- Site Admin
- Posts: 42747
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Has thanked: 110 times
- Been thanked: 108 times
- Contact:
Re: New User FWH6.12
RiazKhan,
Try it this way:
myapp.rc
This way each RC can be limited in size, but the resulting myapp.rc includes all of them
Try it this way:
myapp.rc
Code: Select all | Expand
#include "one.rc"
#include "two.rc"
#include "three.rc"
#include "four.rc"
This way each RC can be limited in size, but the resulting myapp.rc includes all of them
Re: New User FWH6.12
Dear Antonio,
Okay, tried your way and the listing is as below....
my fbs.rc file
#include "p6_lfl.rc"
#include "p2_lfl.rc"
#include "p1_lfl.rc"
#include "p5_lfl.rc"
this is the lines in the test.rmk file
FBS.RES : FBS.RC
$(BCDIR)\bin\brc32.exe -r -I$(BCDIR)\include P6_lfl.rc
$(BCDIR)\bin\brc32.exe -r -I$(BCDIR)\include P2_lfl.rc
$(BCDIR)\bin\brc32.exe -r -I$(BCDIR)\include P1_lfl.rc
$(BCDIR)\bin\brc32.exe -r -I$(BCDIR)\include P5_lfl.rc
while linking the rc the screen text..
D:\FWH\Bcc55\bin\brc32.exe -r -ID:\FWH\Bcc55\include P6_lfl.rc
Borland Resource Compiler Version 5.40
Copyright (c) 1990, 1999 Inprise Corporation. All rights reserved.
D:\FWH\Bcc55\bin\brc32.exe -r -ID:\FWH\Bcc55\include P2_lfl.rc
Borland Resource Compiler Version 5.40
Copyright (c) 1990, 1999 Inprise Corporation. All rights reserved.
D:\FWH\Bcc55\bin\brc32.exe -r -ID:\FWH\Bcc55\include P1_lfl.rc
Borland Resource Compiler Version 5.40
Copyright (c) 1990, 1999 Inprise Corporation. All rights reserved.
D:\FWH\Bcc55\bin\brc32.exe -r -ID:\FWH\Bcc55\include P5_lfl.rc
Borland Resource Compiler Version 5.40
Copyright (c) 1990, 1999 Inprise Corporation. All rights reserved.
I guess this has linked all the four rc files in the exe file.
The exe file is produced and upon execution it displays an alert dialog box and does nothing. perhaps for the following reasons..
I use Six Driver RDD 3.0 SixNsx format. My dbf files are encrypted with a password. When I attach the six3.lib to the rmk file, on compilation I have the following error..:
Unsupported 16bit resource in file "D:\FWH\HARBOUR\LIB\SIX3.LIB"
Perhaps I need to convert my libs to 32 bit .....
Thanks and regards....Merry Christmas
Okay, tried your way and the listing is as below....
my fbs.rc file
#include "p6_lfl.rc"
#include "p2_lfl.rc"
#include "p1_lfl.rc"
#include "p5_lfl.rc"
this is the lines in the test.rmk file
FBS.RES : FBS.RC
$(BCDIR)\bin\brc32.exe -r -I$(BCDIR)\include P6_lfl.rc
$(BCDIR)\bin\brc32.exe -r -I$(BCDIR)\include P2_lfl.rc
$(BCDIR)\bin\brc32.exe -r -I$(BCDIR)\include P1_lfl.rc
$(BCDIR)\bin\brc32.exe -r -I$(BCDIR)\include P5_lfl.rc
while linking the rc the screen text..
D:\FWH\Bcc55\bin\brc32.exe -r -ID:\FWH\Bcc55\include P6_lfl.rc
Borland Resource Compiler Version 5.40
Copyright (c) 1990, 1999 Inprise Corporation. All rights reserved.
D:\FWH\Bcc55\bin\brc32.exe -r -ID:\FWH\Bcc55\include P2_lfl.rc
Borland Resource Compiler Version 5.40
Copyright (c) 1990, 1999 Inprise Corporation. All rights reserved.
D:\FWH\Bcc55\bin\brc32.exe -r -ID:\FWH\Bcc55\include P1_lfl.rc
Borland Resource Compiler Version 5.40
Copyright (c) 1990, 1999 Inprise Corporation. All rights reserved.
D:\FWH\Bcc55\bin\brc32.exe -r -ID:\FWH\Bcc55\include P5_lfl.rc
Borland Resource Compiler Version 5.40
Copyright (c) 1990, 1999 Inprise Corporation. All rights reserved.
I guess this has linked all the four rc files in the exe file.
The exe file is produced and upon execution it displays an alert dialog box and does nothing. perhaps for the following reasons..
I use Six Driver RDD 3.0 SixNsx format. My dbf files are encrypted with a password. When I attach the six3.lib to the rmk file, on compilation I have the following error..:
Unsupported 16bit resource in file "D:\FWH\HARBOUR\LIB\SIX3.LIB"
Perhaps I need to convert my libs to 32 bit .....
Thanks and regards....Merry Christmas