You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The lifetime issue tends to hit very large applications. Viable workarounds are: 1) use the COM objects regularly, or 2) avoid the .NET COM cache and get the raw IntPtr then call GetUniqueObjectForIUnknown.
The text was updated successfully, but these errors were encountered:
Changing the built-in COM support semantics is something we are attempting to avoid. A source generator with needed semantics could be create using the ComWrappers API if this is causing issues.
Call CoMarshalInterface with MSHLFLAGS_TABLESTRONG (as opposed to MSHLFLAGS_NORMAL) to avoid COM rundown timeouts.
https://github.com/dotnet/coreclr/blob/8e48db2c113052ef18cdafb43e114a8633864ec0/src/vm/comcache.cpp#L178
The lifetime issue tends to hit very large applications. Viable workarounds are: 1) use the COM objects regularly, or 2) avoid the .NET COM cache and get the raw IntPtr then call GetUniqueObjectForIUnknown.
The text was updated successfully, but these errors were encountered: