Click here to Skip to main content
16,008,469 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: How to? Pin
Michael P Butler29-Nov-01 23:03
Michael P Butler29-Nov-01 23:03 
GeneralBitmap Serialisation Pin
Chambers29-Nov-01 22:45
Chambers29-Nov-01 22:45 
GeneralRe: Bitmap Serialisation Pin
Christian Graus29-Nov-01 23:52
protectorChristian Graus29-Nov-01 23:52 
GeneralRe: Bitmap Serialisation Pin
Chambers30-Nov-01 1:05
Chambers30-Nov-01 1:05 
GeneralRe: Bitmap Serialisation????? Pin
Chambers30-Nov-01 6:41
Chambers30-Nov-01 6:41 
GeneralRe: Bitmap Serialisation????? Pin
Ganesh Ramaswamy30-Nov-01 12:29
Ganesh Ramaswamy30-Nov-01 12:29 
GeneralRe: Bitmap Serialisation????? Pin
Christian Graus30-Nov-01 12:35
protectorChristian Graus30-Nov-01 12:35 
GeneralRe: Bitmap Serialisation? Pin
Chambers1-Dec-01 8:59
Chambers1-Dec-01 8:59 
Hi all, OK I`ve managed to get it going, and am just seeking a little reassurance. What I`ve done is created a (fully filled out) BITMAPINFO structure, and a (filled it out manually) BITMAPFILEHEADER structure. I`ve then used

ar.Write(theBITMAPFILEHEADER, sizeof(BITMAPFILEHEADER));
ar.Write(theBITMAPINFO, sizeof(BITMAPINFO));
ar.Write(pBits, theBITMAPINFO->bmiHeader.biSizeImage);


Now, I seek reassurance cos when I compare an image that exists on my HD, to an identical copy that I saved using my app, the newly saved image is 2 bytes shorter (in at least one case). I`ve tried re-loading the new image in paint, everything seems fine, do I just leave it? Or is this a problem that could potentially send my computer kaput?

Cheers all for your responses,
Alan.Big Grin | :-D

"When I left you I was but the learner, now I am the Master" - Darth VaderMad | :mad:
GeneralDrag & Drop to another application Pin
Michael Groeger29-Nov-01 22:34
Michael Groeger29-Nov-01 22:34 
GeneralRe: Drag & Drop to another application Pin
Michael P Butler29-Nov-01 22:51
Michael P Butler29-Nov-01 22:51 
GeneralRe: Drag & Drop to another application Pin
Michael Groeger2-Dec-01 21:26
Michael Groeger2-Dec-01 21:26 
GeneralMenu selection in an exploreur-like app Pin
Jerome Conus29-Nov-01 20:12
Jerome Conus29-Nov-01 20:12 
GeneralCComboBox----Right Alligned Property Pin
Ahmad9929-Nov-01 19:48
Ahmad9929-Nov-01 19:48 
GeneralEmail Pin
Ralfy29-Nov-01 18:32
Ralfy29-Nov-01 18:32 
GeneralRe: Email Pin
Bernhard29-Nov-01 19:42
Bernhard29-Nov-01 19:42 
GeneralCreate CTime with myself Day of Week Pin
Eugene Pustovoyt29-Nov-01 18:17
Eugene Pustovoyt29-Nov-01 18:17 
GeneralRe: Create CTime with myself Day of Week Pin
Michael P Butler29-Nov-01 23:13
Michael P Butler29-Nov-01 23:13 
GeneralRe: Create CTime with myself Day of Week Pin
Eugene Pustovoyt30-Nov-01 0:02
Eugene Pustovoyt30-Nov-01 0:02 
GeneralRe: Create CTime with myself Day of Week Pin
(Steven Hicks)n+130-Nov-01 4:51
(Steven Hicks)n+130-Nov-01 4:51 
QuestionHow to get and display the timecode in audio? Pin
chen29-Nov-01 18:14
chen29-Nov-01 18:14 
GeneralRe: Windows Resizing Pin
Christian Graus29-Nov-01 17:56
protectorChristian Graus29-Nov-01 17:56 
GeneralRe: Windows Resizing Pin
Mark Donkers29-Nov-01 18:01
Mark Donkers29-Nov-01 18:01 
GeneralRe: Windows Resizing Pin
Nish Nishant29-Nov-01 18:03
sitebuilderNish Nishant29-Nov-01 18:03 
GeneralRe: Windows Resizing Pin
Mark Donkers29-Nov-01 18:32
Mark Donkers29-Nov-01 18:32 
GeneralRe: Windows Resizing Pin
Christian Graus29-Nov-01 23:57
protectorChristian Graus29-Nov-01 23:57 

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.