Click here to Skip to main content
15,885,365 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: about Qt4 Pin
_AnsHUMAN_ 15-Apr-09 0:29
_AnsHUMAN_ 15-Apr-09 0:29 
AnswerRe: about Qt4 Pin
Rajesh R Subramanian15-Apr-09 1:46
professionalRajesh R Subramanian15-Apr-09 1:46 
JokeRe: about Qt4 Pin
CPallini15-Apr-09 2:17
mveCPallini15-Apr-09 2:17 
QuestionOpen a URL with extra information (# character) Pin
lolividalgil14-Apr-09 22:47
lolividalgil14-Apr-09 22:47 
AnswerRe: Open a URL with extra information (# character) Pin
Stuart Dootson14-Apr-09 23:32
professionalStuart Dootson14-Apr-09 23:32 
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 
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 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 
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 

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.