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

C / C++ / MFC

 
GeneralRe: Open a URL with extra information (# character) Pin
lolividalgil15-Apr-09 1:59
lolividalgil15-Apr-09 1:59 
GeneralRe: Open a URL with extra information (# character) Pin
Stuart Dootson15-Apr-09 2:19
professionalStuart Dootson15-Apr-09 2:19 
QuestionGetVolumeInformation not giving any information its return error code 123 Pin
chandrakar ashish14-Apr-09 22:00
chandrakar ashish14-Apr-09 22:00 
AnswerRe: GetVolumeInformation not giving any information its return error code 123 [modified] Pin
_AnsHUMAN_ 14-Apr-09 22:32
_AnsHUMAN_ 14-Apr-09 22:32 
GeneralRe: GetVolumeInformation not giving any information its return error code 123 Pin
chandrakar ashish14-Apr-09 22:48
chandrakar ashish14-Apr-09 22:48 
GeneralRe: GetVolumeInformation not giving any information its return error code 123 Pin
_AnsHUMAN_ 14-Apr-09 23:03
_AnsHUMAN_ 14-Apr-09 23:03 
QuestionRe: GetVolumeInformation not giving any information its return error code 123 Pin
David Crow15-Apr-09 3:30
David Crow15-Apr-09 3:30 
AnswerRe: GetVolumeInformation not giving any information its return error code 123 Pin
binyo665-Jun-09 11:46
binyo665-Jun-09 11:46 
I have the same problem, and I am not using MFC.
From several partiotins that I have, the GetVolumeInformation failed 2x.
Using the FormatMessage
char *errorBuf = 0;
if (
FormatMessage(
FORMAT_MESSAGE_ALLOCATE_BUFFER |
FORMAT_MESSAGE_FROM_SYSTEM |
FORMAT_MESSAGE_IGNORE_INSERTS,
NULL,
GetLastError(), //the error message
MAKELANGID(LANG_NEUTRAL, SUBLANG_DEFAULT), // Default language
(LPTSTR) &errorBuf,
0,
NULL)
)
{

MessageBox (NULL, errorBuf, "BuildIndex - Error",MB_OK);
LocalFree (errorBuf);
}
The message box says "The filename, directory name, or volume label syntax is incorrect"
But explorer shows the right label for those partitions.Confused | :confused:
So It must be another way to collect information and getting the right label.
==== EDIT ====
Never mind, I got the answer. I added '\\' to the drive name. The funny thing was, It was successfully without adding the '\\' on some partitions Laugh | :laugh:
QuestionThemes in MFC - pls help Pin
Tomas(cz)14-Apr-09 21:49
Tomas(cz)14-Apr-09 21:49 
QuestionNot able to Debug SetFont in Activex control. Pin
girishog14-Apr-09 21:15
girishog14-Apr-09 21:15 
AnswerRe: Not able to Debug SetFont in Activex control. Pin
KarstenK14-Apr-09 21:33
mveKarstenK14-Apr-09 21:33 
QuestionProblem with Socket Pin
Abhijit D. Babar14-Apr-09 20:51
Abhijit D. Babar14-Apr-09 20:51 
AnswerRe: Problem with Socket Pin
Divyang Mithaiwala14-Apr-09 21:31
Divyang Mithaiwala14-Apr-09 21:31 
AnswerRe: Problem with Socket Pin
KarstenK14-Apr-09 21:36
mveKarstenK14-Apr-09 21:36 
AnswerRe: Problem with Socket Pin
ParagPatel14-Apr-09 21:45
ParagPatel14-Apr-09 21:45 
GeneralRe: Problem with Socket Pin
Abhijit D. Babar14-Apr-09 21:55
Abhijit D. Babar14-Apr-09 21:55 
GeneralRe: Problem with Socket Pin
ThatsAlok14-Apr-09 23:18
ThatsAlok14-Apr-09 23:18 
GeneralRe: Problem with Socket Pin
ParagPatel14-Apr-09 23:22
ParagPatel14-Apr-09 23:22 
GeneralRe: Problem with Socket Pin
Abhijit D. Babar16-Apr-09 19:53
Abhijit D. Babar16-Apr-09 19:53 
GeneralRe: Problem with Socket Pin
ParagPatel25-Apr-09 0:52
ParagPatel25-Apr-09 0:52 
QuestionUrldownloadToFile Pin
p_196014-Apr-09 20:42
p_196014-Apr-09 20:42 
AnswerRe: UrldownloadToFile Pin
Rajesh R Subramanian14-Apr-09 20:47
professionalRajesh R Subramanian14-Apr-09 20:47 
AnswerRe: UrldownloadToFile Pin
Hamid_RT14-Apr-09 20:49
Hamid_RT14-Apr-09 20:49 
AnswerRe: UrldownloadToFile Pin
KarstenK14-Apr-09 21:38
mveKarstenK14-Apr-09 21:38 
AnswerRe: UrldownloadToFile Pin
ThatsAlok14-Apr-09 23:16
ThatsAlok14-Apr-09 23:16 

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.