Harbour / FiveWin on Windows 7
-
- Posts: 254
- Joined: Sun Nov 06, 2005 3:55 pm
- Location: Southern California, USA
- Contact:
Harbour / FiveWin on Windows 7
Do older versions of FiveWin, and xHarbour not work on Windows 7. I can't seem to compile on Windows 7 32 bit.
Thanks,
Byron Hopp
Matrix Computer Services
Byron Hopp
Matrix Computer Services
Re: Harbour / FiveWin on Windows 7
Byron...
Any version of FWH with Harbour or xHarbour will work with no problem in W7
FW for Clipper won't
Any version of FWH with Harbour or xHarbour will work with no problem in W7
FW for Clipper won't
Ji,ji,ji... buena la cosa... "all you need is code"
http://www.xdata.cl - Desarrollo Inteligente
----------
Lenovo Legion Y520, 16GB Ram, 1 TB NVME M.2, 1 TB SSD, GTX 1050
http://www.xdata.cl - Desarrollo Inteligente
----------
Lenovo Legion Y520, 16GB Ram, 1 TB NVME M.2, 1 TB SSD, GTX 1050
-
- Posts: 254
- Joined: Sun Nov 06, 2005 3:55 pm
- Location: Southern California, USA
- Contact:
Re: Harbour / FiveWin on Windows 7
Here is a simple "Hello World" (it's about my speed) app.
Where am I going wrong?
Source Code of App Start:
Function Main
?"Hello World."
Return nil
End Source Code:
Hello.exe.log for my app
Type: C >>>xhb.exe -o"hello.c" -m -n -p -q -gc0 -I"c:\xhb\include" -I"c:\xhb\include\w32" "hello.prg"<<<
Type: C >>>Couldn't build: hello.obj<<<
Type: C >>>TMAKEOBJECT<<<
Type: C >>>TMAKEOBJECT:REFRESH<<<
Type: N >>> 1275<<<
End:
Where am I going wrong?
Source Code of App Start:
Function Main
?"Hello World."
Return nil
End Source Code:
Hello.exe.log for my app
Type: C >>>xhb.exe -o"hello.c" -m -n -p -q -gc0 -I"c:\xhb\include" -I"c:\xhb\include\w32" "hello.prg"<<<
Type: C >>>Couldn't build: hello.obj<<<
Type: C >>>TMAKEOBJECT<<<
Type: C >>>TMAKEOBJECT:REFRESH<<<
Type: N >>> 1275<<<
End:
Thanks,
Byron Hopp
Matrix Computer Services
Byron Hopp
Matrix Computer Services
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
Re: Harbour / FiveWin on Windows 7
Byron,
Please add #include "FiveWin.ch" at the top of your PRG
Please add #include "FiveWin.ch" at the top of your PRG
-
- Posts: 254
- Joined: Sun Nov 06, 2005 3:55 pm
- Location: Southern California, USA
- Contact:
Re: Harbour / FiveWin on Windows 7
No Difference, after adding:
#include "Fivewin.ch"
???
#include "Fivewin.ch"
???
Thanks,
Byron Hopp
Matrix Computer Services
Byron Hopp
Matrix Computer Services
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
Re: Harbour / FiveWin on Windows 7
Byron,
Please go to FWH/samples folder and do:
buildh.bat tutor01
it should build and execute the tutor01.exe. This checks that your settings are fine
Please go to FWH/samples folder and do:
buildh.bat tutor01
it should build and execute the tutor01.exe. This checks that your settings are fine
-
- Posts: 254
- Joined: Sun Nov 06, 2005 3:55 pm
- Location: Southern California, USA
- Contact:
-
- Posts: 254
- Joined: Sun Nov 06, 2005 3:55 pm
- Location: Southern California, USA
- Contact:
Re: Harbour / FiveWin on Windows 7
xharbour builder Hello.exe.xbp:
CINI =
C_OUTPUTFOLDER =
DEFFILE =
INCLUDEFOLDERS =
LAUTORUN =
LDEBUG = .F.
LGUI = .T.
LIBFOLDERS =
LMT = .F.
LPRG_CLASSICDEBUG = .F.
LPRG_DEBUG = .F.
LUSEDLL = .F.
MAPFILE =
MYC_FLAGS =
MYDEFINES =
MYLINK_FLAGS =
MYPRG_FLAGS =
MYRC_FLAGS =
MYSLY_FLAGS =
OUTPUTFOLDER =
PRG_OUTPUTFOLDER =
RC_OUTPUTFOLDER =
RUNARGUMENTS =
SLY_OUTPUTFOLDER =
STARTIN =
TARGETFOLDER =
[hello.prg]
MYC_FLAGS =
MYDEFINES =
MYPRG_FLAGS =
CINI =
C_OUTPUTFOLDER =
DEFFILE =
INCLUDEFOLDERS =
LAUTORUN =
LDEBUG = .F.
LGUI = .T.
LIBFOLDERS =
LMT = .F.
LPRG_CLASSICDEBUG = .F.
LPRG_DEBUG = .F.
LUSEDLL = .F.
MAPFILE =
MYC_FLAGS =
MYDEFINES =
MYLINK_FLAGS =
MYPRG_FLAGS =
MYRC_FLAGS =
MYSLY_FLAGS =
OUTPUTFOLDER =
PRG_OUTPUTFOLDER =
RC_OUTPUTFOLDER =
RUNARGUMENTS =
SLY_OUTPUTFOLDER =
STARTIN =
TARGETFOLDER =
[hello.prg]
MYC_FLAGS =
MYDEFINES =
MYPRG_FLAGS =
Thanks,
Byron Hopp
Matrix Computer Services
Byron Hopp
Matrix Computer Services
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
Re: Harbour / FiveWin on Windows 7
Byron,
for xHarbour do, from FWH\samples folder:
buildx.bat tutor01
Please try this first to check that your settings are fine, thanks
for xHarbour do, from FWH\samples folder:
buildx.bat tutor01
Please try this first to check that your settings are fine, thanks
-
- Posts: 254
- Joined: Sun Nov 06, 2005 3:55 pm
- Location: Southern California, USA
- Contact:
Re: Harbour / FiveWin on Windows 7
I get the following:
Compiling...
The system cannot find the path specified.
The system cannot find the path specified.
The system cannot find the path specified.
The system cannot find the path specified.
* There are errors
But my xHarbour Builder seems to be in c:\xHb (this is where it installed it).
And in my c:\xhb\bin directory I do not find Harbour.exe it has:
xBuild.exe
xBuildW.exe
xCC.exe
xDebugW.exe
xEditW.exe
xHB.exe
xLib.exe
xLink.exe
xPrompt.exe
xRC.exe
I also do not have a c:\bcc55 directory.
I don't think this batch file has a chance.
Compiling...
The system cannot find the path specified.
The system cannot find the path specified.
The system cannot find the path specified.
The system cannot find the path specified.
* There are errors
But my xHarbour Builder seems to be in c:\xHb (this is where it installed it).
And in my c:\xhb\bin directory I do not find Harbour.exe it has:
xBuild.exe
xBuildW.exe
xCC.exe
xDebugW.exe
xEditW.exe
xHB.exe
xLib.exe
xLink.exe
xPrompt.exe
xRC.exe
I also do not have a c:\bcc55 directory.
I don't think this batch file has a chance.
Thanks,
Byron Hopp
Matrix Computer Services
Byron Hopp
Matrix Computer Services
Re: Harbour / FiveWin on Windows 7
Byron,
I assume you are using xBuilder ? It would be installed in c:\xhb. Be sure your version of FIve WIn is in c:\FWH.
Are you trying to do a graphical interface ? If so, there are other libraries you will need to put into xBuilder.
I am using this combination daily and there are no issues with FWH.
Tim
I assume you are using xBuilder ? It would be installed in c:\xhb. Be sure your version of FIve WIn is in c:\FWH.
Are you trying to do a graphical interface ? If so, there are other libraries you will need to put into xBuilder.
I am using this combination daily and there are no issues with FWH.
Tim
Tim Stone
http://www.MasterLinkSoftware.com
timstone@masterlinksoftware.com
Using: FWH 19.06 with Harbour 3.2.0 / Microsoft Visual Studio Community 2019
http://www.MasterLinkSoftware.com
timstone@masterlinksoftware.com
Using: FWH 19.06 with Harbour 3.2.0 / Microsoft Visual Studio Community 2019
Re: Harbour / FiveWin on Windows 7
Byron,
If you need a hand, email me direct at timstone@mlsdg.onmicrosoft.com and I can go online with you to look at this. It should be pretty simple to get you running. You can call me at 949 589-3186.
Tim
If you need a hand, email me direct at timstone@mlsdg.onmicrosoft.com and I can go online with you to look at this. It should be pretty simple to get you running. You can call me at 949 589-3186.
Tim
Tim Stone
http://www.MasterLinkSoftware.com
timstone@masterlinksoftware.com
Using: FWH 19.06 with Harbour 3.2.0 / Microsoft Visual Studio Community 2019
http://www.MasterLinkSoftware.com
timstone@masterlinksoftware.com
Using: FWH 19.06 with Harbour 3.2.0 / Microsoft Visual Studio Community 2019
-
- Posts: 254
- Joined: Sun Nov 06, 2005 3:55 pm
- Location: Southern California, USA
- Contact:
Re: Harbour / FiveWin on Windows 7
Update, I went in Antonio's direction, and although I could not get xBuild.bat to work on my workstation, I did get a batch file to compile, and link.
So I am up and running, here is an example:
xhb.exe -o"EtDe.c" -m -n -p -q -gc0 -I"C:\fwh\include" -I"c:\xHb\include" -I"c:\xHb\include\w32" "EtDe.PRG" > Output.log
xhb.exe -o"Funcs.c" -m -n -p -q -gc0 -I"C:\fwh\include" -I"c:\xHb\include" -I"c:\xHb\include\w32" "Funcs.prg" >> Output.log
xrc.exe -fo"ETDE.res" -I"c:\xHb\c_include" -I"c:\xHb\c_include\win" "ETDE.RC" >> Output.log
xlink.exe -NOEXPOBJ -MAP -FORCE:MULTIPLE -NOIMPLIB -subsystem:windows -UNMANGLE -LIBPATH:"c:\xHb\lib" -LIBPATH:"c:\xHb\c_lib" -LIBPATH:"c:\xHb\c_lib\win" -LIBPATH:"C:\fwh\lib" "EtDe.obj" "Funcs.obj" "ETDE.res" c:\fwh\lib\mcsfivex.lib FiveHCM.lib FiveHMX.lib OptG.lib xhb.lib dbf.lib ntx.lib cdx.lib rmdbfcdx.lib activex.lib crt.lib kernel32.lib user32.lib winspool.lib ole32.lib oleaut32.lib odbc32.lib odbccp32.lib uuid.lib wsock32.lib ws2_32.lib wininet.lib advapi32.lib shlwapi.lib comctl32.lib comdlg32.lib gdi32.lib shell32.lib winmm.lib lz32.lib Netapi32.lib -out:"etde.exe" >> Output.log
I am hopefully going to work with Tim to see why my xBuildw.exe does not run on Windows 7.
Thank you everyone for your help, Tim, look forward to your input.
Byron ...
So I am up and running, here is an example:
xhb.exe -o"EtDe.c" -m -n -p -q -gc0 -I"C:\fwh\include" -I"c:\xHb\include" -I"c:\xHb\include\w32" "EtDe.PRG" > Output.log
xhb.exe -o"Funcs.c" -m -n -p -q -gc0 -I"C:\fwh\include" -I"c:\xHb\include" -I"c:\xHb\include\w32" "Funcs.prg" >> Output.log
xrc.exe -fo"ETDE.res" -I"c:\xHb\c_include" -I"c:\xHb\c_include\win" "ETDE.RC" >> Output.log
xlink.exe -NOEXPOBJ -MAP -FORCE:MULTIPLE -NOIMPLIB -subsystem:windows -UNMANGLE -LIBPATH:"c:\xHb\lib" -LIBPATH:"c:\xHb\c_lib" -LIBPATH:"c:\xHb\c_lib\win" -LIBPATH:"C:\fwh\lib" "EtDe.obj" "Funcs.obj" "ETDE.res" c:\fwh\lib\mcsfivex.lib FiveHCM.lib FiveHMX.lib OptG.lib xhb.lib dbf.lib ntx.lib cdx.lib rmdbfcdx.lib activex.lib crt.lib kernel32.lib user32.lib winspool.lib ole32.lib oleaut32.lib odbc32.lib odbccp32.lib uuid.lib wsock32.lib ws2_32.lib wininet.lib advapi32.lib shlwapi.lib comctl32.lib comdlg32.lib gdi32.lib shell32.lib winmm.lib lz32.lib Netapi32.lib -out:"etde.exe" >> Output.log
I am hopefully going to work with Tim to see why my xBuildw.exe does not run on Windows 7.
Thank you everyone for your help, Tim, look forward to your input.
Byron ...
Thanks,
Byron Hopp
Matrix Computer Services
Byron Hopp
Matrix Computer Services
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
Re: Harbour / FiveWin on Windows 7
Byron,
Very good!
Thanks for sharing it
Very good!
Thanks for sharing it
Re: Harbour / FiveWin on Windows 7
Hi folks.
It's been a while!!! How're things???
I can only assume that this issue was resolved??? Only problem: I don't really see the solution posted here???
I've no option but to now install my old xHB and FWH (January 2007) on a Windows 7 (32-bit) workstation. Just ran a standard install (used all defaults) of both but cannot compile anything. My error log file is pretty much the same as the thread starter's:
Type: C >>>xhb.exe -o"Fleet9.c" -m -n -p -q -gc0 -I"C:\fwh\include" -I"C:\xHB\include" -I"C:\xHB\include\w32" "Fleet9.prg"<<<
Type: C >>>Couldn't build: Fleet9.obj<<<
Type: C >>>TMAKEOBJECT<<<
Type: C >>>TMAKEOBJECT:REFRESH<<<
Type: N >>> 1278<<<
By the way: it's not the application i.e. this very same application compiles no problem on XP with the exact same xHB / FWH installation and configuration. What's more: none of the (simple) sample files wil compile either.
Regards,
Dale.
It's been a while!!! How're things???
I can only assume that this issue was resolved??? Only problem: I don't really see the solution posted here???
I've no option but to now install my old xHB and FWH (January 2007) on a Windows 7 (32-bit) workstation. Just ran a standard install (used all defaults) of both but cannot compile anything. My error log file is pretty much the same as the thread starter's:
Type: C >>>xhb.exe -o"Fleet9.c" -m -n -p -q -gc0 -I"C:\fwh\include" -I"C:\xHB\include" -I"C:\xHB\include\w32" "Fleet9.prg"<<<
Type: C >>>Couldn't build: Fleet9.obj<<<
Type: C >>>TMAKEOBJECT<<<
Type: C >>>TMAKEOBJECT:REFRESH<<<
Type: N >>> 1278<<<
By the way: it's not the application i.e. this very same application compiles no problem on XP with the exact same xHB / FWH installation and configuration. What's more: none of the (simple) sample files wil compile either.
Regards,
Dale.