Hello Michael,
I'm confused, we're trying to create a very simple geometry, just a set
of lines. Some time after creation our application crashes (before any
call to commitChanges or render).
I tried to write the geometry to osb immediately after creation to see
whats wrong but I cannot load it anymore. Again an access violation
WARNING: OSBCommonElement::readFieldContent: Skipping unknown field [☺] [].
I'm attaching a test file. Hope someone can have a look to check whats
wrong with it.
to me it looks like the Geometry (or rather a GeoUInt32Property of it)
is corrupted when writing the OSB. Wild guesses what could cause this:
there is a short span of time where the GeoUInt32Property has its ref
count dropped to zero and it is destroyed causing the geometry to use a
dangling pointer. Or (since it's always a good source of crazy errors on
windows) is there a possibility of debug/release lib mixup?
I'm afraid I don't really have a good idea how to narrow this down more
with just the OSB file, sorry.
Cheers,
Carsten