Pritpal, HBIDE developer, assists us to use it with FWH

Re: Pritpal, HBIDE developer, assists us to use it with FWH

Postby Jimmy » Thu Oct 17, 2019 5:00 am

hi,
Pritpal Bedi wrote:I think I screwed up something. Here is the revised one.
i try your Advice and these Settings while i want to use BCC instead of MinGW

i have open Windows "Compiler Environment" and paste it. after Save i got hbide.skl
now i got Menu Item "Select an Environment" and chose 1st -> BCC / harbour

than i try to rebuild but HbIDE crash :shock: ...
Error Msgbox (have make Snapshot but can't upload it here) but no Log File.

in hb_out.log i found
------------------------------------------------------------------------
Application Internal Error - F:\hbIDE\hbide.exe
Terminated at: 2019.10.17 06:25:18
Unrecoverable error 9001: Error recovery failure
------------------------------------------------------------------------
Application Internal Error - F:\hbIDE\hbide.exe
Terminated at: 2019.10.17 06:26:36
Unrecoverable error 9001: Error recovery failure
------------------------------------------------------------------------
Application Internal Error - F:\hbIDE\hbide.exe
Terminated at: 2019.10.17 06:37:53
Unrecoverable error 9001: Error recovery failur


when start HbIDE again and rebuild it use MinGW again :(

E:\harbour\WMP>C:\harbour\bin\hbmk2.exe E:\harbour\WMP\WM9.hbp -q -trace -info -lang=en -width=512
hbmk2: Autodetected platform: win
hbmk2: Autodetected C compiler: mingw


---

i have a hbmk.hbm in Build Directory
Code: Select all  Expand view  RUN
-{bcc}Lc:\bcc55\Bin\
-nodebug

hbxpp.hbc
gtwvg.hbc

-ic:\harbour\include\
-Lc:\harbour\lib\win\bcc\
-ic:\bcc55\Include\
-Lc:\bcc55\Lib\

-w1 -es0
 
this Way it use BCC

please help me how to set HbIDE to BCC

Thx, Jimmy
greeting,
Jimmy
User avatar
Jimmy
 
Posts: 1732
Joined: Thu Sep 05, 2019 5:32 am
Location: Hamburg, Germany

Re: Pritpal, HBIDE developer, assists us to use it with FWH

Postby Antonio Linares » Thu Oct 17, 2019 5:25 am

regards, saludos

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

Re: Pritpal, HBIDE developer, assists us to use it with FWH

Postby AntoninoP » Thu Oct 17, 2019 7:05 am

AntoninoP
 
Posts: 375
Joined: Tue Feb 10, 2015 9:48 am
Location: Albenga, Italy

Re: Pritpal, HBIDE developer, assists us to use it with FWH

Postby Jimmy » Thu Oct 17, 2019 7:27 am

hi,

Thx for Answer.
i try different IDE ... but i don't like any of them ... they need Mouse :wink:

---

as my old Harbour v1.x Project use xMate i have installed lates HbIDE from Pritpal Bedi and try old harbour v1.x (!) Code.
i have copy old gtwvg.env to new Directory and got it in HbIDE Setup -> Environment

i change Path when need and start Rebuild

----------------------------------------------------------------------------------------------------
Project [ HbXbase ] Launch [ Yes ] Rebuild [ Yes ] Started [ 08:58:35 ]
----------------------------------------------------------------------------------------------------
Batch File Exists => R:\Temp\s5bwew.bat
Batch File Contents =>
C:\harbour\bin\hbmk2.exe E:\harbour\CAL\HbXbase.hbp -q -trace -info -lang=en -width=512 -rebuild
Command => C:\WINDOWS\system32\cmd.exe
Arguments => /C R:\Temp\s5bwew.bat
----------------------------------------------------------------------------------------------------
CurDir() => Users\a\Desktop Starting in => E:\harbour\CAL\

E:\harbour\CAL>C:\harbour\bin\hbmk2.exe E:\harbour\CAL\HbXbase.hbp -q -trace -info -lang=en -width=512 -rebuild
hbmk2: Autodetected platform: win
hbmk2: Autodetected C compiler: bcc
hbmk2: Using Harbour: C:\harbour\bin C:\harbour\include C:\harbour\lib\win\bcc C:\harbour\bin
hbmk2: Using C compiler: C:\bcc55\bin\bcc32.exe
hbmk2: Processing local make script: hbmk.hbm
hbmk2: Processing: hbxpp.hbc
hbmk2: Processing: gtwvg.hbc
hbmk2: Processing: C:\harbour\contrib\hbwin\hbwin.hbc
hbmk2: Compiling Harbour sources...
hbmk2: Harbour compiler command (embedded):
(C:\harbour\bin\harbour.exe) -n2 E:\harbour\CAL\HBXBASE.PRG -w1 -es2 -q -o.hbmk\win\bcc\ -iC:\bcc55\Include -iC:\harbour\include -ic:\hmg.3.4.4\HARBOUR\contrib\hbxpp -ic:\hmg.3.4.4\HARBOUR\contrib\gtwvg -iC:\harbour\contrib\hbwin -undef:.ARCH. -D__PLATFORM__WINDOWS -D__LITTLE_ENDIAN__ -D__ARCH32BIT__
Harbour 3.0.0 (Rev. 16951)
Copyright (c) 1999-2011, http://harbour-project.org/

hbmk2: Compiling...
hbmk2: C/C++ compiler command:
bcc32.exe -c -q -d -6 -O2 -OS -Ov -Oi -Oc -tW -tWM -w -Q -w-sig- -n.hbmk\win\bcc -IC:\bcc55\Include -IC:\harbour\include -Ic:\hmg.3.4.4\HARBOUR\contrib\hbxpp -Ic:\hmg.3.4.4\HARBOUR\contrib\gtwvg -IC:\harbour\contrib\hbwin .hbmk\win\bcc\HBXBASE.c .hbmk\win\bcc\_hbmkaut_HBXBASE.c

.hbmk\win\bcc\HBXBASE.c:
Warning W8065 E:\\harbour\\CAL\\HBXBASE.PRG 196: Call to function 'hb_itemGetDD' with no prototype in function HB_FUN_DATEASDOUBLE
.hbmk\win\bcc\_hbmkaut_HBXBASE.c:
hbmk2: Linking... HBXBASE.exe
hbmk2: Linker command:
ilink32.exe @R:\Temp\5rn3ik.lnk
hbmk2: Linker script:
-Gn -Tpe -LC:\bcc55\Lib;C:\bcc55\Lib\PSDK;C:\harbour\lib\win\bcc;C:\harbour\bin -aa c0w32.obj .hbmk\win\bcc\HBXBASE.obj .hbmk\win\bcc\_hbmkaut_HBXBASE.obj, HBXBASE.exe, nul, gtwvg.lib hbxpp.lib hbwin.lib png.lib hbextern.lib hbdebug.lib hbvmmt.lib hbrtl.lib hblang.lib hbcpage.lib gtcgi.lib gtpca.lib gtstd.lib gtwin.lib gtwvt.lib gtgui.lib hbrdd.lib hbuddall.lib hbusrrdd.lib rddntx.lib rddcdx.lib rddnsx.lib rddfpt.lib hbrdd.lib hbhsx.lib hbsix.lib hbmacro.lib hbcplr.lib hbpp.lib hbcommon.lib kernel32.lib user32.lib gdi32.lib advapi32.lib ws2_32.lib winspool.lib comctl32.lib comdlg32.lib shell32.lib uuid.lib ole32.lib oleaut32.lib mpr.lib winmm.lib mapi32.lib imm32.lib msimg32.lib wininet.lib hbpcre.lib hbzlib.lib cw32mt.lib import32.lib, ,

Turbo Incremental Link 5.00 Copyright (c) 1997, 2000 Borland
Error: Unresolved external '_hb_itemGetDD' referenced from E:\HARBOUR\CAL\.HBMK\WIN\BCC\HBXBASE.OBJ
Error: Unresolved external '_HB_FUN_HB_TOOUTDEBUG' referenced from E:\HARBOUR\CAL\.HBMK\WIN\BCC\HBXBASE.OBJ
Error: Unresolved external '_HB_FUN_WIN_DESTROYMENU' referenced from E:\HARBOUR\CAL\.HBMK\WIN\BCC\HBXBASE.OBJ
Error: Unresolved external '_HB_FUN_OLERELEASEOBJECT' referenced from E:\HARBOUR\CAL\.HBMK\WIN\BCC\HBXBASE.OBJ
Error: Unresolved external '_HB_FUN_WIN_GETDESKTOPWINDOW' referenced from E:\HARBOUR\CAL\.HBMK\WIN\BCC\HBXBASE.OBJ
Error: Unresolved external '_HB_FUN_SECTOTIME' referenced from E:\HARBOUR\CAL\.HBMK\WIN\BCC\HBXBASE.OBJ
Error: Unresolved external '_HB_FUN_TIMETOSEC' referenced from E:\HARBOUR\CAL\.HBMK\WIN\BCC\HBXBASE.OBJ
Error: Unresolved external '_HB_FUN_WIN_MESSAGEBOX' referenced from E:\HARBOUR\CAL\.HBMK\WIN\BCC\HBXBASE.OBJ
Error: Unresolved external '_HB_FUN_XHB_LIB' referenced from E:\HARBOUR\CAL\.HBMK\WIN\BCC\HBXBASE.OBJ

hbmk2: Error: Running linker. 2
ilink32.exe @R:\Temp\5rn3ik.lnk

----------------------------------------------------------------------------------------------------
Exit Code [ 7 ] Exit Status [ 0 ] Finished at [ 08:58:36 ] Done in [ 1.30 Secs ]
----------------------------------------------------------------------------------------------------

Detected executable => E:\harbour\CAL\HBXBASE.exe

Sorry, cannot launch project because of errors...

most of those Error are "extra" which need for harbour v1.x but now it make Error.
please help with this old Code

Code: Select all  Expand view  RUN
STATIC FUNCTION uiDebug( p1 )
#IFDEF __XPP__
#ELSE
   hb_ToOutDebug( p1 )
#endif
   RETURN NIL

//----------------------------------------------------------------------//
#IFDEF __XPP__
#ELSE
FUNCTION HB_GTSYS()
   REQUEST HB_GT_GUI_DEFAULT
   REQUEST HB_GT_WVG
   REQUEST HB_GT_WVT
   REQUEST HB_GT_WGU
   RETURN NIL

STATIC FUNCTION AppDeskTop()
   LOCAL oDeskTop := WvgWindow():New()

   oDeskTop:hWnd := Win_GetDesktopWindow()
   #if 0
   oDeskTop:hWnd := HB_INLINE(){
      hb_retnint( ( LONG ) GetDesktopWindow() );
   }
   #endif
   RETURN oDeskTop

STATIC FUNCTION VOU_DateTime2DateTime( dDateTime )
   LOCAL nDtTm := DateAsDouble( dDateTime )
   LOCAL dDate := dDateTime
   LOCAL nSecs := ( nDtTm - Int( nDtTm ) ) * ( 24*60*60 )
//uiDebug( dDateTime, nDtTm, nSecs )
   RETURN { dDate, SecToTime( nSecs ) }

STATIC FUNCTION VOU_DateTime( dDate, cTime )
   RETURN DateAsLong( dDate-2415019 ) + ( TimeToSec( cTime ) / ( 24*60*60 ) )

STATIC FUNCTION TimeValue( cTime )
   RETURN ( TimeToSec( cTime ) / ( 24*60*60 ) )

STATIC FUNCTION MsgBox( cMessage, cTitle )
   RETURN Win_MessageBox( , cMessage, cTitle )

STATIC FUNCTION AltD()
   RETURN nil


STATIC FUNCTION AppName( lWithPath )
   LOCAL n
   LOCAL cName := hb_argV( 0 )
   //
   DEFAULT lWithPath TO .f.
   //
   IF !( lWithPath )
      IF ( n := rat( "\", cName ) ) > 0
         cName := substr( cName, n+1 )
      ENDIF
   ENDIF
   //
   RETURN  cName

#ENDIF
p.s. why is Color change in last lines from Source Code :?:
greeting,
Jimmy
User avatar
Jimmy
 
Posts: 1732
Joined: Thu Sep 05, 2019 5:32 am
Location: Hamburg, Germany

Re: Pritpal, HBIDE developer, assists us to use it with FWH

Postby Antonio Linares » Thu Oct 17, 2019 7:51 am

Jimmy,

Please give FivEdit a try, you won't regret it...

Its a mistake of the syntax highlighter routine
regards, saludos

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

Re: Pritpal, HBIDE developer, assists us to use it with FWH

Postby Uwe.Diemer » Thu Oct 17, 2019 2:16 pm

Hello
why you dont include it with preconfiged Files for the Std Fwh Installation

Look at - Start the ide compile it and all runs no frikkerling with batchfiles etc

Ue Studio is not more really supportet

Manuel Mercator Ide will never start

Hbide stacks

TX
User avatar
Uwe.Diemer
 
Posts: 98
Joined: Mon Aug 09, 2010 11:00 am

Re: Pritpal, HBIDE developer, assists us to use it with FWH

Postby Jimmy » Thu Oct 17, 2019 11:39 pm

hi,

thx for Answer.

i'm a harhour Newbie so my Problem is "just" to compile/link my Xbase++ Source.
i want to learn Syntax of hbmk2.exe, *.hbM, *.hbP, *.hbC and how to set Environment.

i have try a lot of IDE / Editor since year but i still use my 16 Bit ETP Editor which i bought when start with Clipper S87.
as i say i do not like Mouse and i do not need "Intelligence", just F5 to compile/link and as Debugger/Editor

---

i meet Pritpal Bedi 2009 when work with Xbase++ and Codejock ActiveX Calender.
he point me to harbour and GTWVG :shock:
while Pritpal Bedi was Xbase++ User before Syntax of GTWVG is 99% compatible.

i got a hole GTWVG Contribution include "Per-Config" xMate to start. :D
HbIDE have same Design as xMate so it was no Problem to use *.ENV File for right Environment.

---

Those Error Message are not while using HbIDE, it is IMHO the difference of harbour v1.x vs. v3.x
i will open a new Thread and hope somebody can help me to get that old Sample working under harbour v3.x

Uwe.Diemer wrote:why you dont include it with preconfiged Files for the Std Fwh Installation
i will ... but this is the next Step.

i like to learn more about how to config files rather using them and which Environment Setting are need

i have found some *.BAT Files and i start it. after that i found new Entry in my Environment
set bcdir=c:\bcc7
set FWDIR=d:\fwh
set fwh=d:\fwh
set GT=gtgui
set HBDIR=c:\harbour
set hdir=c:\harbour
set hdirl=c:\harbour\lib

set HB_BIN_INSTALL=
set HB_LIB_INSTALL=
set HB_INC_INSTALL=

set HB_ARCHITECTURE=win
set HB_COMPILER=bcc32
set HB_USER_LIBS=gtwvg.lib hbwin.lib

set HB_GUI=yes
so
Code: Select all  Expand view  RUN
FWDIR = fwh

like
Code: Select all  Expand view  RUN
HBDIR = hdir

seems the same :?:

are HB_ for all Contribution :?:
greeting,
Jimmy
User avatar
Jimmy
 
Posts: 1732
Joined: Thu Sep 05, 2019 5:32 am
Location: Hamburg, Germany

Re: Pritpal, HBIDE developer, assists us to use it with FWH

Postby Antonio Linares » Fri Oct 18, 2019 6:19 am

Jimmy,

HB_... are some settings required by hbmk2 and Harbour
regards, saludos

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

Re: Pritpal, HBIDE developer, assists us to use it with FWH

Postby Jimmy » Fri Oct 18, 2019 6:39 am

hi Antonio,
Antonio Linares wrote:HB_... are some settings required by hbmk2 and Harbour


thx for Answer.

does FW have more than FWDIR / fwh for Environment :?:
i did not found under fwh\manual\
greeting,
Jimmy
User avatar
Jimmy
 
Posts: 1732
Joined: Thu Sep 05, 2019 5:32 am
Location: Hamburg, Germany

Previous

Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: D.Fernandez, Google [Bot], Otto and 35 guests