INTERACT FORUM
Windows => Plug-in Development => Topic started by: MahlerFreak on August 23, 2006, 10:58:07 am
-
I'm trying to figure out how to persist some settings from session to session, for an HTTP server plugin I'm working on. Does MC provide any facility for plugins to persist data? It doesn't seem to call the Save or Load interfaces in IPersistStreamInit.
I'm new to ATL, so maybe I'm missing something obvious. Or maybe I have to save settings in a file or the registry myself?
Thanks in advance for any help anyone can give me.
-
Or maybe I have to save settings in a file or the registry myself?
Yes
I Use VB6, In It You can Use Somthing Like
SaveSetting App.Title, "Options", "Option1(0)", Option1(0).Value
and
Option1(0).Value = GetSetting(App.Title, "Options", "Option1(0)", True)
-
Thanks for the response. I'll just use the registry. I don't like creating extra registry entries if there's another pre-defined mechanism, but there's no real reason not to use it for the little data I want to store.
-
I'll just use the registry.
thats where it is saved
-
thats where it is saved
Yes, I got that - my response wasn't very clear. It's up and working for me now, although it's not quite so syntactically simple in C++ :)