FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour New Fwh 11.10 and TFolderEx error
Posts: 437
Joined: Fri Oct 07, 2005 12:56 PM
New Fwh 11.10 and TFolderEx error
Posted: Wed Nov 02, 2011 05:47 PM

Hi Antonio ,

Just downloaded new Fwh and tried to compile testfx1.prg with MinGw + Harbour . Error :

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚ FiveWin for Harbour 11.08 and GCC - Aug. 2011 Harbour development power β”‚β–„
β”‚ (c) FiveTech, 1993-2011 for Microsoft Windows 9X/NT/200X/ME/XP/Vista/7 β”‚β–ˆ
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜β–ˆ
Β  β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€
Compiling...
Harbour 3.1.0dev (Rev. 17025)
Copyright (c) 1999-2011, http://harbour-project.org/
Compiling 'testfx1.prg' and generating preprocessed output to 'testfx1.ppo'...
Lines 4248, Functions/Procedures 5
Generating C source output to 'testfx1.c'... Done.
...\lib/fivehgc.lib(KEYBRD.o):KEYBRD.C:(.text+0x287): undefined reference to `S
endInput'
collect2: ld returned 1 exit status
* Link errors *

With best regards !

Rimantas U.
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: New Fwh 11.10 and TFolderEx error
Posted: Wed Nov 02, 2011 06:58 PM
Rimantas,

These lines are required in source/winapi/keybrd.c

Code (fw): Select all Collapse
#ifdef __GNUC__ 
   WINBASEAPI UINT WINAPI SendInput( UINT nInputs, LPINPUT pInputs, int cbSize );
#endif

HB_FUNC( SENDKEY )
...
regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 6983
Joined: Fri Oct 07, 2005 07:07 PM
Re: New Fwh 11.10 and TFolderEx error
Posted: Wed Nov 02, 2011 11:06 PM

Best regards,
Otto

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”

β”‚ FiveWin for xHarbour 11.10 - Oct. 2011 xHarbour development power β”‚β–„
β”‚ (c) FiveTech, 1993-2011 for Microsoft Windows 9X/NT/200X/ME/XP/Vista/7 β”‚β–ˆ
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜β–ˆ
Β  β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€
Compiling...
xHarbour Compiler build 1.2.1 (SimpLex) (Rev. 6717)
Copyright 1999-2010, http://www.xharbour.org http://www.harbour-project.org/
Compiling 'metrptst.prg' and generating preprocessed output to 'metrptst.ppo'...

Lines 321, Functions/Procedures 5
Generating C source output to 'metrptst.c'...
Done.
Borland C++ 5.82 for Win32 Copyright (c) 1993, 2005 Borland
metrptst.c:
Turbo Incremental Link 5.69 Copyright (c) 1997-2005 Borland
Error: Unresolved external '_HB_FUN_TMETROPANEL' referenced from C:\FWH\SAMPLES\
METRPTST.OBJ
* Linking errors *

c:\FWH\samples>

Posts: 10733
Joined: Sun Nov 19, 2006 05:22 AM
Re: New Fwh 11.10 and TFolderEx error
Posted: Thu Nov 03, 2011 02:11 AM

Mr Otto

I have downloaded the new version just now and tested. The sample is built properly. You may please retry downloading again.

Regards



G. N. Rao.

Hyderabad, India
Posts: 437
Joined: Fri Oct 07, 2005 12:56 PM
Re: New Fwh 11.10 and TFolderEx error
Posted: Thu Nov 03, 2011 05:47 AM
Antonio Linares wrote:
These lines are required in source/winapi/keybrd.c
Code (fw): Select all Collapse
#ifdef __GNUC__ 
Β  Β WINBASEAPI UINT WINAPI SendInput( UINT nInputs, LPINPUT pInputs, int cbSize );
#endif
HB_FUNC( SENDKEY )
...


Hello Antonio ,

I didn't understand - I must to do this changes ?

Regards !
Rimantas U.
Posts: 10733
Joined: Sun Nov 19, 2006 05:22 AM
Re: New Fwh 11.10 and TFolderEx error
Posted: Thu Nov 03, 2011 06:30 AM

Mr Rimantas

For now you please do it.

Please insert those lines just above
HB_FUNC( SENDKEY )
in the module \fwh\source\winapi\keybrd.c

The fix will be included in the next release / revised build.

Regards



G. N. Rao.

Hyderabad, India
Posts: 437
Joined: Fri Oct 07, 2005 12:56 PM
Re: New Fwh 11.10 and TFolderEx error
Posted: Thu Nov 03, 2011 08:37 AM
nageswaragunupudi wrote:Mr Rimantas

For now you please do it.

Please insert those lines just above
HB_FUNC( SENDKEY )
in the module \fwh\source\winapi\keybrd.c

The fix will be included in the next release / revised build.


I want to make more accurate . From this - fivehgc.lib(KEYBRD.o):KEYBRD.C:(.text+0x287): undefined reference to `SendInput' - I understood that this is lib problem . OK . So I must to add this keybrd.c ( or obj ) building application ?

