Click here to Skip to main content
15,886,919 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionRe: Rotating Controls Pin
CPallini17-May-09 21:35
mveCPallini17-May-09 21:35 
AnswerRe: Rotating Controls Pin
Ayman Alterawi17-May-09 21:53
Ayman Alterawi17-May-09 21:53 
AnswerRe: Rotating Controls Pin
_AnsHUMAN_ 17-May-09 21:37
_AnsHUMAN_ 17-May-09 21:37 
GeneralRe: Rotating Controls Pin
Ayman Alterawi17-May-09 21:56
Ayman Alterawi17-May-09 21:56 
GeneralRe: Rotating Controls Pin
_AnsHUMAN_ 17-May-09 22:07
_AnsHUMAN_ 17-May-09 22:07 
GeneralRe: Rotating Controls Pin
Ayman Alterawi19-May-09 20:37
Ayman Alterawi19-May-09 20:37 
QuestionGetShortPathName not working on x64 system Pin
Ranojay17-May-09 20:58
Ranojay17-May-09 20:58 
AnswerRe: GetShortPathName not working on x64 system Pin
Stuart Dootson17-May-09 21:06
professionalStuart Dootson17-May-09 21:06 
Ranojay wrote:
If it is a library function, I guess it uses C Run-Time Libraries (CRT), then why would it be different from 32 bit libraries.


Well, it doesn't use the CRT, actually - it's part of the OS and the CRT is layered on top of it.


Have you thought of checking the return code? MSDN states this:

If the function succeeds, the return value is the length, in TCHARs, of the string that is copied to lpszShortPath, not including the terminating null character.

If the lpszShortPath buffer is too small to contain the path, the return value is the size of the buffer, in TCHARs, that is required to hold the path. Therefore, if the return value is greater than cchBuffer, call the function again with a buffer that is large enough to hold the path.

If the function fails for any other reason, the return value is zero (0). To get extended error information, call GetLastError.


Check the return value and (if it's zero), GetLastError, then repost.

Java, Basic, who cares - it's all a bunch of tree-hugging hippy cr*p

QuestionRE: how to run C++ code on linux Pin
savitha87k17-May-09 20:44
savitha87k17-May-09 20:44 
AnswerRe: RE: how to run C++ code on linux Pin
Stuart Dootson17-May-09 21:02
professionalStuart Dootson17-May-09 21:02 
GeneralRe: RE: how to run C++ code on linux Pin
savitha87k17-May-09 21:18
savitha87k17-May-09 21:18 
QuestionRe: RE: how to run C++ code on linux Pin
CPallini17-May-09 21:33
mveCPallini17-May-09 21:33 
AnswerRe: RE: how to run C++ code on linux Pin
savitha87k17-May-09 21:57
savitha87k17-May-09 21:57 
GeneralRe: RE: how to run C++ code on linux Pin
CPallini17-May-09 22:00
mveCPallini17-May-09 22:00 
GeneralRe: RE: how to run C++ code on linux Pin
savitha87k17-May-09 22:14
savitha87k17-May-09 22:14 
GeneralRe: RE: how to run C++ code on linux Pin
CPallini17-May-09 22:24
mveCPallini17-May-09 22:24 
GeneralRe: RE: how to run C++ code on linux Pin
savitha87k17-May-09 22:39
savitha87k17-May-09 22:39 
GeneralRe: RE: how to run C++ code on linux Pin
CPallini17-May-09 23:02
mveCPallini17-May-09 23:02 
GeneralRe: RE: how to run C++ code on linux Pin
Stuart Dootson17-May-09 23:27
professionalStuart Dootson17-May-09 23:27 
GeneralRe: RE: how to run C++ code on linux Pin
savitha87k21-May-09 2:44
savitha87k21-May-09 2:44 
GeneralRe: RE: how to run C++ code on linux Pin
Stuart Dootson21-May-09 2:49
professionalStuart Dootson21-May-09 2:49 
GeneralRe: RE: how to run C++ code on linux Pin
savitha87k21-May-09 3:06
savitha87k21-May-09 3:06 
GeneralRe: RE: how to run C++ code on linux Pin
Stuart Dootson21-May-09 3:16
professionalStuart Dootson21-May-09 3:16 
GeneralRe: RE: how to run C++ code on linux Pin
savitha87k21-May-09 3:27
savitha87k21-May-09 3:27 
GeneralRe: RE: how to run C++ code on linux Pin
Stuart Dootson21-May-09 4:33
professionalStuart Dootson21-May-09 4:33 

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.