matthewking
Programmer
Hi,
I have a CommsManager object in my application which manages network communications, I want to create a new instance of this when the application starts, then persist the object so I can access its methods anywhere in the application..
I think this is kind of like how a session in asp.net works, so I can do something like this:
CommsManager comms = Session["CommsManager"];
comms.DoSomething();
Please note, this is for an win32 app, not a web app. Session is just the closest thing I know to it.
Any help?
Thanks
Matt.
I have a CommsManager object in my application which manages network communications, I want to create a new instance of this when the application starts, then persist the object so I can access its methods anywhere in the application..
I think this is kind of like how a session in asp.net works, so I can do something like this:
CommsManager comms = Session["CommsManager"];
comms.DoSomething();
Please note, this is for an win32 app, not a web app. Session is just the closest thing I know to it.
Any help?
Thanks
Matt.