Click here to Skip to main content
15,794,980 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: about Qt4 Pin
_AnsHUMAN_ 15-Apr-09 1:29
_AnsHUMAN_ 15-Apr-09 1:29 
AnswerRe: about Qt4 Pin
Rajesh R Subramanian15-Apr-09 2:46
professionalRajesh R Subramanian15-Apr-09 2:46 
JokeRe: about Qt4 Pin
CPallini15-Apr-09 3:17
mveCPallini15-Apr-09 3:17 
QuestionOpen a URL with extra information (# character) Pin
lolividalgil14-Apr-09 23:47
lolividalgil14-Apr-09 23:47 
AnswerRe: Open a URL with extra information (# character) Pin
Stuart Dootson15-Apr-09 0:32
professionalStuart Dootson15-Apr-09 0:32 
GeneralRe: Open a URL with extra information (# character) Pin
lolividalgil15-Apr-09 2:59
lolividalgil15-Apr-09 2:59 
GeneralRe: Open a URL with extra information (# character) Pin
Stuart Dootson15-Apr-09 3:19
professionalStuart Dootson15-Apr-09 3:19 
QuestionGetVolumeInformation not giving any information its return error code 123 Pin
chandrakar ashish14-Apr-09 23:00
chandrakar ashish14-Apr-09 23:00 
Hi any one plese help me
i am using GetVolumeInformation in my code for comressing some files and folder.

the used code is below

CString strDir = _T("D:\\CompressionTest");
TCHAR volBuff[256];
LPTSTR lpVolumeNameBuffer = volBuff;
DWORD nVolumeNameSize = 256;
LPDWORD lpVolumeSerialNumber;
LPDWORD lpMaximumComponentLength;
LPDWORD lpFileSystemFlags = 0;
TCHAR sysFileBuff[256];
LPTSTR lpFileSystemNameBuffer = sysFileBuff;
DWORD nFileSystemNameSize = 256;
if(!GetVolumeInformation(strDir,lpVolumeNameBuffer,nVolumeNameSize,lpVolumeSerialNumber,
lpMaximumComponentLength,lpFileSystemFlags,lpFileSystemNameBuffer,nFileSystemNameSize))

{
CHAR szBuf[80];
DWORD dw = GetLastError();

sprintf(szBuf, "failed: GetLastError returned %u\n",dw);

MessageBox(NULL, szBuf, "Error", MB_OK);
ExitProcess(dw);
}

plese inform me if i am doing any mistakes Confused | :confused: Thumbs Down | :thumbsdown:
AnswerRe: GetVolumeInformation not giving any information its return error code 123 [modified] Pin
_AnsHUMAN_ 14-Apr-09 23:32
_AnsHUMAN_ 14-Apr-09 23:32 
GeneralRe: GetVolumeInformation not giving any information its return error code 123 Pin
chandrakar ashish14-Apr-09 23:48
chandrakar ashish14-Apr-09 23:48 
GeneralRe: GetVolumeInformation not giving any information its return error code 123 Pin
_AnsHUMAN_ 15-Apr-09 0:03
_AnsHUMAN_ 15-Apr-09 0:03 
QuestionRe: GetVolumeInformation not giving any information its return error code 123 Pin
David Crow15-Apr-09 4:30
David Crow15-Apr-09 4:30 
AnswerRe: GetVolumeInformation not giving any information its return error code 123 Pin
binyo665-Jun-09 12:46
binyo665-Jun-09 12:46 
QuestionThemes in MFC - pls help Pin
Tomas(cz)14-Apr-09 22:49
Tomas(cz)14-Apr-09 22:49 
QuestionNot able to Debug SetFont in Activex control. Pin
girishog14-Apr-09 22:15
girishog14-Apr-09 22:15 
AnswerRe: Not able to Debug SetFont in Activex control. Pin
KarstenK14-Apr-09 22:33
mveKarstenK14-Apr-09 22:33 
QuestionProblem with Socket Pin
Abhijit D. Babar14-Apr-09 21:51
Abhijit D. Babar14-Apr-09 21:51 
AnswerRe: Problem with Socket Pin
Divyang Mithaiwala14-Apr-09 22:31
Divyang Mithaiwala14-Apr-09 22:31 
AnswerRe: Problem with Socket Pin
KarstenK14-Apr-09 22:36
mveKarstenK14-Apr-09 22:36 
AnswerRe: Problem with Socket Pin
ParagPatel14-Apr-09 22:45
ParagPatel14-Apr-09 22:45 
GeneralRe: Problem with Socket Pin
Abhijit D. Babar14-Apr-09 22:55
Abhijit D. Babar14-Apr-09 22:55 
GeneralRe: Problem with Socket Pin
ThatsAlok15-Apr-09 0:18
ThatsAlok15-Apr-09 0:18 
GeneralRe: Problem with Socket Pin
ParagPatel15-Apr-09 0:22
ParagPatel15-Apr-09 0:22 
GeneralRe: Problem with Socket Pin
Abhijit D. Babar16-Apr-09 20:53
Abhijit D. Babar16-Apr-09 20:53 
GeneralRe: Problem with Socket Pin
ParagPatel25-Apr-09 1:52
ParagPatel25-Apr-09 1:52 

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.