Got a question and I hope get an answer other than what I expect.

I am re-writing an application I wrote a few years ago and as always I am thinking, why in the world did I do it like this. I know we all have been there.

Anyway, the program controls remote cameras through the comm ports and I have created several dll's to help me accomplish this. Over the past few years, we have added new cameras and different ways of controlling them so the dll has grown with its class files. Currently there are 5 class files in the dll.

I would like to be able to have one global variable the use this as the means to interface with the dll. I currently cant get it work like I want it to and I dont want to have to declare 5 global variables just to be able to run everything.

Thanks in advance for your help,

Jerel