Menu

#22 config path on WIN32

open
Backend (2)
3
2006-05-08
2006-05-06
Krod
No

Hi, i had a uncommon path for my home(D:\<username>)
and common files(E:\Common Files) folders, that's why i
had to change the old GLOBAL_CONFIG_PATH and
USER_CONFIG_PATH values with:
static const std::string GLOBAL_CONFIG_PATH =
std::string(getenv("CommonProgramFiles")) + "\\wgui\\";

static const std::string USER_CONFIG_PATH =
std::string(getenv("AppData")) + "\\wgui\\";

I hope i helped you. :)

Discussion

  • Krod

    Krod - 2006-05-06
    • priority: 5 --> 1
     
  • Rob Wiskow

    Rob Wiskow - 2006-05-08

    Logged In: YES
    user_id=65937

    Aha!
    Those environment variables will work much better. I'll be
    sure to make the change for the next release. I'm trying to
    get unicode working right now though, so I'm unsure how far
    away that will be.
    Thanks!

     
  • Rob Wiskow

    Rob Wiskow - 2006-05-08
    • labels: --> Backend
    • priority: 1 --> 3
    • assigned_to: nobody --> greenwire
     

Log in to post a comment.

MongoDB Logo MongoDB