[Bug 32316] Autodesk 3ds Max 9 32-bit exits silently or crashes on startup with Wine-Mono

"WineHQ Bugzilla" <[email protected]> Mon, 07 Jun 2021 18:52:09 +0000
Newsgroups gmane.comp.emulators.wine.bugs
Message-ID <[email protected]/>
https://bugs.winehq.org/show_bug.cgi?id=32316

--- Comment #31 from Esme Povirk <[email protected]> ---
Before the crash, we get a NullReferenceException in
System.Windows.Forms.Control/ActiveXImpl.SetClientSite. It turns out this is
caused by an attempt to cast a null object to bool. The null object comes from
GetAmbientProperty, which gets it from winforms' UnsafeNativeMethods.IDispatch
interface, which uses this:

6936                 [Out, MarshalAs(UnmanagedType.LPArray)]
6937                   object[] pVarResult,

So, I'm guessing this should marshal as a VARIANT array, and Mono is getting it
wrong somehow.

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.