[Gambas-user] Error with VarPtr() function

vuott at tutanota.com vuott at tutanota.com
Fri Oct 29 14:12:10 CEST 2021


Yes, now it works.

thank you





29 ott 2021, 02:47 da g4mba5 at gmail.com:

> Le 28/10/2021 à 23:45, vuott--- via User a écrit :
>
>> Hello,
>> if I run this simple code:
>>
>> ===================
>>     Private s As String
>>
>>
>>     Public Sub Main()
>>
>>          Dim p As Pointer
>>
>>            s = "abcde"
>>
>>            p = VarPtr(s)
>>
>>     End
>> =====================
>>
>> I obtain this error window message:
>>
>> « This application has raised an unexpected error and must abort.
>>     System error #3: Nessun processo corrisponde (#42)
>>     Design.TimerWatch_Timer.1777  »
>>
>> regards
>> vuott
>>
>
> Is it fixed by the last commit?
>
> This should be a race condition not related to your code at all.
>
> -- 
> Benoît Minisini
>
> ----[ http://gambaswiki.org/wiki/doc/netiquette ]----
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20211029/acd89c0c/attachment.htm>


More information about the User mailing list