Harbour / FiveWin on Windows 7

Harbour / FiveWin on Windows 7

Postby byron.hopp » 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
byron.hopp
 
Posts: 356
Joined: Sun Nov 06, 2005 3:55 pm
Location: Southern California, USA

Re: Harbour / FiveWin on Windows 7

Postby Adolfo » Tue May 15, 2012 1: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, 1 TB NVME M.2, 1 TB SSD, GTX 1650
User avatar
Adolfo
 
Posts: 846
Joined: Tue Oct 11, 2005 11:57 am
Location: Chile

Re: Harbour / FiveWin on Windows 7

Postby byron.hopp » Tue May 15, 2012 1: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
byron.hopp
 
Posts: 356
Joined: Sun Nov 06, 2005 3:55 pm
Location: Southern California, USA

Re: Harbour / FiveWin on Windows 7

Postby Antonio Linares » Tue May 15, 2012 6:44 am

Byron,

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

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

Re: Harbour / FiveWin on Windows 7

Postby byron.hopp » Tue May 15, 2012 7:02 am

No Difference, after adding:

#include "Fivewin.ch"

???
Thanks,
Byron Hopp
Matrix Computer Services
byron.hopp
 
Posts: 356
Joined: Sun Nov 06, 2005 3:55 pm
Location: Southern California, USA

Re: Harbour / FiveWin on Windows 7

Postby Antonio Linares » Tue May 15, 2012 7: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
User avatar
Antonio Linares
Site Admin
 
Posts: 41406
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: Harbour / FiveWin on Windows 7

Postby byron.hopp » Tue May 15, 2012 7:30 am

I'm using xHarbour.
Thanks,
Byron Hopp
Matrix Computer Services
byron.hopp
 
Posts: 356
Joined: Sun Nov 06, 2005 3:55 pm
Location: Southern California, USA

Re: Harbour / FiveWin on Windows 7

Postby byron.hopp » Tue May 15, 2012 7: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
byron.hopp
 
Posts: 356
Joined: Sun Nov 06, 2005 3:55 pm
Location: Southern California, USA

Re: Harbour / FiveWin on Windows 7

Postby Antonio Linares » Tue May 15, 2012 7: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
User avatar
Antonio Linares
Site Admin
 
Posts: 41406
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: Harbour / FiveWin on Windows 7

Postby byron.hopp » Tue May 15, 2012 3: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
byron.hopp
 
Posts: 356
Joined: Sun Nov 06, 2005 3:55 pm
Location: Southern California, USA

Re: Harbour / FiveWin on Windows 7

Postby TimStone » Tue May 15, 2012 3: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
User avatar
TimStone
 
Posts: 2909
Joined: Fri Oct 07, 2005 1:45 pm
Location: Trabuco Canyon, CA USA

Re: Harbour / FiveWin on Windows 7

Postby TimStone » Tue May 15, 2012 4: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
User avatar
TimStone
 
Posts: 2909
Joined: Fri Oct 07, 2005 1:45 pm
Location: Trabuco Canyon, CA USA

Re: Harbour / FiveWin on Windows 7

Postby byron.hopp » Sat May 19, 2012 5: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
byron.hopp
 
Posts: 356
Joined: Sun Nov 06, 2005 3:55 pm
Location: Southern California, USA

Re: Harbour / FiveWin on Windows 7

Postby Antonio Linares » Sat May 19, 2012 6:27 pm

Byron,

Very good! :-)

Thanks for sharing it
regards, saludos

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

Re: Harbour / FiveWin on Windows 7

Postby dpaterso » 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.
dpaterso
 
Posts: 142
Joined: Tue Jan 24, 2006 9:45 am
Location: South Africa

Next

Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot], richard-service and 40 guests