There was a nasty bug in DSiWin32 unit included with the 3.06 release so I had no other option than to quickly issue a fix. If you have downloaded version 3.06 then please update to 3.06.1 as with 3.06 you could experience weird crashes during program startup. I’m really sorry for that :(
There’s also a tiny addition to TOmniValue included in this release.
- Implemented TOmniValue.Wrap<T> and .Unwrap<T>, a way to wrap anything (including TMethod and 'reference to procedure') in a TOmniObject. [Unwrap<T> must be called as follows: omnivalue.Unwrap<T>()]
- Fixed enum size enforcement in DSiWin32. [Could cause an application to crash if OtlCommon was used in the program.]