Page 4 of 20

Re: HMG 3.4.1

Posted: Mon Jul 06, 2015 10:51 pm
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

Re: HMG 3.4.1

Posted: Mon Jul 06, 2015 10:56 pm
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)

Re: HMG 3.4.1

Posted: Mon Jul 06, 2015 11:16 pm
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 5602 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.

Re: HMG 3.4.1

Posted: Tue Jul 07, 2015 12:33 am
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

Re: HMG 3.4.1

Posted: Tue Jul 07, 2015 1:09 am
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.

Re: HMG 3.4.1

Posted: Tue Jul 07, 2015 4:35 am
by bpd2000
netio err.png
netio err.png (24.36 KiB) Viewed 5571 times
Dear Dr. Claudio Soto, Roberto Lopez
After apply of above patch, Server compilation Ok, but run time error

Re: HMG 3.4.1

Posted: Tue Jul 07, 2015 11:30 am
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.

Re: HMG 3.4.1

Posted: Tue Jul 07, 2015 12:35 pm
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.

Re: HMG 3.4.1

Posted: Tue Jul 07, 2015 1:23 pm
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!

Re: HMG 3.4.1

Posted: Tue Jul 07, 2015 1:34 pm
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