Re: How to Mark a Attributed ATL 7.0 DLL SafeForScripting.

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



Have your exported ATL Object (or Control) inherit from
IObjectSafetyImpl

like
...
...
public IObjectSafetyImpl<YourObjectName,
INTERFACESAFE_FOR_UNTRUSTED_CALLER | INTERFACESAFE_FOR_UNTRUSTED_DATA>,
...
...

or whatever

Object Safety is on a per object basis, not dll basis

.