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

Managed C++/CLI

 
AnswerRe: CopyFile method and String conversions Pin
Covean25-Jan-10 5:13
Covean25-Jan-10 5:13 
AnswerRe: CopyFile method and String conversions Pin
Mark Salsbery25-Jan-10 6:24
Mark Salsbery25-Jan-10 6:24 
AnswerRe: CopyFile method and String conversions Pin
zhushaolin200531-Jan-10 17:41
zhushaolin200531-Jan-10 17:41 
Questionerror deploying setup file managed clr form application to another pc using vc++ 2005 Pin
ajaxswan23-Jan-10 8:35
ajaxswan23-Jan-10 8:35 
AnswerRe: error deploying setup file managed clr form application to another pc using vc++ 2005 Pin
dybs23-Jan-10 18:43
dybs23-Jan-10 18:43 
AnswerRe: error deploying setup file managed clr form application to another pc using vc++ 2005 Pin
neyerMat26-Jan-10 12:24
neyerMat26-Jan-10 12:24 
QuestionUsing 64-bit IAccessible from managed code Pin
Ivo Beltchev22-Jan-10 15:38
Ivo Beltchev22-Jan-10 15:38 
QuestionSaving Bitmap image data to HGLOBAL [modified] Pin
alleyes19-Jan-10 9:40
professionalalleyes19-Jan-10 9:40 
I'm trying to take existing Bitmaps images in memory and save (or copy)the bits data to an HGLOBAL. Is this possible using .NET classes? The Bitmap images in memory use the System::Drawing::Bitmap classes not the GDI+ version. I can use some of the GDI+ methods if needed but wanted to state the Images originate from the non GDI+ kind.

I've tried the LockBits function but the data that is extracted does not appear proper when viewed in the debugger. I think it's missing the BITMAPINFOHEADER data.

Has anyone done anything like this? It's sort of a reverse of creating an image starting from HGLOBAL and going through the steps to the resulting image.

modified on Tuesday, January 19, 2010 4:28 PM

GeneralRe: Saving Bitmap image data to HGLOBAL [modified] Pin
Andreoli Carlo19-Jan-10 21:00
professionalAndreoli Carlo19-Jan-10 21:00 
QuestionRe: Saving Bitmap image data to HGLOBAL Pin
alleyes20-Jan-10 1:38
professionalalleyes20-Jan-10 1:38 
AnswerRe: Saving Bitmap image data to HGLOBAL Pin
Andreoli Carlo20-Jan-10 3:17
professionalAndreoli Carlo20-Jan-10 3:17 
GeneralRe: Saving Bitmap image data to HGLOBAL Pin
alleyes20-Jan-10 3:52
professionalalleyes20-Jan-10 3:52 
GeneralRe: Saving Bitmap image data to HGLOBAL Pin
alleyes20-Jan-10 5:27
professionalalleyes20-Jan-10 5:27 
AnswerRe: Saving Bitmap image data to HGLOBAL Pin
Mark Salsbery20-Jan-10 7:01
Mark Salsbery20-Jan-10 7:01 
GeneralRe: Saving Bitmap image data to HGLOBAL Pin
alleyes20-Jan-10 7:08
professionalalleyes20-Jan-10 7:08 
GeneralRe: Saving Bitmap image data to HGLOBAL Pin
Mark Salsbery20-Jan-10 7:18
Mark Salsbery20-Jan-10 7:18 
GeneralRe: Saving Bitmap image data to HGLOBAL Pin
alleyes20-Jan-10 7:29
professionalalleyes20-Jan-10 7:29 
GeneralRe: Saving Bitmap image data to HGLOBAL Pin
Mark Salsbery20-Jan-10 7:36
Mark Salsbery20-Jan-10 7:36 
GeneralRe: Saving Bitmap image data to HGLOBAL Pin
alleyes20-Jan-10 7:48
professionalalleyes20-Jan-10 7:48 
GeneralRe: Saving Bitmap image data to HGLOBAL Pin
Mark Salsbery20-Jan-10 8:03
Mark Salsbery20-Jan-10 8:03 
GeneralRe: Saving Bitmap image data to HGLOBAL [modified] Pin
alleyes20-Jan-10 8:34
professionalalleyes20-Jan-10 8:34 
GeneralRe: Saving Bitmap image data to HGLOBAL Pin
alleyes20-Jan-10 9:17
professionalalleyes20-Jan-10 9:17 
GeneralRe: Saving Bitmap image data to HGLOBAL Pin
Mark Salsbery20-Jan-10 9:42
Mark Salsbery20-Jan-10 9:42 
GeneralRe: Saving Bitmap image data to HGLOBAL Pin
alleyes20-Jan-10 9:58
professionalalleyes20-Jan-10 9:58 
GeneralRe: Saving Bitmap image data to HGLOBAL Pin
Mark Salsbery20-Jan-10 10:07
Mark Salsbery20-Jan-10 10:07 

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.