Click here to Skip to main content
15,921,959 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionBlock Printer Pin
zoiomon4-Jun-08 10:42
zoiomon4-Jun-08 10:42 
QuestionRe: Block Printer Pin
David Crow5-Jun-08 3:12
David Crow5-Jun-08 3:12 
QuestionMultilanguage support [modified] Pin
Nelek4-Jun-08 7:44
protectorNelek4-Jun-08 7:44 
AnswerRe: Multilanguage support Pin
Maximilien4-Jun-08 8:19
Maximilien4-Jun-08 8:19 
GeneralRe: Multilanguage support Pin
Nelek4-Jun-08 12:55
protectorNelek4-Jun-08 12:55 
GeneralRe: Multilanguage support Pin
Nelek4-Jun-08 13:50
protectorNelek4-Jun-08 13:50 
AnswerRe: Multilanguage support Pin
Nemanja Trifunovic4-Jun-08 10:27
Nemanja Trifunovic4-Jun-08 10:27 
QuestionPathRemoveFileSpec function removes the last part even if it's not a file ?! Pin
sashoalm4-Jun-08 6:17
sashoalm4-Jun-08 6:17 
i was trying to figure out why my code tried to open the wrong files and after some debugging it turned out to be because of these two lines:

...
::strncpy(buffer, folder, sizeof(buffer));
::PathRemoveFileSpec(buffer);
...


buffer here was "C:\Documents and Settings\Administrator\My Documents" before and "C:\Documents and Settings\Administrator" after, even though it should remove the trailing file name only if it really is a file.

the msdn documentation for the function (at http://msdn.microsoft.com/en-us/library/bb773748(VS.85).aspx[^]) doesn't mention that as far as i could see
AnswerRe: PathRemoveFileSpec function removes the last part even if it's not a file ?! Pin
James R. Twine4-Jun-08 6:44
James R. Twine4-Jun-08 6:44 
QuestionRe: PathRemoveFileSpec function removes the last part even if it's not a file ?! Pin
David Crow4-Jun-08 7:23
David Crow4-Jun-08 7:23 
AnswerRe: PathRemoveFileSpec function removes the last part even if it's not a file ?! Pin
Simon Baldry4-Aug-11 4:59
Simon Baldry4-Aug-11 4:59 
QuestionVista specific CToolBar problem Pin
Manu.Dev4-Jun-08 5:01
Manu.Dev4-Jun-08 5:01 
AnswerRe: Vista specific CToolBar problem Pin
Manu.Dev6-Jun-08 4:36
Manu.Dev6-Jun-08 4:36 
QuestionMD5 Alg Pin
Nandu_77b4-Jun-08 4:40
Nandu_77b4-Jun-08 4:40 
AnswerRe: MD5 Alg Pin
David Crow4-Jun-08 4:50
David Crow4-Jun-08 4:50 
AnswerRe: MD5 Alg Pin
Randor 4-Jun-08 4:56
professional Randor 4-Jun-08 4:56 
GeneralRe: MD5 Alg Pin
Nandu_77b4-Jun-08 7:29
Nandu_77b4-Jun-08 7:29 
AnswerRe: MD5 Alg Pin
Hamid_RT4-Jun-08 21:21
Hamid_RT4-Jun-08 21:21 
QuestionRe: MD5 Alg Pin
Nandu_77b4-Jun-08 22:18
Nandu_77b4-Jun-08 22:18 
AnswerRe: MD5 Alg Pin
JudyL_MD5-Jun-08 3:33
JudyL_MD5-Jun-08 3:33 
QuestionIs there any Win32 API to get users home directory Pin
Nandu_77b4-Jun-08 4:23
Nandu_77b4-Jun-08 4:23 
AnswerRe: Is there any Win32 API to get users home directory Pin
Nandu_77b4-Jun-08 4:25
Nandu_77b4-Jun-08 4:25 
AnswerRe: Is there any Win32 API to get users home directory Pin
JudyL_MD4-Jun-08 4:37
JudyL_MD4-Jun-08 4:37 
AnswerRe: Is there any Win32 API to get users home directory Pin
krmed4-Jun-08 6:55
krmed4-Jun-08 6:55 
QuestionRe: Is there any Win32 API to get users home directory Pin
Nandu_77b4-Jun-08 7:28
Nandu_77b4-Jun-08 7:28 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.