Muokkaa

Jaa


LegacySecureReferences

Determines whether AddRef/Release invocations are secured for applications that do not call CoInitializeSecurity.

Registry Entry

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Ole
   LegacySecureReferences = value

Remarks

This is a REG_SZ value. A value of 'Y' or 'y' indicate that AddRef and Release are secured. If this registry value is not present or is set to a value other than 'Y' or 'y', AddRef and Release are not secured. Enabling secure references slows remote calls.

Registering COM Servers

Setting Process-wide Security