> Is it needed to change all \ to \\ when you use GetCurrentDirectory()?
No, the \\ rule only applies to those string constants which you write in your code.