Click here to Skip to main content
15,897,371 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: How to create a new folder compresed?? Pin
ThatsAlok25-Aug-08 1:18
ThatsAlok25-Aug-08 1:18 
GeneralRe: How to create a new folder compresed?? Pin
Perspx25-Aug-08 1:32
Perspx25-Aug-08 1:32 
GeneralRe: How to create a new folder compresed?? Pin
ThatsAlok25-Aug-08 1:50
ThatsAlok25-Aug-08 1:50 
GeneralRe: How to create a new folder compresed?? Pin
bosfan25-Aug-08 2:46
bosfan25-Aug-08 2:46 
AnswerRe: How to create a new folder compresed?? Pin
Perspx25-Aug-08 3:06
Perspx25-Aug-08 3:06 
GeneralRe: How to create a new folder compresed?? Pin
bosfan25-Aug-08 4:55
bosfan25-Aug-08 4:55 
AnswerRe: How to create a new folder compresed?? Pin
Perspx25-Aug-08 5:23
Perspx25-Aug-08 5:23 
GeneralRe: How to create a new folder compresed?? Pin
bosfan25-Aug-08 5:44
bosfan25-Aug-08 5:44 
Hi,
i try this in Windows XP Professional SP2, i have a admin rights!

Here a sample from my code:
if(FALSE == (bTrue = DeviceIoControl(
	(HANDLE) hFile,			// handle to file or directory
	FSCTL_SET_COMPRESSION,		// dwIoControlCode
	(LPVOID)COMPRESSION_FORMAT_DEFAULT,// input buffer
	sizeof(USHORT),			// size of input buffer
	NULL,				// lpOutBuffer
	0,				// nOutBufferSize
	(LPDWORD) lpBytesReturned,	// number of bytes returned
	NULL				// OVERLAPPED structure
	)))
{
	dwError = GetLastError();
}


thanks
termal
QuestionRe: How to create a new folder compresed?? Pin
Perspx25-Aug-08 5:52
Perspx25-Aug-08 5:52 
AnswerRe: How to create a new folder compresed?? Pin
bosfan25-Aug-08 21:01
bosfan25-Aug-08 21:01 
GeneralRe: How to create a new folder compresed?? Pin
bosfan26-Aug-08 1:17
bosfan26-Aug-08 1:17 
QuestionSHChangeNotifyRegister Pin
NewVC++24-Aug-08 21:25
NewVC++24-Aug-08 21:25 
AnswerRe: SHChangeNotifyRegister Pin
_AnsHUMAN_ 24-Aug-08 21:40
_AnsHUMAN_ 24-Aug-08 21:40 
GeneralRe: SHChangeNotifyRegister Pin
NewVC++24-Aug-08 21:46
NewVC++24-Aug-08 21:46 
GeneralRe: SHChangeNotifyRegister - > Can't search myself Pin
_AnsHUMAN_ 24-Aug-08 21:52
_AnsHUMAN_ 24-Aug-08 21:52 
QuestionHow to convert string to array of bytes? Pin
kapardhi24-Aug-08 21:07
kapardhi24-Aug-08 21:07 
GeneralRepost - please ignore. Pin
CPallini24-Aug-08 21:14
mveCPallini24-Aug-08 21:14 
GeneralRe: Repost - please ignore. Pin
kapardhi24-Aug-08 21:32
kapardhi24-Aug-08 21:32 
GeneralRe: Repost - please ignore. Pin
CPallini24-Aug-08 21:44
mveCPallini24-Aug-08 21:44 
GeneralRe: Repost - please ignore. Pin
ThatsAlok25-Aug-08 1:28
ThatsAlok25-Aug-08 1:28 
GeneralRe: Repost - please ignore. Pin
ThatsAlok25-Aug-08 1:26
ThatsAlok25-Aug-08 1:26 
AnswerRe: How to convert string to array of bytes? [modified] Pin
toxcct24-Aug-08 21:27
toxcct24-Aug-08 21:27 
GeneralRe: How to convert string to array of bytes? Pin
kapardhi24-Aug-08 21:38
kapardhi24-Aug-08 21:38 
GeneralRe: How to convert string to array of bytes? Pin
toxcct24-Aug-08 21:43
toxcct24-Aug-08 21:43 
GeneralRe: How to convert string to array of bytes? Pin
CPallini24-Aug-08 21:47
mveCPallini24-Aug-08 21:47 

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.