Page 1 of 1

PROBLEMAS CON EL GET EN FWH 20.07

Posted: Wed Aug 19, 2020 6:49 pm
by CARLOS ATUNCAR
[quote="cnavarro"] Estoy actualizando a la nueva versiĆ³n 20. 06 pero tengo problemas con lo GET que no tienen el PICTURE no me permite separar las palabras con el Espacio tengo que agregar el PICTURE "@e" o "@z" y esto me fuerza a tener q revisar todas las fuentes para agregar el PICTURE. Alguna solucion. he copilado el ejemplo testget6.prg y si funciona bien esta es mi entorno :


[Environment]
Description 1=xHarbour 1.2.3+ FWH 20.07+Bcc74+xMate 1.15
Description 2=
Description 3=
PRG Compiler ver=xHarbour 123 20200311
C compiler ver=Bcc74
Subsystem=
Author=Ing. Carlos Atuncar
Last update=08/19/2020

[Advanced]
Command types=1,1,1,1,1,1,1,1,1

[Harbour]
HB_INSTALL=E:\Tools\xharbour_bcc74
HB_COMMAND=%HB_BIN_INSTALL%\Harbour.Exe %PRG% /m /n /gc0 /es2 /i%HB_INC_INSTALL% /dHB_API_MACROS /dHB_FM_STATISTICS_OFF /dHB_STACK_MACROS /i%HB_INSTALL%\Contrib\What32\Include
Option prefix=/

[C]
C_INSTALL=E:\Tools\bcc74
C_COMP_COMMAND=%C_BIN_INSTALL%\Bcc32.Exe -M -c -I%HB_INC_INSTALL%;%C_INC_INSTALL% -n%HOME%\Obj %C%
C_LIB_COMMAND=%C_BIN_INSTALL%\TLib.Exe %LIB% /P512 @%RSP% , %LST%
C_LINK_COMMAND=%C_BIN_INSTALL%\iLink32.Exe -Gn -aa -Tpe -s -v @%LNK%
C_RC_COMMAND=%C_BIN_INSTALL%\Brc32.Exe -r -I%C_BIN_INSTALL%\include -I%C_BIN_INSTALL%\include\windows\sdk -fo%RES% %RC%
C_DLL_COMMAND=%C_BIN_INSTALL%\iLink32.Exe -Tpd -aa -s -L%LIB%\lib\PSDK @%LNK%
Option prefix=-

[User]
POSTEXE_COMMAND=
POSTLIB_COMMAND=
POSTDLL_COMMAND=

[Files]
%C_LIB_INSTALL%\C0W32.OBJ=1
E:\Tools\fwh2007\lib\FiveHX.lib=2
E:\Tools\fwh2007\lib\FiveHC.lib=3
E:\Tools\fwh2007\lib\libmysql.lib=4
E:\Tools\fwh2007\lib\pgsql.lib=5
E:\Tools\fwh2007\lib\libpq.lib=6
E:\Tools\libs\dolphin.lib=7
E:\Tools\libs\SButtonX.lib=8
%HB_LIB_INSTALL%\hbhpdf.lib=9
%HB_LIB_INSTALL%\libharu.lib=10
%HB_LIB_INSTALL%\png.lib=11
%HB_LIB_INSTALL%\rtl.lib=12
%HB_LIB_INSTALL%\vm.lib=13
%HB_LIB_INSTALL%\gtgui.lib=14
%HB_LIB_INSTALL%\lang.lib=15
%HB_LIB_INSTALL%\macro.lib=16
%HB_LIB_INSTALL%\rdd.lib=17
%HB_LIB_INSTALL%\dbfntx.lib=18
%HB_LIB_INSTALL%\dbfcdx.lib=19
%HB_LIB_INSTALL%\dbffpt.lib=20
%HB_LIB_INSTALL%\hbsix.lib=21
%HB_LIB_INSTALL%\debug.lib=22
%HB_LIB_INSTALL%\common.lib=23
%HB_LIB_INSTALL%\codepage.lib=24
%HB_LIB_INSTALL%\pp.lib=25
%HB_LIB_INSTALL%\pcrepos.lib=26
%HB_LIB_INSTALL%\ct.lib=27
%HB_LIB_INSTALL%\zlib.lib=28
%HB_LIB_INSTALL%\hbzip.lib=29
%HB_LIB_INSTALL%\libmisc.lib=30
%HB_LIB_INSTALL%\tip.lib=31
%HB_LIB_INSTALL%\hbzebra.lib=32
%C_LIB_INSTALL%\CW32.LIB=33
%C_LIB_INSTALL%\IMPORT32.LIB=34
%C_LIB_INSTALL%\uuid.lib=35
%C_LIB_INSTALL%\win32\psdk\ws2_32.lib=36
%C_LIB_INSTALL%\win32\psdk\odbc32.lib=37
%C_LIB_INSTALL%\win32\psdk\rasapi32.lib=38
%C_LIB_INSTALL%\win32\psdk\nddeapi.lib=39
%C_LIB_INSTALL%\win32\psdk\msimg32.lib=40
%C_LIB_INSTALL%\win32\psdk\psapi.lib=41
%C_LIB_INSTALL%\win32\psdk\GdiPlus.lib=42
%C_LIB_INSTALL%\win32\psdk\iphlpapi.lib=43
%C_LIB_INSTALL%\win32\psdk\shell32.lib=44

