Re: [xHarbour-developers] Error with gtwvt and current xHarbour

2012-07-24 Thread Ron Pinkas
Sorry I did not realize you were talking specifically about MingW. -- From: "Andi Jahja" Sent: Monday, July 23, 2012 4:21 PM To: Subject: Re: [xHarbour-developers] Error with gtwvt and current xHarbour > Ron, > > I und

Re: [xHarbour-developers] Error with gtwvt and current xHarbour

2012-07-23 Thread Andi Jahja
nged something then no changes are not needed, we > supported building Console vs. GUI applications for many years already. > > Ron > > -- > From: "Andi Jahja" > Sent: Monday, July 23, 2012 1:38 AM > To: >

Re: [xHarbour-developers] Error with gtwvt and current xHarbour

2012-07-23 Thread Ron Pinkas
[xHarbour-developers] Error with gtwvt and current xHarbour > No. It's not your problem, IMHO. > It's a problem with MINGW. I am using version 4.7.1, and still get the > same error. Although -mwindows is already there, but is seems that the > internal start-up module of MinGW always lo

Re: [xHarbour-developers] Error with gtwvt and current xHarbour

2012-07-23 Thread Marcos Antonio Gambeta
Em 23/07/2012 12:47, Andi Jahja escreveu: > Hi Marcos, > > Would you please kindly test GCC with my last commit. > > 2012-07-23 22:45 UTC+0700 Andi Jahja GTWIN, GTWVT and GTWVW are OK. Thanks! Regards, Marcos Gambeta ---

Re: [xHarbour-developers] Error with gtwvt and current xHarbour

2012-07-23 Thread Andi Jahja
Hi Marcos, Would you please kindly test GCC with my last commit. 2012-07-23 22:45 UTC+0700 Andi Jahja Andi On Mon, 23 Jul 2012 07:52:18 -0300 Marcos Antonio Gambeta wrote: > Em 23/07/2012 05:38, Andi Jahja escreveu: > > No. It's not your problem, IMHO. > > It's a problem with MINGW. I am usi

Re: [xHarbour-developers] Error with gtwvt and current xHarbour

2012-07-23 Thread Marcos Antonio Gambeta
Em 23/07/2012 09:17, Luiz Rafael Culik escreveu: > Marcos > > when you build an gui app, you cannot add gtwin, gtwin is for console apps > > Also the gtgui is not need to link also > > Regards > Luiz I can use gtwin with a GUI application. Maybe the final release don't need gtwin, but in the deve

Re: [xHarbour-developers] Error with gtwvt and current xHarbour

2012-07-23 Thread Andi Jahja
On Mon, 23 Jul 2012 07:52:18 -0300 Marcos Antonio Gambeta wrote: > Any chance to have two libraries like Harbour project ? > > libhbmainstd.a > > libhbmainwin.a Chances are there but they simply won't work in xHarbour. It only works with console mode. Looks like MINGW requires a hard link of

Re: [xHarbour-developers] Error with gtwvt and current xHarbour

2012-07-23 Thread Marcos Antonio Gambeta
Em 23/07/2012 06:30, Luiz Rafael escreveu: > Marcos > > Dont link gtwin on the app. > > Also , personaly i suggest an real native windows c compiler like msvc or > intel compiler . > > Regards > Luiz Luiz, Sorry, but gtwin and mingw are really necessary. Regards, Marcos Gambeta -

Re: [xHarbour-developers] Error with gtwvt and current xHarbour

2012-07-23 Thread Marcos Antonio Gambeta
Em 23/07/2012 05:38, Andi Jahja escreveu: > No. It's not your problem, IMHO. > It's a problem with MINGW. I am using version 4.7.1, and still get the > same error. Although -mwindows is already there, but is seems that the > internal start-up module of MinGW always loads mainstd instead of > mainwi

Re: [xHarbour-developers] Error with gtwvt and current xHarbour

2012-07-23 Thread Luiz Rafael
: [xHarbour-developers] Error with gtwvt and current xHarbour Em 22/07/2012 23:01, Andi Jahja escreveu: > Hi Marcos, > > Sorry. I read your message too quickly so that I was thinking it is not > working with BCC, MSVC and MinGW. So, please forget the part of my > message about BCC

Re: [xHarbour-developers] Error with gtwvt and current xHarbour

2012-07-23 Thread Andi Jahja
No. It's not your problem, IMHO. It's a problem with MINGW. I am using version 4.7.1, and still get the same error. Although -mwindows is already there, but is seems that the internal start-up module of MinGW always loads mainstd instead of mainwin. This is strange, because if I use other GUI (ex.

Re: [xHarbour-developers] Error with gtwvt and current xHarbour

2012-07-23 Thread Marcos Antonio Gambeta
Em 22/07/2012 23:01, Andi Jahja escreveu: > Hi Marcos, > > Sorry. I read your message too quickly so that I was thinking it is not > working with BCC, MSVC and MinGW. So, please forget the part of my > message about BCC and MSVC. Sorry again. :-) > > Andi No problem. :-) I'm using this batch to c

Re: [xHarbour-developers] Error with gtwvt and current xHarbour

2012-07-22 Thread Andi Jahja
Hi Marcos, Sorry. I read your message too quickly so that I was thinking it is not working with BCC, MSVC and MinGW. So, please forget the part of my message about BCC and MSVC. Sorry again. :-) Andi On Mon, 23 Jul 2012 08:54:00 +0700 Andi Jahja wrote: > Hi Marcos, > > I'll tell you why you

Re: [xHarbour-developers] Error with gtwvt and current xHarbour

2012-07-22 Thread Andi Jahja
Hi Marcos, I'll tell you why you got that error. You got that error because you linked the sample as a console app. So that GUI handles are not initialized. GUI handles are initialized in source/mainwin.c. As you _did_ not link the program as a Windows (GUI) application, certainly the initializat

Re: [xHarbour-developers] Error with gtwvt and current xHarbour

2012-07-22 Thread Andi Jahja
Hi Marcos, Kindly post your LINK script. It is working fine here :-) Andi On Sun, 22 Jul 2012 20:39:12 -0300 Marcos Antonio Gambeta wrote: > This test work with BCC 5.5.1 and MSVC 2010: > > request hb_gt_wvt > request hb_gt_wvt_default > procedure main () > ? "teste" > inkey(0) > return > >

Re: [xHarbour-developers] Error with gtwvt and current xHarbour

2012-07-22 Thread Marcos Antonio Gambeta
This test work with BCC 5.5.1 and MSVC 2010: request hb_gt_wvt request hb_gt_wvt_default procedure main () ? "teste" inkey(0) return But all my attempts using MinGW result in the same error: Unrecoverable error 10001: It's not a GUI program. Regards, Marcos Gambeta -

Re: [xHarbour-developers] Error with gtwvt and current xHarbour

2012-07-22 Thread Marcos Antonio Gambeta
Em 22/07/2012 15:33, Andi Jahja escreveu: >Sorry, but could you please try with the latest commit. This sample compile ok: procedure main() ? "test" return This sample compile ok, but don't run: request hb_gt_wvt request hb_gt_wvt_default procedure main () ? "teste" inkey(0) return Error: It'

Re: [xHarbour-developers] Error with gtwvt and current xHarbour

2012-07-22 Thread Andi Jahja
Sorry, but could you please try with the latest commit. Andi On Sun, 22 Jul 2012 14:03:30 -0300 Marcos Antonio Gambeta wrote: > xHarbour compiled with MinGW: > > This sample compile ok: > > procedure main() > ? "test" > return > > This sample don't compile: > > request hb_gt_wvt > request h