xMate to HMG IDE

Discuss anything else that does not suite other forums.

Moderator: Rathinagiri

Post Reply
User avatar
AUGE_OHR
Posts: 65
Joined: Sun Aug 25, 2019 3:12 pm
DBs Used: DBF, PostgreSQL, MySQL, SQLite
Location: Hamburg, Germany
Has thanked: 1 time
Been thanked: 8 times

xMate to HMG IDE

Post by AUGE_OHR » Sat Oct 05, 2019 10:30 pm

hi,

i have a old harbour Project with xMate and try to run it with HMG IDE
it use Codejock Calendar ActiveX and GTWVG compiled with BCC32

i have include LIBS= and INCPATHS= but still got some Error Msg
hbmk2: Processing local make script: hbmk.hbm
Harbour 3.2.0dev (r1703241902)
Copyright (c) 1999-2016, http://harbour-project.org/
R:/Temp/hbmk_kb8qip.dir/HBXBASE.o:HBXBASE.c:(.data+0x1e48): undefined reference to `HB_FUN_WIN_DESTROYMENU'
R:/Temp/hbmk_kb8qip.dir/HBXBASE.o:HBXBASE.c:(.data+0x1fa8): undefined reference to `HB_FUN_OLERELEASEOBJECT'
R:/Temp/hbmk_kb8qip.dir/HBXBASE.o:HBXBASE.c:(.data+0x2448): undefined reference to `HB_FUN_WIN_GETDESKTOPWINDOW'
R:/Temp/hbmk_kb8qip.dir/HBXBASE.o:HBXBASE.c:(.data+0x2488): undefined reference to `HB_FUN_DATEASDOUBLE'
R:/Temp/hbmk_kb8qip.dir/HBXBASE.o:HBXBASE.c:(.data+0x24c8): undefined reference to `HB_FUN_WIN_MESSAGEBOX'
collect2.exe: error: ld returned 1 exit status
hbmk2[HBXBASE]: Error: Running linker. 1

hbmk2: Error: Referenced, missing, but unknown function(s): WIN_DESTROYMENU(),
OLERELEASEOBJECT(), WIN_GETDESKTOPWINDOW(), DATEASDOUBLE(),
WIN_MESSAGEBOX()
what is missing ... :(
need help please

---

xMate have a *.ENV File and i have read about "MingwHbHMGnew"
is this the Way to use old xMate Project with HMG :?:

PeteWG
Posts: 156
Joined: Sun Mar 21, 2010 5:45 pm
Has thanked: 14 times
Been thanked: 50 times

Post by PeteWG » Sun Oct 06, 2019 9:48 am

Hi,
xMate is an old [x]Harbour IDE masterpiece! the later attempts to create Harbour dedicated IDEs, despite the good intention and enormous effort, can't even come close to it, in my humble opinion.
HMG IDEs (both, official and extended) are quite good as form designers but due to lack of an integrated editor can't be consider as real IDEs.
The good thing is one can automate the use of HMG form designers and call them from the xMate, which is the best combination for
doing programming with Harbour. (Other, most modern option could be `visual studio code` accompanied by the Antonino Perricone's extension)

Bottom line: if you have no particular reason, keep working with xMate!

regards,
Pete

User avatar
AUGE_OHR
Posts: 65
Joined: Sun Aug 25, 2019 3:12 pm
DBs Used: DBF, PostgreSQL, MySQL, SQLite
Location: Hamburg, Germany
Has thanked: 1 time
Been thanked: 8 times

Post by AUGE_OHR » Sun Oct 06, 2019 7:38 pm

hi,

thx for Answer about xMate.

can someone help me with those Error.
i don't understand where they come from while it work in old Version.

does it have to do with BCC32 vs. MinGW :?:

User avatar
AUGE_OHR
Posts: 65
Joined: Sun Aug 25, 2019 3:12 pm
DBs Used: DBF, PostgreSQL, MySQL, SQLite
Location: Hamburg, Germany
Has thanked: 1 time
Been thanked: 8 times

Post by AUGE_OHR » Fri Oct 11, 2019 8:05 am

hi,

seems i have a Problem when using BCC32 vs. MinGW

i found in c:\hmg.3.4.4\SOURCE\h_windows.prg where Value of Constant are change

Code: Select all

#define LVN_FIRST      (-100)        // ok
// #define LVN_BEGINDRAG   (LVN_FIRST-9)   // ok  (MinGW)
#define LVN_BEGINDRAG   (-109)    // ok 
in my Code i have this

Code: Select all

#define LVN_BEGINDRAG   (LVN_FIRST-9)
so do i need to check my Windows Constant when use with MinGW :?:

Post Reply