Index: src/ch/AppHelper.h =================================================================== diff -u -N -r3493e9fc470285b0a0b417d50be281467a071eb7 -r7c612814a43eb389fa1ac27ccd8f621fd4ff37e8 --- src/ch/AppHelper.h (.../AppHelper.h) (revision 3493e9fc470285b0a0b417d50be281467a071eb7) +++ src/ch/AppHelper.h (.../AppHelper.h) (revision 7c612814a43eb389fa1ac27ccd8f621fd4ff37e8) @@ -19,6 +19,8 @@ PCTSTR GetProgramPath() const { return m_pszProgramPath; }; PCTSTR GetProgramName() const { return m_pszProgramName; }; + static bool GetProgramDataPath(CString& rStrPath); + protected: void InitProtection(); // optional call - protects from running multiple instance void RetrievePaths(); // reads program's path and name @@ -28,7 +30,6 @@ protected: HANDLE m_hMutex; bool m_bFirstInstance; // tells if it is first instance(true) or second(or third, ...) - TCHAR *m_pszMutexName; // name of the protection mutex // program placement TCHAR* m_pszProgramPath; // path from which this program was run