[DLL Files]
E:\Tools\fwh2007\lib\FiveHX.lib=1
E:\Tools\fwh2007\lib\FiveHC.lib=2
%C_LIB_INSTALL%\C0W32.OBJ=3
%HB_LIB_INSTALL%\rtl.lib=4
%HB_LIB_INSTALL%\vm.lib=5
%HB_LIB_INSTALL%\gtgui.lib=6
%HB_LIB_INSTALL%\lang.lib=7
%HB_LIB_INSTALL%\macro.lib=8
%HB_LIB_INSTALL%\rdd.lib=9
%HB_LIB_INSTALL%\dbfntx.lib=10
%HB_LIB_INSTALL%\dbfcdx.lib=11
%HB_LIB_INSTALL%\dbffpt.lib=12
%HB_LIB_INSTALL%\hbsix.lib=13
%HB_LIB_INSTALL%\debug.lib=14
%HB_LIB_INSTALL%\common.lib=15
%HB_LIB_INSTALL%\pp.lib=16
%HB_LIB_INSTALL%\pcrepos.lib=17
%HB_LIB_INSTALL%\ct.lib=18
%HB_LIB_INSTALL%\zlib.lib=19
%HB_LIB_INSTALL%\hbzip.lib=20
%C_LIB_INSTALL%\CW32.LIB=21
%C_LIB_INSTALL%\IMPORT32.LIB=22
%C_LIB_INSTALL%\uuid.lib=23
%HB_LIB_INSTALL%\codepage.lib=24
%C_LIB_INSTALL%\win32\psdk\odbc32.lib=25
%C_LIB_INSTALL%\win32\psdk\rasapi32.lib=26
%C_LIB_INSTALL%\win32\psdk\nddeapi.lib=27
%C_LIB_INSTALL%\win32\psdk\msimg32.lib=28
%C_LIB_INSTALL%\win32\psdk\psapi.lib=29
%C_LIB_INSTALL%\win32\psdk\iphlpapi.lib=30

Re: PROBLEMAS CON EL GET EN FWH 20.07

Posted: Thu Aug 20, 2020 7:00 am
by Antonio Linares
Carlos,

Aqui funciona bien. Por ejemplo, samples\testget.prg

Puedes probarlo ?

buildh.bat testget

Re: PROBLEMAS CON EL GET EN FWH 20.07

Posted: Thu Aug 20, 2020 8:04 am
by nageswaragunupudi
PICTURE "@E" is to be used ONLY with numeric and date Gets, but NOT with character Gets
PICTURE "@Z" is to be used ONLY with numeric Gets.

We advise you not to spend time changing existing programs by adding picture clauses of "@E' or "@Z" to character Gets.

samples\testget6.prg also is working fine.
For that matter in all our software all character gets are working fine without any picture clauses and we can enter "spaces" by clicking on "space bar".

Please see testget6.prg in execution:
Image

Re: PROBLEMAS CON EL GET EN FWH 20.07

Posted: Thu Aug 20, 2020 8:06 am
by nageswaragunupudi
Can you send us one sample program that we can test at our end to reproduce your problem?

Re: PROBLEMAS CON EL GET EN FWH 20.07

Posted: Fri Aug 21, 2020 3:10 am
by CARLOS ATUNCAR
Efectivamente realice las pruebas con un ejemplo limpio y si funciona, y comence agregarle las configuraciones de mi proyecto y el que afectaba al GET era FW_SetUnicode( .t. ) lo comente y funciona

Re: PROBLEMAS CON EL GET EN FWH 20.07

Posted: Fri Aug 21, 2020 6:05 am
by nageswaragunupudi
I think you do not require FW_SetUnicode( .t. ) because your application is only for European countries.
Better you do not set this to .t.