Applications open a DOS box - why?

Applications open a DOS box - why?

Postby George Trojan » Thu Jun 22, 2006 11:37 am

Hi,
Just curious, why do the sample applications which come with Fivewin/xHarbour open a DOS box when executed?

Thanks

George Trojan
George Trojan
 
Posts: 16
Joined: Fri Apr 28, 2006 4:09 pm
Location: Australia

Postby Antonio Linares » Thu Jun 22, 2006 11:46 am

George,

What Harbour/xharbour versions/builds are you using ? And what Windows version are you using ?

With recent Harbour builds there was such error with Windows 98 only. It has been recently fixed.

Are you linking using the parameters that we specify at samples\buildh.bat ?
regards, saludos

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

Postby George Trojan » Thu Jun 22, 2006 12:01 pm

xHarbour build 0.99.61, the buildx.bat supplied with FW2.7; however, the applications are built using Win'98. We use '98 as many of our customers still use '98 so we develop using a '98 computer.

Thanks
George Trojan
 
Posts: 16
Joined: Fri Apr 28, 2006 4:09 pm
Location: Australia

Postby Antonio Linares » Thu Jun 22, 2006 9:51 pm

George,

Please don't link GTWIN.lib and build your app again.
regards, saludos

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

Postby George Trojan » Fri Jun 23, 2006 3:24 am

The only problem with that is that you get all the unresolved external mouse functions referenced from RTL.LIB

Thanks
George Trojan
 
Posts: 16
Joined: Fri Apr 28, 2006 4:09 pm
Location: Australia

Postby Antonio Linares » Fri Jun 23, 2006 8:29 am

George,

Please copy here the list of unresolved externals that you get.

Here we only get:
Unresolved external '_HB_FUN_HB_GT_WIN'
regards, saludos

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

Postby George Trojan » Fri Jun 23, 2006 11:43 am

I get the same with harbour, with xharbour I get the below:

Thanks

Turbo Incremental Link 5.00 Copyright (c) 1997, 2000 Borland
Error: Unresolved external '_hb_gt_Init' referenced from C:\XHARBOUR\LIB\RTL.LIB|gtapi
Error: Unresolved external '_hb_gt_GetScreenHeight' referenced from C:\XHARBOUR\LIB\RTL.LIB|gtapi
Error: Unresolved external '_hb_gt_GetScreenWidth' referenced from C:\XHARBOUR\LIB\RTL.LIB|gtapi
Error: Unresolved external '_hb_gt_Exit' referenced from C:\XHARBOUR\LIB\RTL.LIB|gtapi
Error: Unresolved external '_hb_gt_ExtendedKeySupport' referenced from C:\XHARBOUR\LIB\RTL.LIB|gtapi
Error: Unresolved external '_hb_gt_ReadKey' referenced from C:\XHARBOUR\LIB\RTL.LIB|gtapi
Error: Unresolved external '_hb_gt_AdjustPos' referenced from C:\XHARBOUR\LIB\RTL.LIB|gtapi
Error: Unresolved external '_hb_gt_Box' referenced from C:\XHARBOUR\LIB\RTL.LIB|gtapi
Error: Unresolved external '_hb_gt_VertLine' referenced from C:\XHARBOUR\LIB\RTL.LIB|gtapi
Error: Unresolved external '_hb_gt_HorizLine' referenced from C:\XHARBOUR\LIB\RTL.LIB|gtapi
Error: Unresolved external '_hb_gt_PreExt' referenced from C:\XHARBOUR\LIB\RTL.LIB|gtapi
Error: Unresolved external '_hb_gt_PostExt' referenced from C:\XHARBOUR\LIB\RTL.LIB|gtapi
Error: Unresolved external '_hb_gt_Row' referenced from C:\XHARBOUR\LIB\RTL.LIB|gtapi
Error: Unresolved external '_hb_gt_Col' referenced from C:\XHARBOUR\LIB\RTL.LIB|gtapi
Error: Unresolved external '_hb_gt_SetPos' referenced from C:\XHARBOUR\LIB\RTL.LIB|gtapi
Error: Unresolved external '_hb_gt_SetCursorStyle' referenced from C:\XHARBOUR\LIB\RTL.LIB|gtapi
Error: Unresolved external '_hb_gt_IsColor' referenced from C:\XHARBOUR\LIB\RTL.LIB|gtapi
Error: Unresolved external '_hb_gt_RectSize' referenced from C:\XHARBOUR\LIB\RTL.LIB|gtapi
Error: Unresolved external '_hb_gt_Replicate' referenced from C:\XHARBOUR\LIB\RTL.LIB|gtapi
Error: Unresolved external '_hb_gt_GetBlink' referenced from C:\XHARBOUR\LIB\RTL.LIB|gtapi
Error: Unresolved external '_hb_gt_SetBlink' referenced from C:\XHARBOUR\LIB\RTL.LIB|gtapi
Error: Unresolved external '_hb_gt_SetMode' referenced from C:\XHARBOUR\LIB\RTL.LIB|gtapi
Error: Unresolved external '_hb_gt_Puts' referenced from C:\XHARBOUR\LIB\RTL.LIB|gtapi
Error: Unresolved external '_hb_gt_Scroll' referenced from C:\XHARBOUR\LIB\RTL.LIB|gtapi
Error: Unresolved external '_hb_gt_Tone' referenced from C:\XHARBOUR\LIB\RTL.LIB|gtapi
Error: Unresolved external '_hb_gt_Version' referenced from C:\XHARBOUR\LIB\RTL.LIB|gtapi
Error: Unresolved external '_hb_gt_DispCount' referenced from C:\XHARBOUR\LIB\RTL.LIB|gtapi
Error: Unresolved external '_hb_gt_DispEnd' referenced from C:\XHARBOUR\LIB\RTL.LIB|gtapi
Error: Unresolved external '_hb_gt_Suspend' referenced from C:\XHARBOUR\LIB\RTL.LIB|gtapi
Error: Unresolved external '_hb_gt_Resume' referenced from C:\XHARBOUR\LIB\RTL.LIB|gtapi
Error: Unresolved external '_hb_gt_DispBegin' referenced from C:\XHARBOUR\LIB\RTL.LIB|gtapi
Error: Unresolved external '_hb_gt_SetClipboard' referenced from C:\XHARBOUR\LIB\RTL.LIB|gtapi
Error: Unresolved external '_hb_gt_GetClipboardSize' referenced from C:\XHARBOUR\LIB\RTL.LIB|gtapi
Error: Unresolved external '_hb_gt_ProcessMessages' referenced from C:\XHARBOUR\LIB\RTL.LIB|gtapi
Error: Unresolved external '_hb_gt_GetClipboard' referenced from C:\XHARBOUR\LIB\RTL.LIB|gtapi
Error: Unresolved external '_hb_gt_GetText' referenced from C:\XHARBOUR\LIB\RTL.LIB|gtapi
Error: Unresolved external '_hb_gt_PutText' referenced from C:\XHARBOUR\LIB\RTL.LIB|gtapi
Error: Unresolved external '_hb_gt_SetAttribute' referenced from C:\XHARBOUR\LIB\RTL.LIB|gtapi
Error: Unresolved external '_hb_mouse_IsPresent' referenced from C:\XHARBOUR\LIB\RTL.LIB|mouseapi
Error: Unresolved external '_hb_mouse_Show' referenced from C:\XHARBOUR\LIB\RTL.LIB|mouseapi
Error: Unresolved external '_hb_mouse_Hide' referenced from C:\XHARBOUR\LIB\RTL.LIB|mouseapi
Error: Unresolved external '_hb_mouse_Col' referenced from C:\XHARBOUR\LIB\RTL.LIB|mouseapi
Error: Unresolved external '_hb_mouse_Row' referenced from C:\XHARBOUR\LIB\RTL.LIB|mouseapi
Error: Unresolved external '_hb_mouse_SetPos' referenced from C:\XHARBOUR\LIB\RTL.LIB|mouseapi
Error: Unresolved external '_hb_mouse_IsButtonPressed' referenced from C:\XHARBOUR\LIB\RTL.LIB|mouseapi
Error: Unresolved external '_hb_mouse_CountButton' referenced from C:\XHARBOUR\LIB\RTL.LIB|mouseapi
Error: Unresolved external '_hb_mouse_SetBounds' referenced from C:\XHARBOUR\LIB\RTL.LIB|mouseapi
Error: Unresolved external '_hb_mouse_GetBounds' referenced from C:\XHARBOUR\LIB\RTL.LIB|mouseapi
Error: Unresolved external '_hb_gt_OutStd' referenced from C:\XHARBOUR\LIB\RTL.LIB|console
Error: Unresolved external '_hb_gt_OutErr' referenced from C:\XHARBOUR\LIB\RTL.LIB|console
George Trojan
 
