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

Managed C++/CLI

 
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 
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 
I guess I failed to explain better.

I have one HGLOBAL. This is used to create an image of type System::Drawing::Bitmap.

HGLOBAL hdl = GloabalAlloc(BitmapImageSize);

PBITMMAPINFOHEADER bmih = (PBITMAPINFOHEADER)GlobalLock(hdl);

LPDWORD ImgBits = (LPDWORD)(bmih + sizeof(BITMAPINFOHEADER));
....
....
....

StretchDIBits()......

That gives me an image from an HGLOBAL

If I had an image already in memory, from some other means (loaded from file maybe), I want to then point that image to the HGLOBAL.

Hope that was clearer
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 
GeneralRe: Saving Bitmap image data to HGLOBAL Pin
alleyes20-Jan-10 10:09
professionalalleyes20-Jan-10 10:09 
GeneralRe: Saving Bitmap image data to HGLOBAL Pin
Mark Salsbery20-Jan-10 10:20
Mark Salsbery20-Jan-10 10:20 
GeneralRe: Saving Bitmap image data to HGLOBAL Pin
alleyes20-Jan-10 10:31
professionalalleyes20-Jan-10 10:31 
GeneralRe: Saving Bitmap image data to HGLOBAL Pin
alleyes20-Jan-10 10:45
professionalalleyes20-Jan-10 10:45 

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.