[Gambas-user] Segmentation Fault - Deserialization

Gianluigi bagonergi at gmail.com
Thu Jul 16 18:20:09 CEST 2020


Il giorno gio 16 lug 2020 alle ore 17:46 Gianluigi <bagonergi at gmail.com> ha
scritto:

>
>
> Il giorno gio 16 lug 2020 alle ore 00:22 Matthew Collins <
> matthew.charles.collins.75 at gmail.com> ha scritto:
>
>> Hi,
>>
>> I wrote an example for the new serialization methods:
>> http://gambaswiki.org/wiki/lang/special/read
>>
>> If you change line 8 from:
>> Write #f1, Item1 As Object
>> To:
>> Write #f1, Item1 As MyClass
>>
>> You get segmentation fault, is this a bug?
>>
>
> Hi Matthew,
>
> Attached my simple example that gives no error with object.
>
>
EDIT:

Better with global variables? :-)

Private hFile As File
Private hObj As New Class1

Regards
Gianluigi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.gambas-basic.org/pipermail/user/attachments/20200716/16d86155/attachment.html>


More information about the User mailing list