17 years, 6 months ago
Highlights
Community contributions featuredYou need to call Write(1, "Error - %s", "Problem with foo")to get "Problem with foo" to appear.If you didn't know this already you might want to have a look atvsprintf
17 years, 6 months ago
17 years, 7 months ago
That should be how you do it.. What if you cd to "C:\Program Files\Stuff" and instead dodoStuff.exe "C:\Users\Me\Documents\stuff.txt"
17 years, 7 months ago
17 years, 7 months ago
If you are using win32 api you can use SHGetFolderPath with the CSIDL_MYMUSIC parameter.Example:char szPath[MAX_PATH];SHGetFolderPath(NULL, CSIDL_MYMUSIC|CSIDL_FLAG_CREATE, NULL…
17 years, 7 months ago
Latest Activity
See all in DiscussionsYou need to call Write(1, "Error - %s", "Problem with foo")to get "Problem with foo" to appear.If you didn't know …
17 years, 6 months ago
That should be how you do it.. What if you cd to "C:\Program Files\Stuff" and instead dodoStuff.exe "C:\Users\Me\Documents\stuff.txt"
17 years, 7 months ago
If you are using win32 api you can use SHGetFolderPath with the CSIDL_MYMUSIC parameter.Example:char szPath[MAX_PATH];SHGetFolderPath(NULL, CSIDL_MYMUSIC|CSIDL_FLAG_CREATE, NULL, 0, szPath);
17 years, 7 months ago