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

Gianluigi bagonergi at gmail.com
Wed May 30 23:11:20 CEST 2018


Look here, good night
https://lists.gambas-basic.org/pipermail/user/2012-November/041904.html

2018-05-30 22:21 GMT+02:00 PICCORO McKAY Lenz <mckaygerhard at gmail.com>:

> 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 ]----
>>>
>>>
>>
>
>
> ----[ 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/7896c032/attachment-0001.html>


More information about the User mailing list