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

C / C++ / MFC

 
GeneralRe: Matrix to transform a vector MA to MB Pin
ybenaabud25-Sep-08 11:35
ybenaabud25-Sep-08 11:35 
GeneralRe: Matrix to transform a vector MA to MB Pin
Rajesh R Subramanian28-Sep-08 19:32
professionalRajesh R Subramanian28-Sep-08 19:32 
GeneralRe: Matrix to transform a vector MA to MB Pin
CPallini28-Sep-08 21:50
mveCPallini28-Sep-08 21:50 
QuestionLoad a Bitmap from a file (char array) stored in memory? Pin
Cyrilix24-Sep-08 6:04
Cyrilix24-Sep-08 6:04 
AnswerRe: Load a Bitmap from a file (char array) stored in memory? Pin
led mike24-Sep-08 6:12
led mike24-Sep-08 6:12 
GeneralRe: Load a Bitmap from a file (char array) stored in memory? Pin
Cyrilix24-Sep-08 7:34
Cyrilix24-Sep-08 7:34 
GeneralRe: Load a Bitmap from a file (char array) stored in memory? Pin
Mark Salsbery24-Sep-08 9:44
Mark Salsbery24-Sep-08 9:44 
GeneralRe: Load a Bitmap from a file (char array) stored in memory? Pin
Cyrilix24-Sep-08 10:21
Cyrilix24-Sep-08 10:21 
I've been looking around for code examples and trying to figure out the concepts in my head, and somehow, I think I'm using the wrong function (CreateDIBitmap) for what I want to do, since I have to pass in a device context. From what I've read, the device context is like a drawing surface, but I have no need for a drawing surface, since I don't actually plan on drawing the bitmap to a window. All I want to do is get a BITMAP which can then have its pixels altered (which in my mind, would mean setting bits contained in my BITMAP.bmBits structure to different values). What do you guys think? Am I just really confused or onto something?

To clarify, my plan was the following:
-Load encrypted file and store it as an encrypted memory stream
-Decrypt memory stream and convert to BITMAP type
-Do image processing on BITMAP type
-Convert BITMAP back to a decrypted memory stream and encrypt
-Save encrypted memory stream to file
GeneralRe: Load a Bitmap from a file (char array) stored in memory? Pin
Mark Salsbery24-Sep-08 10:45
Mark Salsbery24-Sep-08 10:45 
GeneralRe: Load a Bitmap from a file (char array) stored in memory? Pin
Cyrilix24-Sep-08 12:02
Cyrilix24-Sep-08 12:02 
GeneralRe: Load a Bitmap from a file (char array) stored in memory? Pin
Mark Salsbery24-Sep-08 12:08
Mark Salsbery24-Sep-08 12:08 
GeneralRe: Load a Bitmap from a file (char array) stored in memory? Pin
Cyrilix24-Sep-08 14:10
Cyrilix24-Sep-08 14:10 
GeneralRe: Load a Bitmap from a file (char array) stored in memory? Pin
Mark Salsbery24-Sep-08 15:05
Mark Salsbery24-Sep-08 15:05 
Questionerror LNK2019 Pin
susanne124-Sep-08 5:12
susanne124-Sep-08 5:12 
QuestionRe: error LNK2019 Pin
CPallini24-Sep-08 5:25
mveCPallini24-Sep-08 5:25 
AnswerRe: error LNK2019 Pin
Hamid_RT24-Sep-08 6:11
Hamid_RT24-Sep-08 6:11 
Questioninvalid memory allocation not throwing exception but opening Windows message box? Pin
T.T.H.24-Sep-08 5:11
T.T.H.24-Sep-08 5:11 
AnswerRe: invalid memory allocation not throwing exception but opening Windows message box? Pin
T.T.H.30-Sep-08 4:12
T.T.H.30-Sep-08 4:12 
QuestionSend a file to an eMail address "silently" Pin
Joseph Marzbani24-Sep-08 4:46
Joseph Marzbani24-Sep-08 4:46 
AnswerRe: Send a file to an eMail address "silently" Pin
Iain Clarke, Warrior Programmer24-Sep-08 4:56
Iain Clarke, Warrior Programmer24-Sep-08 4:56 
GeneralRe: Send a file to an eMail address "silently" Pin
Joseph Marzbani24-Sep-08 5:03
Joseph Marzbani24-Sep-08 5:03 
GeneralRe: Send a file to an eMail address "silently" Pin
Perspx24-Sep-08 6:14
Perspx24-Sep-08 6:14 
AnswerRe: Send a file to an eMail address "silently" Pin
Joseph Marzbani24-Sep-08 7:06
Joseph Marzbani24-Sep-08 7:06 
GeneralRe: Send a file to an eMail address "silently" Pin
Perspx24-Sep-08 7:10
Perspx24-Sep-08 7:10 
GeneralRe: Send a file to an eMail address "silently" Pin
Joseph Marzbani24-Sep-08 7:37
Joseph Marzbani24-Sep-08 7:37 

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.