Click here to Skip to main content
15,887,854 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Pls help me...tten Pin
Maximilien24-Oct-09 3:28
Maximilien24-Oct-09 3:28 
Questionhow to read contacts properties in rtf file Pin
santhosh-padamatinti23-Oct-09 21:00
santhosh-padamatinti23-Oct-09 21:00 
AnswerRe: how to read contacts properties in rtf file Pin
Richard MacCutchan23-Oct-09 21:29
mveRichard MacCutchan23-Oct-09 21:29 
GeneralRe: how to read contacts properties in rtf file Pin
santhosh-padamatinti23-Oct-09 21:37
santhosh-padamatinti23-Oct-09 21:37 
AnswerRe: how to read contacts properties in rtf file Pin
Rajesh R Subramanian23-Oct-09 23:17
professionalRajesh R Subramanian23-Oct-09 23:17 
QuestionConvert 24 bit to 16 bit bmp Pin
Game-point23-Oct-09 18:43
Game-point23-Oct-09 18:43 
QuestionRe: Convert 24 bit to 16 bit bmp Pin
CPallini23-Oct-09 23:49
mveCPallini23-Oct-09 23:49 
AnswerRe: Convert 24 bit to 16 bit bmp Pin
Game-point25-Oct-09 17:48
Game-point25-Oct-09 17:48 
CPallini wrote :
What have you tried? Why is it all fake?




Thanks for your replay Sir ...i tried means ...i build some sample application from codeproject but its not creating 16 bit bmp ....

this is my workout


actually this application do's Converting DCM 2 BMP ... i can able to convert 8 and 24 bit ..its creating perfectly ..using DCMTK package but 16 bit bmp its having problem ....

this is my code snippet

bool CxImageDCM::LoadDCM(const TCHAR* filename)
{  
	DcmFileFormat *dfile = new DcmFileFormat();
    OFCondition cond = dfile->loadFile(filename, EXS_Unknown,
		EGL_withoutGL,DCM_MaxReadLength,OFFalse);
	
	if (cond.bad()) {
		AfxMessageBox(cond.text());
    }
	
	E_TransferSyntax xfer = dfile->getDataset()->getOriginalXfer();
    DicomImage *di = new DicomImage(dfile, xfer, 
		CIF_AcrNemaCompatibility ,
		0, 1);
	
	if (di->getStatus() != EIS_Normal)
        AfxMessageBox(DicomImage::getString(di->getStatus()));
	di->writeBMP("D:\\Esm.bmp",8,0);
	return CxImage::Load("D:\\from_dicom.bmp",CXIMAGE_FORMAT_BMP);
	
	//return 0; // Code 
}



Please give me your valuable suggestion ....sir i am waiting for your replay ..

Thanks
GeneralRe: Convert 24 bit to 16 bit bmp Pin
CPallini26-Oct-09 1:04
mveCPallini26-Oct-09 1:04 
QuestionHow to Wipe/clean a disk securily Pin
Shiv Murti Pal23-Oct-09 18:40
Shiv Murti Pal23-Oct-09 18:40 
AnswerRe: How to Wipe/clean a disk securily Pin
dxlee24-Oct-09 6:38
dxlee24-Oct-09 6:38 
GeneralRe: How to Wipe/clean a disk securily Pin
Rozis24-Oct-09 14:32
Rozis24-Oct-09 14:32 
GeneralRe: How to Wipe/clean a disk securily Pin
dxlee25-Oct-09 2:41
dxlee25-Oct-09 2:41 
Questionno matching symbolic information found Pin
Benjamin Bruno23-Oct-09 18:34
Benjamin Bruno23-Oct-09 18:34 
AnswerRe: no matching symbolic information found Pin
theCPkid23-Oct-09 19:21
theCPkid23-Oct-09 19:21 
GeneralRe: no matching symbolic information found Pin
asecplusvc25-Oct-09 0:47
asecplusvc25-Oct-09 0:47 
Questioncan we make class cant be derived at all? Pin
G Haranadh23-Oct-09 16:38
G Haranadh23-Oct-09 16:38 
AnswerRe: can we make class cant be derived at all? Pin
theCPkid23-Oct-09 19:07
theCPkid23-Oct-09 19:07 
GeneralRe: can we make class cant be derived at all? Pin
Rajesh R Subramanian23-Oct-09 21:15
professionalRajesh R Subramanian23-Oct-09 21:15 
GeneralRe: can we make class cant be derived at all? Pin
theCPkid23-Oct-09 21:46
theCPkid23-Oct-09 21:46 
GeneralRe: can we make class cant be derived at all? PinPopular
Rajesh R Subramanian23-Oct-09 21:53
professionalRajesh R Subramanian23-Oct-09 21:53 
GeneralRe: can we make class cant be derived at all? Pin
theCPkid23-Oct-09 22:00
theCPkid23-Oct-09 22:00 
GeneralRe: can we make class cant be derived at all? Pin
Rajesh R Subramanian23-Oct-09 22:14
professionalRajesh R Subramanian23-Oct-09 22:14 
GeneralRe: can we make class cant be derived at all? Pin
theCPkid23-Oct-09 22:25
theCPkid23-Oct-09 22:25 
GeneralRe: can we make class cant be derived at all? Pin
Rajesh R Subramanian23-Oct-09 22:36
professionalRajesh R Subramanian23-Oct-09 22:36 

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.