Hi Mircea,
Based on my research, the IDTExtensibility2.OnConnection is called by the
addin host, i.e. the office application. Because we have no way to change
the office code to pass additional information to addin. . Currently Office
supplies a single value -- a flag that indicates how the application was
started (by user, by OLE, by Automation). ( The last parameter custom), It
is provided in the spec to allow for future extensibility without breaking
method signature.
Best regards,
Peter Huang
Microsoft Online Partner Support
Get Secure! -
www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no rights.