Page 3 of 5
Re: HMG-IDE 3.0.0 (Forum test VI)
Posted: Sun Oct 18, 2009 5:29 pm
by esgici
rathinagiri wrote:
Diwali is a famous Indian festival. 'Light' is given more importance for this festival.
Hi Rathi
I don't know how I can celebrate your festival.
But I know "light" is common high value in almost all culture.
So I wish hearty brighter days for whole world, in real peace and happiness.
Regards
--
Esgici
Re: HMG-IDE 3.0.0 (Forum test VI)
Posted: Sun Oct 18, 2009 5:40 pm
by Roberto Lopez
mol wrote:Any changes

And I've catched this too:
W32_REGREAD
W32_REGWRITE
was renamed to:
WIN_REGREAD
WIN_REGWRITE
So, i_pseudofunc.ch should be changed to:
Code: Select all
/*----------------------------------------------------------------------------
MINIGUI - Harbour Win32 GUI library source code
Copyright 2002-2009 Roberto Lopez <harbourminigui@gmail.com>
http://harbourminigui.googlepages.com/
This program is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free Software
Foundation; either version 2 of the License, or (at your option) any later
version.
This program is distributed in the hope that it will be useful, but WITHOUT
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with
this software; see the file COPYING. If not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA (or
visit the web site http://www.gnu.org/).
As a special exception, you have permission for additional uses of the text
contained in this release of Harbour Minigui.
The exception is that, if you link the Harbour Minigui library with other
files to produce an executable, this does not by itself cause the resulting
executable to be covered by the GNU General Public License.
Your use of that executable is in no way restricted on account of linking the
Harbour-Minigui library code into it.
Parts of this project are based upon:
"Harbour GUI framework for Win32"
Copyright 2001 Alexander S.Kresin <alex@belacy.belgorod.su>
Copyright 2001 Antonio Linares <alinares@fivetech.com>
www - http://www.harbour-project.org
"Harbour Project"
Copyright 1999-2003, http://www.harbour-project.org/
"WHAT32"
Copyright 2002 AJ Wos <andrwos@aust1.net>
"HWGUI"
Copyright 2001-2007 Alexander S.Kresin <alex@belacy.belgorod.su>
---------------------------------------------------------------------------*/
#translate IsControlDefined ( <ControlName> , <FormName> ) ;
=> ;
_IsControlDefined ( <"ControlName"> , <"FormName"> )
#translate IsWIndowActive ( <FormName> ) ;
=> ;
_IsWIndowActive ( <"FormName"> )
#translate IsWindowDefined ( <FormName> ) ;
=> ;
_IsWindowDefined ( <"FormName"> )
#translate RegistryRead ( <arg> ) ;
=> ;
win_regread ( <arg> )
#translate RegistryWrite ( <arg1> , <arg2> ) ;
=> ;
win_regwrite ( <arg1> , <arg2> )
I hope that this fix all undefined references.
Regards,
Roberto.
Re: HMG-IDE 3.0.0 (Forum test VI)
Posted: Sun Oct 18, 2009 5:43 pm
by mol
A little better, but I function is still missing:
REGWRITE
Below, report from compilation
Code: Select all
[b]hbmk2: debuginc: Calling Harbour compiler to detect dependencies of
c:/projekty/akord/akord.prg[/b]
hbmk2: debuginc: Calling Harbour compiler to detect dependencies of
c:/projekty/akord/certyfikaty.prg
hbmk2: debuginc: Calling Harbour compiler to detect dependencies of
c:/projekty/akord/eksport.prg
hbmk2: debuginc: Calling Harbour compiler to detect dependencies of
c:/projekty/akord/funkcje.prg
hbmk2: debuginc: Calling Harbour compiler to detect dependencies of
c:/projekty/akord/obsluga.prg
hbmk2: debuginc: Calling Harbour compiler to detect dependencies of
c:/projekty/akord/raporty.prg
hbmk2: debuginc: Calling Harbour compiler to detect dependencies of
c:/projekty/akord/tabele.prg
hbmk2: Linking... Akord.exe
.hbmk\win\mingw\akord.o:akord.c:(.data+0x338): undefined reference to `HB_FUN_W32_REGWRITE'
collect2: ld returned 1 exit status
hbmk2: Error: Running linker. 1
gcc.exe .hbmk\win\mingw\akord.o .hbmk\win\mingw\certyfikaty.o .hbmk\win\mingw\eksport.o .hbmk\win\mingw\funkcje.o .hbmk\win\mingw\obsluga.o .hbmk\win\mingw\raporty.o .hbmk\win\mingw\tabele.o .hbmk\win\mingw\_hbmkaut.o _temp.o -mwindows -Wl,--start-group -lminigui -lhbmysql -lmysql -lcrypt -ledit -leditex -lgraph -lini -lreport -lhbwin -lhbziparc -lhbmzip -lmsvfw32 -lvfw32 -lsddodbc -lrddsql -lsddmy -lhbodbc -lodbc32 -lhbhpdf -lhbvpdf -lhbmemio -lhbsqlit3 -lsqlite3 -lhbfimage -lhbpgsql -lpq -lhbtip -lhbct -lhbextern -lhbdebug -lhbvm -lhbrtl -lhblang -lhbcpage -lgtcgi -lgtpca -lgtstd -lgtwin -lgtwvt -lgtgui -lhbrdd -lhbuddall -lhbusrrdd -lrddntx -lrddcdx -lrddnsx -lrddfpt -lhbrdd -lhbhsx -lhbsix -lhbmacro -lhbcplr -lhbpp -lhbcommon -lkernel32 -luser32 -lgdi32 -ladvapi32 -lws2_32 -lwinspool -lcomctl32 -lcomdlg32 -lshell32 -luuid -lole32 -loleaut32 -lmpr -lwinmm -lmapi32 -limm32 -lmsimg32 -lwininet -lhbpcre -lhbzlib -Wl,--end-group -oAkord.exe -Lc:/hmg/harbour/lib -Lc:/hmg/lib
Bolded lines, I think, are caused by altd() function, which exists in my source code.
Re: HMG-IDE 3.0.0 (Forum test VI)
Posted: Sun Oct 18, 2009 5:50 pm
by Roberto Lopez
mol wrote:A little better, but I function is still missing:
REGWRITE
Below, report from compilation
It still happen with new i_pseudofunc.ch?
Regards,
Roberto.
Re: HMG-IDE 3.0.0 (Forum test VI)
Posted: Sun Oct 18, 2009 5:57 pm
by Roberto Lopez
rathinagiri wrote:
Hi Roberto,
As you have searched and found out, Diwali (aka Deepavali in some places) is a famous Indian festival. 'Light' is given more importance for this festival. This day (Oct-Nov. new moon day) is celebrated for the remembrance of Lord Krishna having killed Naragasura (a Demon).
Diwali is more important for me, since we manufacture fireworks here mostly for the consumption in this festival days for the whole of India.
Since you asked some of our pictures enjoying Diwali (sorry for the quality - captured using mobile hastily)
This is my elder daughter's hand lighting a sparkler.
<...>
Wow!... Nice!
Here (in Aregentina) we use such fireworks in christmas and new year too.
Sadly, here, some people prefers some 'noise devices' (I don't know the exact translation) that are designed only to make noise (big explosions) without any lightning effect.
Thanks for sharing this!
Regards,
Roberto.
Re: HMG-IDE 3.0.0 (Forum test VI)
Posted: Sun Oct 18, 2009 6:09 pm
by mol
First, I've missed changes in i_pseudofunc.ch
Now, after changes, I still get errors:
Code: Select all
collect2: ld returned 1 exit status
hbmk2: Error: Running linker. 1
gcc.exe .hbmk\win\mingw\akord.o .hbmk\win\mingw\certyfikaty.o .hbmk\win\mingw\eksport.o .hbmk\win\mingw\funkcje.o .hbmk\win\mingw\obsluga.o .hbmk\win\mingw\raporty.o .hbmk\win\mingw\tabele.o .hbmk\win\mingw\_hbmkaut.o _temp.o -mwindows -Wl,--start-group -lminigui -lhbmysql -lmysql -lcrypt -ledit -leditex -lgraph -lini -lreport -lhbwin -lhbziparc -lhbmzip -lmsvfw32 -lvfw32 -lsddodbc -lrddsql -lsddmy -lhbodbc -lodbc32 -lhbhpdf -lhbvpdf -lhbmemio -lhbsqlit3 -lsqlite3 -lhbfimage -lhbpgsql -lpq -lhbtip -lhbct -lhbextern -lhbdebug -lhbvm -lhbrtl -lhblang -lhbcpage -lgtcgi -lgtpca -lgtstd -lgtwin -lgtwvt -lgtgui -lhbrdd -lhbuddall -lhbusrrdd -lrddntx -lrddcdx -lrddnsx -lrddfpt -lhbrdd -lhbhsx -lhbsix -lhbmacro -lhbcplr -lhbpp -lhbcommon -lkernel32 -luser32 -lgdi32 -ladvapi32 -lws2_32 -lwinspool -lcomctl32 -lcomdlg32 -lshell32 -luuid -lole32 -loleaut32 -lmpr -lwinmm -lmapi32 -limm32 -lmsimg32 -lwininet -lhbpcre -lhbzlib -Wl,--end-group -oAkord.exe -Lc:/hmg/harbour/lib -Lc:/hmg/lib
Re: HMG-IDE 3.0.0 (Forum test VI)
Posted: Sun Oct 18, 2009 6:14 pm
by Roberto Lopez
mol wrote:First, I've missed changes in i_pseudofunc.ch
Now, after changes, I still get errors:
Appears to be a copy/paste problem.
I've attached the file to this message.
Regards,
Roberto.
Re: HMG-IDE 3.0.0 (Forum test VI)
Posted: Sun Oct 18, 2009 6:18 pm
by mol
There was missed /* and */ signs of begin and end of comment.
Re: HMG-IDE 3.0.0 (Forum test VI)
Posted: Sun Oct 18, 2009 6:21 pm
by mol
I think, the problem with missing library containing HB_FUN_W32_REGWRITE still exists.
Re: HMG-IDE 3.0.0 (Forum test VI)
Posted: Sun Oct 18, 2009 7:39 pm
by Roberto Lopez
mol wrote:I think, the problem with missing library containing HB_FUN_W32_REGWRITE still exists.
the library 'libhbwin32' was was renamed to 'hbwin' in Harbour 2.0.
Its internal functions has changed name too.
I've compiled 'registry' sample and all goes fine.
I've searched for *.prg, *.c and *.ch files in HMG containing W32_REGWRITE and found nothing.
Are you linking a library compiled with HMG 2.x?
This is my last idea....
Regards,
Roberto.