[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: varptr to structs returns bad pointer value
[Thread Prev] | [Thread Next]
- Subject: Re: varptr to structs returns bad pointer value
- From: Brian G <brian@xxxxxxxxxxxxxxxx>
- Date: Thu, 6 Mar 2025 16:17:45 -0800
- To: user@xxxxxxxxxxxxxxxxxxxxxx
On 3/4/25 09:48, Jussi Lahtinen wrote:
these works as expected public sub doit() dataSet = alloc(sizeof(mystruct)) mydata = dataSet myFunction(dataSet) ' this works end sub public sub doit2() mydata = new myStruct dataSet = Object.Data(myData) myFunction(dataSet) 'This should also. end sub Jussi
Thanks Ben and Jussi,I guess I did not read the object interface very well, thanks for so simple a solution Ben.
I also appreciate the conversation thread, I read all and am glad to have had so much input to my question.
Again thanks. -- ~~~~ Brian
Attachment:
OpenPGP_0x78BFB26402F48419.asc
Description: OpenPGP public key
Attachment:
OpenPGP_signature.asc
Description: OpenPGP digital signature
Re: varptr to structs returns bad pointer value | Benoît Minisini <benoit.minisini@xxxxxxxxxxxxxxxx> |
Re: varptr to structs returns bad pointer value | Jussi Lahtinen <jussi.lahtinen@xxxxxxxxx> |
Re: varptr to structs returns bad pointer value | vuott@xxxxxxxxxxxx |
Re: varptr to structs returns bad pointer value | Jussi Lahtinen <jussi.lahtinen@xxxxxxxxx> |