Regards !
Rimantas U.
Posts: 10733
Joined: Sun Nov 19, 2006 05:22 AM
Re: New Fwh 11.10 and TFolderEx error
Posted: Thu Nov 03, 2011 09:28 AM

Mr Otto

I tested with Harbour and it was working.
But with xHarbour I confirm getting the unresolved external.

Request Mr Antonio to look into this and publish revised build.

Regards



G. N. Rao.

Hyderabad, India
Posts: 437
Joined: Fri Oct 07, 2005 12:56 PM
Re: New Fwh 11.10 and TFolderEx error
Posted: Thu Nov 10, 2011 07:38 PM
Rimantas wrote:
nageswaragunupudi wrote:Mr Rimantas

For now you please do it.

Please insert those lines just above
HB_FUNC( SENDKEY )
in the module \fwh\source\winapi\keybrd.c

The fix will be included in the next release / revised build.


I want to make more accurate . From this - fivehgc.lib(KEYBRD.o):KEYBRD.C:(.text+0x287): undefined reference to `SendInput' - I understood that this is lib problem . OK . So I must to add this keybrd.c ( or obj ) building application ?

Regards !


What I must to do to avoid this error ? I changed ( added ) lines in keybr.c , but nothing changed . I must add this c file with mine project ? How to do that , please help ...

Regards ,
Rimantas U.
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: New Fwh 11.10 and TFolderEx error
Posted: Thu Nov 10, 2011 08:06 PM

Rimantas,

Already sent to your email :-)

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 437
Joined: Fri Oct 07, 2005 12:56 PM
Re: New Fwh 11.10 and TFolderEx error
Posted: Fri Nov 11, 2011 05:59 PM
Antonio Linares wrote:Rimantas,

Already sent to your email :-)



Antonio , thanks ! :-) Now it's OK ... And thanks for make exe !

With best regards !
Rimantas U.
Posts: 437
Joined: Fri Oct 07, 2005 12:56 PM
Re: New Fwh 11.10 and TFolderEx error
Posted: Wed Nov 16, 2011 06:11 PM

Antonio,

testfx1.prg sample with MinGw is working different from Bcc . Incorrect working Brush and xBrowse . Also you can try foldgrad.prg . How to fix that ?

With best regards !

Rimantas U.
Posts: 437
Joined: Fri Oct 07, 2005 12:56 PM
Re: New Fwh 11.10 and TFolderEx error
Posted: Thu Nov 17, 2011 06:05 PM
Rimantas wrote:Antonio,

testfx1.prg sample with MinGw is working different from Bcc . Incorrect working Brush and xBrowse . Also you can try foldgrad.prg . How to fix that ?


Antonio , your new website is very nice and good looking . But at this moment I have problem with folders . Also is not working gets in folder - password get isn't hiding and going through gets with Enter or Tab . Your product is buggy and please , correct it . Or I must to wait the next release ?

Fwh + harbour 3.1 + MinGW .

With best regards ! Rimantas
Rimantas U.

Continue the discussion