Not able to access Application.DefaultWorkItem

Topics: CAB & Smart Client Software Factory
Aug 30, 2005 at 7:28 PM
originally posted by: Rajul

Dear All,

Please help me.
I have four different modules in my application. And one Shell application loads all that modules. I want to store some objects in application state. So all four modules can access that objects and can chagne the value of that objects. Right now I am trying to store it in the State of Application.DefualtWorkItem. But I am not able to access the Application.DefaultWorkItem from the other workitem or controller. Can anybody helps me how can i access the State of DefaultWorkItem or is there any other way to share the state of the object in differenent applications.

Please Please Please help me.................

Thanks in advance
Rajul Patel
Aug 31, 2005 at 8:35 AM
originally posted by: BradWilsonMSFT

What is the exact problem? I'm able to reference ApplicationHost.DefaultWorkItem from modules (for example, from my ModuleInit derived classes).