HMG 3.4.1

HMG Unicode versions 3.1.x related

Moderator: Rathinagiri

User avatar
tonton2
Posts: 444
Joined: Sat Jun 29, 2013 1:26 pm
Location: Algerie
Contact:

Re: HMG 3.4.1

Post by tonton2 »

bonsoir tout le monde
attention il faut reconfigurer le fichier IDE (parametres de configuration )de l'IDE ,car il ouvre le fichier du hmg 3.40
Merci de votre partage et bonne suite à tous
Attention must reconfigure the Hmg IDE (configuration settings )file, because it opens the file hmg 3.4.0 instead of 3.4.1
Best regards
L'Algerie vous salut
Y.TABET
User avatar
Roberto Lopez
HMG Founder
Posts: 4004
Joined: Wed Jul 30, 2008 6:43 pm

Re: HMG 3.4.1

Post by Roberto Lopez »

Hi All,

I'm creating a basic NETIO server with 3.4.1 and I've got an error:
Error BASE/1132 Bound error: array access
Called from EVENTPROCESSHMGWINDOWSMESSAGE(6782)
Called from INIT(838)
Called from ERRORSYS(59)
Called from __HBVMINIT(0)
The code that generates the runtime error is the following:

Code: Select all

	
nPort:= 50000
cIfAddr:= '0.0.0.0'
cRootDir:= '.'
lRPC:= .T.
cPasswd:= 'secret'
nCompressionLevel:= 9
nStrategy:= NIL

	pSockSrv := NETIO_MTSERVER( nPort , cIfAddr , cRootDir , lRPC , cPasswd , nCompressionLevel , nStrategy )
	if empty( pSockSrv )
		MSGSTOP("Can't Start Server!")
		RETURN
	endif
Build: 32 Bits
OS: XP SP3 32 Bits
Configuration: -mt (multi-threaded)
Attachments
netio.7z
(1.76 KiB) Downloaded 323 times
Regards/Saludos,

Roberto


(Veritas Filia Temporis)
User avatar
Pablo César
Posts: 4059
Joined: Wed Sep 08, 2010 1:18 pm
Location: Curitiba - Brasil

Re: HMG 3.4.1

Post by Pablo César »

tonton2 wrote:Attention must reconfigure the Hmg IDE (configuration settings )file, because it opens the file hmg 3.4.0 instead of 3.4.1
Thank you for advising.

Will need to re-edit C:\hmg.3.4.1\IDE\hmg.ini file (you can use Notepad++) to set right hmgpath.
Screen2.png
Screen2.png (10.79 KiB) Viewed 5228 times
Also you would check C:\hmg.3.4.1\IDE\editor.ini file. I do not know if mine was the only wrong path of Notepad++ or came wrongly setted.
HMGing a better world
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein
User avatar
Pablo César
Posts: 4059
Joined: Wed Sep 08, 2010 1:18 pm
Location: Curitiba - Brasil

Re: HMG 3.4.1

Post by Pablo César »

Roberto Lopez wrote: Error BASE/1132 Bound error: array access
Called from EVENTPROCESSHMGWINDOWSMESSAGE(6782)
Called from INIT(838)
Called from ERRORSYS(59)
Called from __HBVMINIT(0)
Este error en tiempo de ejecucion, parece que empezó a ocurrir desde la version hmg.3.3.1.
Hé testeado con versiones anteriores.

El accionar del EventProcessHMGWindowsMessage en el Init.prg empezó justamente apartir de hmg.3.3.1.

Espero que la información sirva para resolver el problema.

Slds
HMGing a better world
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein
User avatar
srvet_claudio
Posts: 2193
Joined: Thu Feb 25, 2010 8:43 pm
Location: Uruguay
Contact:

Re: HMG 3.4.1

Post by srvet_claudio »

Roberto Lopez wrote:Hi All,

I'm creating a basic NETIO server with 3.4.1 and I've got an error:
Error BASE/1132 Bound error: array access
Called from EVENTPROCESSHMGWINDOWSMESSAGE(6782)
Called from INIT(838)
Called from ERRORSYS(59)
Called from __HBVMINIT(0)
The code that generates the runtime error is the following:

Code: Select all

	
nPort:= 50000
cIfAddr:= '0.0.0.0'
cRootDir:= '.'
lRPC:= .T.
cPasswd:= 'secret'
nCompressionLevel:= 9
nStrategy:= NIL

	pSockSrv := NETIO_MTSERVER( nPort , cIfAddr , cRootDir , lRPC , cPasswd , nCompressionLevel , nStrategy )
	if empty( pSockSrv )
		MSGSTOP("Can't Start Server!")
		RETURN
	endif
Build: 32 Bits
OS: XP SP3 32 Bits
Configuration: -mt (multi-threaded)
Thanks Roberto for report.
I fixed, please unzip this file in folder c:\hmg.3.4.1\SOURCE and re-build the lib.
Attachments
h_Event.rar
(43.29 KiB) Downloaded 388 times
Best regards.
Dr. Claudio Soto
(from Uruguay)
http://srvet.blogspot.com
User avatar
bpd2000
Posts: 1207
Joined: Sat Sep 10, 2011 4:07 am
Location: India

Re: HMG 3.4.1

Post by bpd2000 »

netio err.png
netio err.png (24.36 KiB) Viewed 5197 times
Dear Dr. Claudio Soto, Roberto Lopez
After apply of above patch, Server compilation Ok, but run time error
BPD
Convert Dream into Reality through HMG
User avatar
Pablo César
Posts: 4059
Joined: Wed Sep 08, 2010 1:18 pm
Location: Curitiba - Brasil

Re: HMG 3.4.1

Post by Pablo César »

Hi Dave,

Certainly you doing something wrong or missing something.
I've applied the recently patch given by Claudio replaced files at source folder and re-builded libs and all working properly.
Except second button to stop server due missing variable.
HMGing a better world
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein
User avatar
Roberto Lopez
HMG Founder
Posts: 4004
Joined: Wed Jul 30, 2008 6:43 pm

Re: HMG 3.4.1

Post by Roberto Lopez »

srvet_claudio wrote: Thanks Roberto for report.
I fixed, please unzip this file in folder c:\hmg.3.4.1\SOURCE and re-build the lib.
Thanks Claudio!

I'll try it and report back.
Regards/Saludos,

Roberto


(Veritas Filia Temporis)
User avatar
Roberto Lopez
HMG Founder
Posts: 4004
Joined: Wed Jul 30, 2008 6:43 pm

Re: HMG 3.4.1

Post by Roberto Lopez »

srvet_claudio wrote: Thanks Roberto for report.
I fixed, please unzip this file in folder c:\hmg.3.4.1\SOURCE and re-build the lib.
It works perfect. Thanks Again!
Regards/Saludos,

Roberto


(Veritas Filia Temporis)
User avatar
bpd2000
Posts: 1207
Joined: Sat Sep 10, 2011 4:07 am
Location: India

Re: HMG 3.4.1

Post by bpd2000 »

Pablo César wrote:Hi Dave,
Certainly you doing something wrong or missing something.
You are correct dear, sorry for disturb
When I run Buildalllib I am facing error as per attachment
My system is WinXp Sp3
Attachments
err.rar
(2 KiB) Downloaded 316 times
BPD
Convert Dream into Reality through HMG
Post Reply