Posts: 16
Joined: Fri Apr 28, 2006 4:09 pm
Location: Australia

Postby Antonio Linares » Sat Jun 24, 2006 7:08 am

George,

This problem was fixed yesterday for Harbour and we expect to have a solution for xharbour today.
regards, saludos

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

Postby Antonio Linares » Sat Jun 24, 2006 11:21 am

George,

Please link GTNUL.lib instead GTWIN.lib and try it again. Thanks.
regards, saludos

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

Postby George Trojan » Sat Jun 24, 2006 1:03 pm

Thanks for that. Searched my drive for GTNUL.LIB, don't seem to have one. Where can I source that library.

Thanks again.
George Trojan
 
Posts: 16
Joined: Fri Apr 28, 2006 4:09 pm
Location: Australia

Postby Antonio Linares » Sat Jun 24, 2006 1:42 pm

George,

What xharbour build do you use ?
regards, saludos

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

Postby George Trojan » Sun Jun 25, 2006 2:51 am

Antonio,

xHarbour build 0.99.61, downloaded with FW2.7 from your server.

Thanks
George Trojan
 
Posts: 16
Joined: Fri Apr 28, 2006 4:09 pm
Location: Australia

Postby Antonio Linares » Sun Jun 25, 2006 5:52 am

George,

We are going to publish a new xharbour build this next week, with a GTGUI.lib to be used, that solves the console window issue.

Same for Harbour.
regards, saludos

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

Postby George Trojan » Sun Jun 25, 2006 8:58 am

Thanks
George Trojan
 
Posts: 16
Joined: Fri Apr 28, 2006 4:09 pm
Location: Australia

Postby wmormar » Tue Jun 27, 2006 5:11 am

George Trojan wrote:Thanks


Amigo,

Lo resolví de la siguiente manera.

Eliminé la LIB GTWIN y adicioné la GTNUL.LIB

Adicioné un PRG: gtnul.prg conteniendo lo siguiente:

Code: Select all  Expand view
REQUEST HB_GT_NUL
FUNCTION GTSYS
   RETURN


Funcionando sin problemas hasta ahora.

Si alguien conoce o sabe que hace la GTSYS, agradecería lo explicara.

Saludos

PD. Uso xHarbour (bajado del CVS 26-06-2006, 10:00pm) y FWH 2.7
William, Morales
Saludos

méxico.sureste
User avatar
wmormar
 
Posts: 1074
Joined: Fri Oct 07, 2005 10:41 pm
Location: México

Next

Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot] and 77 guests