Click here to Skip to main content
15,914,111 members
Home / Discussions / ATL / WTL / STL
   

ATL / WTL / STL

 
QuestionHow do i pass an array of long to the method of COM? Pin
viral_umang@hotmail.com30-Apr-07 19:10
viral_umang@hotmail.com30-Apr-07 19:10 
AnswerRe: How do i pass an array of long to the method of COM? Pin
led mike1-May-07 4:36
led mike1-May-07 4:36 
AnswerRe: How do i pass an array of long to the method of COM? Pin
lafleon2-May-07 10:23
lafleon2-May-07 10:23 
AnswerRe: How do i pass an array of long to the method of COM? Pin
Stephen Hewitt2-May-07 16:09
Stephen Hewitt2-May-07 16:09 
QuestionDetect WM_INPUTLANGCHANGE in IDeskBand in IE (ATL) Pin
AndrejPav30-Apr-07 15:44
AndrejPav30-Apr-07 15:44 
QuestionDownloading CAB file Pin
rana7426-Apr-07 19:12
rana7426-Apr-07 19:12 
AnswerRe: Downloading CAB file Pin
Michael Dunn28-Apr-07 18:36
sitebuilderMichael Dunn28-Apr-07 18:36 
QuestionBitmaps and com interop Pin
arcticbrew26-Apr-07 14:37
arcticbrew26-Apr-07 14:37 
I am working in the compact framework.

I have an ATL object that needs to draw on a bitmap. I need to pass the bitmap to a C# program and display it. We have tried creating the bitmap in C# with GDI methods then used the APIs for CompatibleDCs, selectobject, getHdc, etc and passed the DC to the ATL object. On returning it from the ATL object I get ExceptionHandling errors relating to memory when I try to get a bitmap I can use in managed code. We have been able to pass the DeviceContext and draw directly on it but I want to retrieve a bitmap that I can cache as a member variable in my class.

Has anyone successfully passed bitmaps back and forth between managed and unmanaged code?
AnswerRe: Bitmaps and com interop Pin
led mike27-Apr-07 4:28
led mike27-Apr-07 4:28 
GeneralRe: Bitmaps and com interop Pin
arcticbrew27-Apr-07 6:57
arcticbrew27-Apr-07 6:57 
GeneralRe: Bitmaps and com interop Pin
led mike27-Apr-07 7:07
led mike27-Apr-07 7:07 
GeneralRe: Bitmaps and com interop Pin
arcticbrew27-Apr-07 7:37
arcticbrew27-Apr-07 7:37 
Questionpriority queue with time limit Pin
charian092024-Apr-07 16:41
charian092024-Apr-07 16:41 
AnswerRe: priority queue with time limit Pin
Paul Conrad4-May-07 13:51
professionalPaul Conrad4-May-07 13:51 
AnswerRe: priority queue with time limit Pin
Michael Sadlon24-May-07 14:39
Michael Sadlon24-May-07 14:39 
QuestionDeveloping components with a non-admin account Pin
dburns24-Apr-07 4:22
dburns24-Apr-07 4:22 
AnswerRe: Developing components with a non-admin account Pin
led mike24-Apr-07 4:58
led mike24-Apr-07 4:58 
GeneralRe: Developing components with a non-admin account Pin
dburns24-Apr-07 5:08
dburns24-Apr-07 5:08 
GeneralRe: Developing components with a non-admin account Pin
led mike24-Apr-07 5:25
led mike24-Apr-07 5:25 
GeneralRe: Developing components with a non-admin account Pin
dburns24-Apr-07 5:33
dburns24-Apr-07 5:33 
GeneralRe: Developing components with a non-admin account Pin
led mike24-Apr-07 6:43
led mike24-Apr-07 6:43 
GeneralRe: Developing components with a non-admin account Pin
Stuart Dootson24-Apr-07 6:54
professionalStuart Dootson24-Apr-07 6:54 
GeneralRe: Developing components with a non-admin account Pin
led mike24-Apr-07 6:59
led mike24-Apr-07 6:59 
AnswerRe: Developing components with a non-admin account Pin
Stuart Dootson24-Apr-07 6:50
professionalStuart Dootson24-Apr-07 6:50 
AnswerRe: Developing components with a non-admin account Pin
Stuart Dootson24-Apr-07 7:03
professionalStuart Dootson24-Apr-07 7:03 

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.