HMG 3.0.43

HMG announcements; Latest HMG-related news, releases, fixes and updates.

Moderator: Rathinagiri

User avatar
danielcrocciari
Posts: 22
Joined: Thu Feb 11, 2010 12:56 am
DBs Used: DBF, MySQL, SQLite
Location: Nagano - Japão
Contact:

Re: HMG 3.0.43 - SET MULTIPLE OFF

Post by danielcrocciari »

Hi everyone, today I made some tests and realized MULTIPLE SET OFF is no longer working, does anyone know if this really was discontinued configuration.

For those unfamiliar, MULTIPLE OFF SET is responsible for preventing the program from running more than once, ie only one instance of the program will remain open.

Thank's
Daniel Crocciari
Brasil - Japan
Projetos HMGLights

HMGLights Site
http://hmglights.wordpress.com/


Canal do YouTube
http://www.youtube.com/hmglights


Céu Azul Tecnologia & Software
http://www.ceuazul.net
User avatar
esgici
Posts: 4543
Joined: Wed Jul 30, 2008 9:17 pm
DBs Used: DBF
Location: iskenderun / Turkiye
Contact:

Re: HMG 3.0.43 - SET MULTIPLE OFF

Post by esgici »

danielcrocciari wrote:Hi everyone, today I made some tests and realized MULTIPLE SET OFF is no longer working, does anyone know if this really was discontinued configuration.

For those unfamiliar, MULTIPLE OFF SET is responsible for preventing the program from running more than once, ie only one instance of the program will remain open.

Thank's
Hi Daniel

You are welcome back :)

Sadly I don't know answer of your question :(

But I want ask you another thing : where is our friend Vanguarda? Have you know anything about him ?

Since a long time we don't see him :(

Regards
Viva INTERNATIONAL HMG :D
User avatar
Pablo César
Posts: 4059
Joined: Wed Sep 08, 2010 1:18 pm
Location: Curitiba - Brasil

HMG versions 3.0.43 and 3.0.44

Post by Pablo César »

Hi Daniel,

I noted that SET MULTIPLE OFF or SET MULTIPLE WARNING was not working, then I saw that needs to set up in your .HBC file, this: mt=no, but you will need to close project in your IDE before then open again with mt=no already saved and you will see it working.

See normal example:

Code: Select all

#include <hmg.ch>

Function Main ()
SET LANGUAGE TO PORTUGUESE
SET CODEPAGE TO PORTUGUESE
// SET LANGUAGE TO ENGLISH
// SET CODEPAGE TO ENGLISH

SET MULTIPLE OFF WARNING

DEFINE WINDOW Form1 ;
   AT 0,0 ;
   WIDTH 320 ;
   HEIGHT 240 ;
   TITLE "Evitando múltiplas execuções do programa" ;
   MAIN
END WINDOW
CENTER WINDOW Form1
ACTIVATE WINDOW Form1
Return Nil
See attached files with executable file for your appreciation.

I am very glad to help you. Let me tell you that I started HMG thank to your HMG Lights blog, so I owe a lot to you !
Attachments
So_Roda.rar
(748.36 KiB) Downloaded 515 times
HMGing a better world
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein
Post Reply