Re: HMG 3.1.2 (Test)
Posted: Wed Apr 10, 2013 5:11 am
THX!
I'm starting to test
I'm starting to test
Exclusive forum for HMG, a Free / Open Source xBase WIN32/64 Bits / GUI Development System
http://hmgforum.com/
Hi Pablo,Pablo César wrote:Dear Rathinagiri,
I am still without your return my questions of these:Please also note to update in next release, version.txt file was not updated. In this last one version.txt should contains "3.1.2 (Test 2013-04-04)".Pablo César wrote:Dear Rathinagiri, thank you for this new release but basically in this version are applied modifications of UNICODE adjustments but regarding Build.bat in samples, Build.bat at HMG main folder, ComboSearchBox, AutoAdjust sample/library and QHTM library have It been included or not yet ?
I have no problems with MENU's now!srvet_claudio wrote:Hi Marek.mol wrote:I've prepared simple sample. Try to compile it.
First, press button "Load Modal Window #1" on Main Form, then try to load or define Window #2.
Error occurs.
When you press "Load Modal Window #2" on Main Form - everything works OK.
When you remove ONCHANGE phrase from Browse control, everything works OK.
This problem is caused by evaluating code blocks while loading or defining windows, I think.
Regards, Marek
I fixed the problem.
Please replace c:\hmg.3.1.2\source\h_menu.prg for the h_menu.prg attachment file, and rebuild the HMG.
Best regards,
Claudio.
Thank you amigo, for yours considerations !rathinagiri wrote:Your point is well taken. In the next version I will do the needful. I am sure it follows soon.
Wow Good News !!! Mr. Claudio Our genius !mol wrote:I have no problems with MENU's now!
Hi, Claudio,srvet_claudio wrote:Hi Ed.Steed wrote:Frist at all,I have to say many thanks.
Bud I have to report that the issue with the textbox control remained
Regards,
Ed
Can you post a small example and describe the bug ?
Best regards,
Claudio
I've compiled your sample with hmg 3.0.46 and 3.1.2. Everytime result of SAVE button was good.Steed wrote:Hi, Claudio,srvet_claudio wrote:Hi Ed.Steed wrote:Frist at all,I have to say many thanks.
Bud I have to report that the issue with the textbox control remained
Regards,
Ed
Can you post a small example and describe the bug ?
Best regards,
Claudio
1- Run prueba.exe
2- Hit Properties button
3- Hit Save Button
Save button execute the next code:
* ~~~~~~~~~~~~~~~~~ *
cTemp:=GetProperty('Win2','Text_1a','Value')
msgbox(alltrim(cTemp)+"x")
* ~~~~~~~~~~~~~~~~~ *
But in a randomly manner the value is not returned, sometimes msgbox shows: "Pruebax"
And sometimes only shows "x"
Thanks for your attention
Ed
Code: Select all
SetProperty('Win2','Text_'+ntrim(Opz),'Value',cFolder)
Code: Select all
SetProperty('Win2','Text_'+ntrim(Opz) + "a" ,'Value',cFolder)
I also tested with HMG.3.1.2 (Win 7) and it worked fine with compile for ANSI and UNICODE.mol wrote: I've compiled your sample with hmg 3.0.46 and 3.1.2. Everytime result of SAVE button was good.
Code is so simple, so I can't see any bug within.
Strange...
PS. One error was in line about 120 in procedure Get_Folders
beforeafter changeCode: Select all
SetProperty('Win2','Text_'+ntrim(Opz),'Value',cFolder)
MarekCode: Select all
SetProperty('Win2','Text_'+ntrim(Opz) + "a" ,'Value',cFolder)
I'm sorry Danny, it's my fault.dhaine_adp wrote:Hi,
I rebuild HMG Lib 3.1.2 with ANSI only by putting a comment to SET_COMPILE_HMG_UNICODE.ch and execute buildalllib.bat
1. I created another folder and named it as c:\hmg-ansi
2. I copied the contents of HMG 3.1.2 folder and put them to c:\hmg-ansi
3. I edit hmg.ini and put c:\hmg-ansi
4. Put comment marker on //#define COMPILE_HMG_UNICODE
5. At the command prompt inside the c:\hmg-ansi I typed: buildalllib > result.txt
6. I modified my projects .hbc and point everything to c:\hmg-ansi
When I compile the application I've got errors as shown below:
Did I miss something? It seems like during the rebuilding process the compiler didn't pick-up the missing reference (undefined reference) from #else block of #ifdef...#else...#endif of <hmgdir>\source\unicode_string.prg
Please test if you can duplicate the problem on Windows XP Pro SP2.
Also the redirected result.zip (result.txt) file attached (from command line) generated looks like a unicode text file format. Looks funny on ASCII editor and in notepad++ reached about 8000+ lines.
TIA,hbmk2: Warning: Non-portable output filename: '-oppcmembers-ansi.exe'. Delete
'.exe' extension.
Harbour 3.2.0dev (r1303181903)
Copyright (c) 1999-2013, http://harbour-project.org/
C:/hmg-ansi/lib/libhmg.a(h_controlmisc.o):h_controlmisc.c:(.data+0x28): undefined reference to `HB_FUN_HMG_UPPER'
C:/hmg-ansi/lib/libhmg.a(h_controlmisc.o):h_controlmisc.c:(.data+0x208): undefined reference to `HB_FUN_HMG_LEN'
C:/hmg-ansi/lib/libhmg.a(h_windows.o):h_windows.c:(.data+0x38): undefined reference to `HB_FUN_HMG_LEN'
C:/hmg-ansi/lib/libhmg.a(h_windows.o):h_windows.c:(.data+0x10e8): undefined reference to `HB_FUN_HMG_UPPER'
C:/hmg-ansi/lib/libhmg.a(h_status.o):h_status.c:(.data+0x48): undefined reference to `HB_FUN_HMG_UPPER'
C:/hmg-ansi/lib/libhmg.a(h_status.o):h_status.c:(.data+0x58): undefined reference to `HB_FUN_HMG_LEN'
C:/hmg-ansi/lib/libhmg.a(h_toolbar.o):h_toolbar.c:(.data+0x128): undefined reference to `HB_FUN_HMG_UPPER'
C:/hmg-ansi/lib/libhmg.a(h_menu.o):h_menu.c:(.data+0x2c8): undefined reference to `HB_FUN_HMG_LEN'
C:/hmg-ansi/lib/libhmg.a(h_dialogs.o):h_dialogs.c:(.data+0xb8): undefined reference to `HB_FUN_HMG_LEN'
C:/hmg-ansi/lib/libhmg.a(h_hotkey.o):h_hotkey.c:(.data+0x68): undefined reference to `HB_FUN_HMG_LEN'
C:/hmg-ansi/lib/libhmg.a(h_label.o):h_label.c:(.data+0x108): undefined reference to `HB_FUN_HMG_LOWER'
C:/hmg-ansi/lib/libhmg.a(h_button.o):h_button.c:(.data+0x158): undefined reference to `HB_FUN_HMG_UPPER'
C:/hmg-ansi/lib/libhmg.a(h_textbox.o):h_textbox.c:(.data+0x148): undefined reference to `HB_FUN_HMG_LEN'
C:/hmg-ansi/lib/libhmg.a(h_textbox.o):h_textbox.c:(.data+0x228): undefined reference to `HB_FUN_HMG_LOWER'
C:/hmg-ansi/lib/libhmg.a(h_textbox.o):h_textbox.c:(.data+0x2b8): undefined reference to `HB_FUN_HMG_UPPER'
C:/hmg-ansi/lib/libhmg.a(h_combo.o):h_combo.c:(.data+0x78): undefined reference to `HB_FUN_HMG_LEN'
C:/hmg-ansi/lib/libhmg.a(h_checkbox.o):h_checkbox.c:(.data+0x148): undefined reference to `HB_FUN_HMG_LEN'
C:/hmg-ansi/lib/libhmg.a(h_browse.o):h_browse.c:(.data+0xa8): undefined reference to `HB_FUN_HMG_LEN'
C:/hmg-ansi/lib/libhmg.a(h_browse.o):h_browse.c:(.data+0x948): undefined reference to `HB_FUN_HMG_UPPER'
C:/hmg-ansi/lib/libhmg.a(h_tab.o):h_tab.c:(.data+0x58): undefined reference to `HB_FUN_HMG_LEN'
C:/hmg-ansi/lib/libhmg.a(h_tab.o):h_tab.c:(.data+0x128): undefined reference to `HB_FUN_HMG_UPPER'
C:/hmg-ansi/lib/libhmg.a(h_radio.o):h_radio.c:(.data+0xe8): undefined reference to `HB_FUN_HMG_LEN'
C:/hmg-ansi/lib/libhmg.a(h_tree.o):h_tree.c:(.data+0xd8): undefined reference to `HB_FUN_HMG_LEN'
C:/hmg-ansi/lib/libhmg.a(h_grid.o):h_grid.c:(.data+0x68): undefined reference to `HB_FUN_HMG_LEN'
C:/hmg-ansi/lib/libhmg.a(h_grid.o):h_grid.c:(.data+0xb8): undefined reference to `HB_FUN_HMG_UPPER'
C:/hmg-ansi/lib/libhmg.a(h_font.o):h_font.c:(.data+0xb8): undefined reference to `HB_FUN_HMG_LEN'
C:/hmg-ansi/lib/libhmg.a(h_timer.o):h_timer.c:(.data+0xa8): undefined reference to `HB_FUN_HMG_UPPER'
C:/hmg-ansi/lib/libgraph.a(h_graph.o):h_graph.c:(.data+0x118): undefined reference to `HB_FUN_HMG_LEN'
C:/hmg-ansi/lib/libini.a(h_ini.o):h_ini.c:(.data+0x1f8): undefined reference to `HB_FUN_HMG_LEN'
collect2: ld returned 1 exit status
hbmk2: Error: Running linker. 1
gcc.exe C:/DOCUME~1/Danny/LOCALS~1/Temp/hbmk_0k4uhy.dir/ppcmembers.o C:/DOCUME~1/Danny/LOCALS~1/Temp/hbmk_0k4uhy.dir/archive.o C:/DOCUME~1/Danny/LOCALS~1/Temp/hbmk_0k4uhy.dir/auditdashboard.o C:/DOCUME~1/Danny/LOCALS~1/Temp/hbmk_0k4uhy.dir/chkinifile.o C:/DOCUME~1/Danny/LOCALS~1/Temp/hbmk_0k4uhy.dir/classprogressbar.o C:/DOCUME~1/Danny/LOCALS~1/Temp/hbmk_0k4uhy.dir/codegen.o C:/DOCUME~1/Danny/LOCALS~1/Temp/hbmk_0k4uhy.dir/datacollection.o C:/DOCUME~1/Danny/LOCALS~1/Temp/hbmk_0k4uhy.dir/dbfmaketable.o C:/DOCUME~1/Danny/LOCALS~1/Temp/hbmk_0k4uhy.dir/dialogue.o C:/DOCUME~1/Danny/LOCALS~1/Temp/hbmk_0k4uhy.dir/exp2excel.o C:/DOCUME~1/Danny/LOCALS~1/Temp/hbmk_0k4uhy.dir/filemain.o C:/DOCUME~1/Danny/LOCALS~1/Temp/hbmk_0k4uhy.dir/genclassbrwobj.o C:/DOCUME~1/Danny/LOCALS~1/Temp/hbmk_0k4uhy.dir/gregcivil.o C:/DOCUME~1/Danny/LOCALS~1/Temp/hbmk_0k4uhy.dir/makefile.o C:/DOCUME~1/Danny/LOCALS~1/Temp/hbmk_0k4uhy.dir/nsdlacommfunc.o C:/DOCUME~1/Danny/LOCALS~1/Temp/hbmk_0k4uhy.dir/ppcmaster.o C:/DOCUME~1/Danny/LOCALS~1/Temp/hbmk_0k4uhy.dir/recordpicker.o C:/DOCUME~1/Danny/LOCALS~1/Temp/hbmk_0k4uhy.dir/reports.o C:/DOCUME~1/Danny/LOCALS~1/Temp/hbmk_0k4uhy.dir/rptpersonalinfo.o C:/DOCUME~1/Danny/LOCALS~1/Temp/hbmk_0k4uhy.dir/theviewport.o C:/DOCUME~1/Danny/LOCALS~1/Temp/hbmk_0k4uhy.dir/treeclassview.o C:/DOCUME~1/Danny/LOCALS~1/Temp/hbmk_0k4uhy.dir/usermgr.o C:/DOCUME~1/Danny/LOCALS~1/Temp/hbmk_0k4uhy.dir/hbmk_xrfeqb.o F:/DAD/members/_temp.o -Wl,--nxcompat -Wl,--dynamicbase -mwindows -Wl,--start-group -lhmg -lcrypt -ledit -leditex -lgraph -lhfcl -lini -lreport -lmsvfw32 -lvfw32 -lhbct -lhbwin -lhbmzip -lminizip -lhbmemio -lhbmisc -lhbmysql -lmysql -lhbtip -lsqlite3 -lhbsqlit3 -lsddodbc -lrddsql -lsddmy -lhbodbc -lodbc32 -lhbhpdf -lhbfimage -lhbpgsql -lhbnetio -lxhb -lpng -llibhpdf -lhbvpdf -lvalleylibs -ldaleaidcommon -lhbextern -lhbdebug -lhbvmmt -lhbrtl -lhblang -lhbcpage -lgtcgi -lgtpca -lgtstd -lgtwin -lgtwvt -lgtgui -lhbrdd -lhbuddall -lhbusrrdd -lrddntx -lrddcdx -lrddnsx -lrddfpt -lhbrdd -lhbhsx -lhbsix -lhbmacro -lhbcplr -lhbpp -lhbcommon -lhbmainwin -lkernel32 -luser32 -lgdi32 -ladvapi32 -lws2_32 -lwinspool -lcomctl32 -lcomdlg32 -lshell32 -luuid -lole32 -loleaut32 -lmpr -lwinmm -lmapi32 -limm32 -lmsimg32 -lwininet -lhbpcre -lhbzlib -Wl,--end-group -o"ppcmembers-ansi.exe" -L"C:/hmg-ansi/harbour/lib/win/mingw" -L"C:/hmg-ansi/lib" -L"c:/hmg-ansi/lib"
hbmk2: Error: Referenced, missing, but unknown function(s): HMG_UPPER(),
HMG_LEN(), HMG_LOWER()
Danny
Code: Select all
#translate HMG_LEN (<x>) => LEN (<x>)
#translate HMG_LOWER (<c>) => LOWER (<c>)
#translate HMG_UPPER (<c>) => UPPER (<c>)
#translate HMG_PADC (<x>,<n>,[<c>]) => PADC (<x>,<n>,[<c>])
#translate HMG_PADL (<x>,<n>,[<c>]) => PADL (<x>,<n>,[<c>])
#translate HMG_PADR (<x>,<n>,[<c>]) => PADR (<x>,<n>,[<c>])
Code: Select all
FUNCTION HMG_LEN(x); RETURN LEN (x)
FUNCTION HMG_LOWER(c); RETURN LOWER (c)
FUNCTION HMG_UPPER(c); RETURN UPPER (c)
FUNCTION HMG_PADC(x,n,c); RETURN PADC(x,n,c)
FUNCTION HMG_PADL(x,n,c); RETURN PADL(x,n,c)
FUNCTION HMG_PADR(x,n,c); RETURN PADR(x,n,c)