FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Harbour / FiveWin on Windows 7
Posts: 408
Joined: Sun Nov 06, 2005 03:55 PM
Harbour / FiveWin on Windows 7
Posted: Tue May 15, 2012 12:27 AM

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
Posts: 883
Joined: Tue Oct 11, 2005 11:57 AM
Re: Harbour / FiveWin on Windows 7
Posted: Tue May 15, 2012 01:27 AM

Byron...

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
----------
Asus TUF F15, 32GB Ram, 2 * 1 TB NVME M.2, GTX 1650
Posts: 408
Joined: Sun Nov 06, 2005 03:55 PM
Re: Harbour / FiveWin on Windows 7
Posted: Tue May 15, 2012 01:57 AM
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:
Thanks,

Byron Hopp

Matrix Computer Services
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: Harbour / FiveWin on Windows 7
Posted: Tue May 15, 2012 06:44 AM

Byron,

Please add #include "FiveWin.ch" at the top of your PRG

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 408
Joined: Sun Nov 06, 2005 03:55 PM
Re: Harbour / FiveWin on Windows 7
Posted: Tue May 15, 2012 07:02 AM

No Difference, after adding:

include "Fivewin.ch"

???

Thanks,

Byron Hopp

Matrix Computer Services
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: Harbour / FiveWin on Windows 7
Posted: Tue May 15, 2012 07:23 AM

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

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 408
Joined: Sun Nov 06, 2005 03:55 PM
Re: Harbour / FiveWin on Windows 7
Posted: Tue May 15, 2012 07:30 AM

I'm using xHarbour.

Thanks,

Byron Hopp

Matrix Computer Services
Posts: 408
Joined: Sun Nov 06, 2005 03:55 PM
Re: Harbour / FiveWin on Windows 7
Posted: Tue May 15, 2012 07:32 AM

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 =


Thanks,

Byron Hopp

Matrix Computer Services
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: Harbour / FiveWin on Windows 7
Posted: Tue May 15, 2012 07:41 AM

Byron,

for xHarbour do, from FWH\samples folder:

buildx.bat tutor01

Please try this first to check that your settings are fine, thanks

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 408
Joined: Sun Nov 06, 2005 03:55 PM
Re: Harbour / FiveWin on Windows 7
Posted: Tue May 15, 2012 03:09 PM

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.

Thanks,

Byron Hopp

Matrix Computer Services
Posts: 3022
Joined: Fri Oct 07, 2005 01:45 PM
Re: Harbour / FiveWin on Windows 7
Posted: Tue May 15, 2012 03:57 PM

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

Tim Stone
http://www.MasterLinkSoftware.com
http://www.autoshopwriter.com
timstone@masterlinksoftware.com
Using: FWH 23.10 with Harbour 3.2.0 / Microsoft Visual Studio Community 2022-24 32/64 bit
Posts: 3022
Joined: Fri Oct 07, 2005 01:45 PM
Re: Harbour / FiveWin on Windows 7
Posted: Tue May 15, 2012 04:01 PM

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

Tim Stone
http://www.MasterLinkSoftware.com
http://www.autoshopwriter.com
timstone@masterlinksoftware.com
Using: FWH 23.10 with Harbour 3.2.0 / Microsoft Visual Studio Community 2022-24 32/64 bit
Posts: 408
Joined: Sun Nov 06, 2005 03:55 PM
Re: Harbour / FiveWin on Windows 7
Posted: Sat May 19, 2012 05:50 PM

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 ...

Thanks,

Byron Hopp

Matrix Computer Services
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: Harbour / FiveWin on Windows 7
Posted: Sat May 19, 2012 06:27 PM

Byron,

Very good! :-)

Thanks for sharing it

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 142
Joined: Tue Jan 24, 2006 09:45 AM
Re: Harbour / FiveWin on Windows 7
Posted: Mon Apr 28, 2014 12:15 PM

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.