If I store a value in the registry such as InDebugMode then I would like to
be able to store whether we are in DebugMode across the application. In
other words, I would like to use something like:
IF DebugMode THEN
LogFile.WriteEn try("We are in debug mode")
END IF
I would prefer to avoid hitting the registry every time.
Can anybody offer any advise?
Running Visual Studio .Net 2003.
Delphi Convert---Kicking and Screaming :~)
--
Mark A. Deal
Document & Data Solutions, LLC
Time Matters AIC
GhostFill Certified Consultant
be able to store whether we are in DebugMode across the application. In
other words, I would like to use something like:
IF DebugMode THEN
LogFile.WriteEn try("We are in debug mode")
END IF
I would prefer to avoid hitting the registry every time.
Can anybody offer any advise?
Running Visual Studio .Net 2003.
Delphi Convert---Kicking and Screaming :~)
--
Mark A. Deal
Document & Data Solutions, LLC
Time Matters AIC
GhostFill Certified Consultant
Comment