We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

How to not crash in StyleInfoStore.FixVectorCount

Hi, Everyone. After upgrading to 3.2.1.0, I was getting strange crashes in FixVectorCount after destroying a GDBG and recreating it. I figured out how to avoid this, and thought I''d share the solution in case anybody else is struggling with it. It turns out that I''d been assigning StyleInfo objects: a.StyleInfo = b.StyleInfo; when I really should have been using CopyFrom: a.StyleInfo.CopyFrom (b.StyleInfo); I''m not sure when it''s legitimate to use assignment, but the few times I''ve tried, there''s been trouble. But CopyFrom works like a charm. TJ

Loader.
Live Chat Icon For mobile
Up arrow icon