I use GetCurrentDir to get the, er, Current dir. It works fine, I call it in the Initialization section of my program.
I added my software to the start-up of windows (using the registry, at currentsoftware/M$/windows/run or something like that) and then the function simply returns "c:\". Even if I move it out of the Initialization part and to the 'Activate' of the form or something, it still does that. What gives?