Transform PTR type
Posted: Sat Feb 03, 2024 8:35 pm
Hi all,
we had a nasty crash in one of our datawindow.
It seems to come from the fact that we have one of the column data as PTR.
I've followed the code and it seems to crash in the Transform function
https://github.com/X-Sharp/XSharpPublic ... m.prg#L826
From what I understand of the code here, as PTR is not one of the switch, it will try to call the #Transform function on the PTR object, if that function exists, which is not.
Hence the throw on line 851.
Should I presume we can't pass a PTR in a datawindow column ? (It actually is a BBrowser).
Sorry if it's a weird question, I really don't have any experience with the BBrowser/Transform/picture
Best regards.
we had a nasty crash in one of our datawindow.
It seems to come from the fact that we have one of the column data as PTR.
I've followed the code and it seems to crash in the Transform function
https://github.com/X-Sharp/XSharpPublic ... m.prg#L826
From what I understand of the code here, as PTR is not one of the switch, it will try to call the #Transform function on the PTR object, if that function exists, which is not.
Hence the throw on line 851.
Should I presume we can't pass a PTR in a datawindow column ? (It actually is a BBrowser).
Sorry if it's a weird question, I really don't have any experience with the BBrowser/Transform/picture
Best regards.