[Gambas-user] donot permit another instance of my program

PICCORO McKAY Lenz mckaygerhard at gmail.com
Wed May 30 22:21:15 CEST 2018


errr Gianluigi that does not are usefully for me! the sehelpbuilder only
check if the current main window are instanciates and present.. not if the
hole program are running per se!

Lenz McKAY Gerardo (PICCORO)
http://qgqlochekone.blogspot.com

2018-05-30 16:07 GMT-04:00 PICCORO McKAY Lenz <mckaygerhard at gmail.com>:

> great! thanks , now checking my copy of sehelpbuilder
>
> Lenz McKAY Gerardo (PICCORO)
> http://qgqlochekone.blogspot.com
>
> 2018-05-30 16:06 GMT-04:00 Gianluigi <bagonergi at gmail.com>:
>
>>
>>
>> 2018-05-30 20:37 GMT+02:00 PICCORO McKAY Lenz <mckaygerhard at gmail.com>:
>>
>>> ok taking in consideration that gambas its not multi-thread
>>>
>>> how can i avoid second instance of my program..
>>>
>>> in another case, how can i take care of that, if i manage settings file?
>>>
>>
>> seHelpBuilder checks if an instance of the program is already open and
>> asks the user.
>> You can see them.
>> I do not know if it can help you.
>>
>>
>>> seems if the file are access by two instacens a lock may cause
>>> corruption of data
>>>
>>> a good example would be great
>>>
>>>
>>> Lenz McKAY Gerardo (PICCORO)
>>> http://qgqlochekone.blogspot.com
>>>
>>>
>>> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]----
>>>
>>>
>>
>>
>> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]----
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20180530/a4fcf5a5/attachment.html>


More information about the User mailing list