Hi All,
Can i share a COM reference object across multiple forms or views.
I created a COM reference pointer inside the scope(global) of InBox View and used it in some action bar button.
But when i switch the inbox view into Draft view or Sent view, this reference gets destroyed. How can i prevent this. How can i store it till application exits. I want to make it as a static variable.
Is this possible.
Thanks
Maju
Subject: Global Object
Have you tried creating your reference object as a database global (in the database postopen or initilize events)? Since the views and folder objects are contained in the database object your object would be available accross views and forms.
Subject: RE: Global Object
Keep in mind that the database postopen/initialize events are not guaranteed to fire. (eg: when directly opening a doc/view via link, using View… Go to, …)
cheers,
Bram
Subject: Global Object
This question was asked a few days ago. Apparently, it can’t be done.