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

C / C++ / MFC

 
GeneralRe: Will the destructor called in case of excetion occures, in this case Pin
ptr_Electron24-Feb-09 1:30
ptr_Electron24-Feb-09 1:30 
Questionhow to display image in static control of Dialog Pin
hemlat24-Feb-09 0:02
hemlat24-Feb-09 0:02 
AnswerRe: how to display image in static control of Dialog Pin
Nishad S24-Feb-09 0:05
Nishad S24-Feb-09 0:05 
GeneralRe: how to display image in static control of Dialog Pin
hemlat24-Feb-09 0:40
hemlat24-Feb-09 0:40 
GeneralRe: how to display image in static control of Dialog Pin
Nishad S24-Feb-09 0:56
Nishad S24-Feb-09 0:56 
AnswerRe: how to display image in static control of Dialog Pin
Hamid_RT24-Feb-09 0:17
Hamid_RT24-Feb-09 0:17 
GeneralRe: how to display image in static control of Dialog Pin
hemlat24-Feb-09 0:42
hemlat24-Feb-09 0:42 
QuestionProblem with GDI+ Bitmap::Save() function. Pin
Sameerkumar Namdeo23-Feb-09 23:55
Sameerkumar Namdeo23-Feb-09 23:55 
Assume prfimg Bitmap is proper.

EncoderParameters pEncoderParameters;
pEncoderParameters.Count = 1;
pEncoderParameters.Parameter[0].Guid = EncoderCompression;
pEncoderParameters.Parameter[0].Type = EncoderParameterValueTypeLong;
pEncoderParameters.Parameter[0].NumberOfValues = 1;

// Save the image as a tiff with RLE compression 
ULONG compression = EncoderValueCompressionRle;
pEncoderParameters.Parameter[0].Value = &compression;
	
GetEncoderClsid(L"image/tiff", &encoderClsid);
st = prfimg->Save(L"i:\\m\\img.tif", &encoderClsid, &pEncoderParameters);


getting value of st as InvalidParameter and the image is not saved properly on disk(saved image size on disk is 1KB)
Please tell if something more needs to be done to save tif image with Rle compression.
Other compression options gives the same InvalidParameter result.

Thanks and Regards.
QuestionHow read registry key value on Xp64bit OS Pin
Sethuraman.K23-Feb-09 23:45
Sethuraman.K23-Feb-09 23:45 
AnswerRe: How read registry key value on Xp64bit OS Pin
«_Superman_»24-Feb-09 1:02
professional«_Superman_»24-Feb-09 1:02 
GeneralRe: How read registry key value on Xp64bit OS Pin
Sethuraman.K24-Feb-09 1:18
Sethuraman.K24-Feb-09 1:18 
GeneralRe: How read registry key value on Xp64bit OS Pin
«_Superman_»24-Feb-09 1:20
professional«_Superman_»24-Feb-09 1:20 
GeneralRe: How read registry key value on Xp64bit OS Pin
Sethuraman.K24-Feb-09 2:04
Sethuraman.K24-Feb-09 2:04 
QuestionTimer Problem Pin
NewVC++23-Feb-09 23:38
NewVC++23-Feb-09 23:38 
AnswerRe: Timer Problem Pin
Code-o-mat23-Feb-09 23:45
Code-o-mat23-Feb-09 23:45 
QuestionRe: Timer Problem Pin
CPallini23-Feb-09 23:51
mveCPallini23-Feb-09 23:51 
AnswerRe: Timer Problem [modified] Pin
NewVC++24-Feb-09 0:12
NewVC++24-Feb-09 0:12 
QuestionRe: Timer Problem Pin
CPallini24-Feb-09 0:26
mveCPallini24-Feb-09 0:26 
AnswerRe: Timer Problem Pin
SandipG 24-Feb-09 1:54
SandipG 24-Feb-09 1:54 
GeneralRe: Timer Problem Pin
CPallini24-Feb-09 2:17
mveCPallini24-Feb-09 2:17 
AnswerRe: Timer Problem Pin
Hamid_RT24-Feb-09 0:19
Hamid_RT24-Feb-09 0:19 
QuestionHow do I read the contents of a directory? Pin
Megidolaon23-Feb-09 22:42
Megidolaon23-Feb-09 22:42 
AnswerRe: How do I read the contents of a directory? Pin
«_Superman_»23-Feb-09 22:51
professional«_Superman_»23-Feb-09 22:51 
AnswerRe: How do I read the contents of a directory? Pin
Hamid_RT23-Feb-09 23:18
Hamid_RT23-Feb-09 23:18 
AnswerRe: How do I read the contents of a directory? Pin
Megidolaon24-Feb-09 2:21
Megidolaon24-Feb-09 2:21 

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.