Closed PhillipHamlyn closed 5 years ago
Make sure you have VS2017 graphics tool installed:
@amerkoleci - yes, I have it installed. To be clear my 4.1.0 works fine, but when I install 4.2.0 is breaks.
This seams bug to SharpGenTools, @jkoritzinsky can you check please? In 4.1.0 it was checking for null during InfoQueueFilter.__MarshalTo:
// 4.1.0
internal void __MarshalTo(ref __Native @ref)
{
@ref.AllowList = default(InfoQueueFilterDescription.__Native);
if (AllowList != null)
{
AllowList.__MarshalTo(ref @ref.AllowList);
}
@ref.DenyList = default(InfoQueueFilterDescription.__Native);
if (DenyList != null)
{
DenyList.__MarshalTo(ref @ref.DenyList);
}
}
4.2.0
internal void __MarshalTo(ref __Native @ref)
{
AllowList.__MarshalTo(ref @ref.AllowList);
DenyList.__MarshalTo(ref @ref.DenyList);
}
MarshalFree and MarshalFrom are wrong as well
I think I've already fixed this in SharpGenTools master IIRC. I'll check the next time I have time for SharpGenTools.
Upgrade from 4.1.0 to 4.2.0 - InfoQueue object now unstable.
Crashes with NullReferenceException.
Crashes with NullReferenceException