[Gambas-user] Error with VarPtr() function

Benoît Minisini g4mba5 at gmail.com
Fri Oct 29 02:47:07 CEST 2021


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


More information about the User mailing list