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

Managed C++/CLI

 
GeneralRe: Communicating with main GUI thread from worker thread Pin
dybs15-Sep-09 18:54
dybs15-Sep-09 18:54 
GeneralRe: Communicating with main GUI thread from worker thread Pin
LetsMond23-Sep-09 3:49
LetsMond23-Sep-09 3:49 
GeneralRe: Communicating with main GUI thread from worker thread Pin
Luc Pattyn23-Sep-09 4:01
sitebuilderLuc Pattyn23-Sep-09 4:01 
GeneralRe: Communicating with main GUI thread from worker thread Pin
LetsMond23-Sep-09 4:13
LetsMond23-Sep-09 4:13 
GeneralRe: Communicating with main GUI thread from worker thread Pin
Luc Pattyn23-Sep-09 6:47
sitebuilderLuc Pattyn23-Sep-09 6:47 
GeneralRe: Communicating with main GUI thread from worker thread Pin
LetsMond23-Sep-09 7:20
LetsMond23-Sep-09 7:20 
GeneralRe: Communicating with main GUI thread from worker thread Pin
Luc Pattyn23-Sep-09 6:51
sitebuilderLuc Pattyn23-Sep-09 6:51 
QuestionBitmap-Stride a multiple of 4? [modified] Pin
cherrymotion11-Sep-09 2:29
cherrymotion11-Sep-09 2:29 
Hi there,
In my project I'm creating a Bitmap from a char-ptr (as Scan0 IntPtr).
Now the bitmap (->the char ptr) gets a changed size as a single region of the image
ist cut out. If the stride is not a multiple of four, the createbitmap function causes
an exception! Now what can I do? I have no possiblity to change the incoming char-ptr
(because I get it sent on my interface).
If I calculate the next %4 stride value and use it, my bitmap isn't displayed correctly.

BTW: It's a monochrome image with a manually assigned MonoPalette, 1 BytePerPixel: Format8bppIndexed

Thanks for always helping me so much! Special thanks to NAVANEETH!Rose | [Rose]


************************************************
A little side question:
From time to time my windows forms application is hanging in a strange way. I make a snapshot of a bitmap
and display it in one of the two picture boxes. Now when I drag my mouse down on the forms, i. e. to maximize/minimize
the form, there is no reaction and the application "hangs".
My app is not run as an exe, it's loaded as a DLL from a superior application.
It also occurs, that I am in the "main app" to calculate the image, then call the forms DLL to display it, but I do not
get the "forms application" (although it is loaded) popped up from the task bar. Usually I have to click on the "forms app"
in the taskbar -> then send an image from the main app -> and then the forms project gets popped up (you see, by aiming to
popping it up before). But that is crap and shouldn't behave that way!

modified on Friday, September 11, 2009 8:39 AM

AnswerRe: Bitmap-Stride a multiple of 4? Pin
Mark Salsbery11-Sep-09 6:10
Mark Salsbery11-Sep-09 6:10 
QuestionCalling managed function from unmanaged function Pin
santoshkaif8-Sep-09 9:59
santoshkaif8-Sep-09 9:59 
AnswerRe: Calling managed function from unmanaged function Pin
N a v a n e e t h8-Sep-09 16:31
N a v a n e e t h8-Sep-09 16:31 
AnswerRe: Calling managed function from unmanaged function [modified] Pin
santoshkaif8-Sep-09 17:52
santoshkaif8-Sep-09 17:52 
GeneralRe: Calling managed function from unmanaged function Pin
N a v a n e e t h9-Sep-09 5:49
N a v a n e e t h9-Sep-09 5:49 
QuestionRe: Calling managed function from unmanaged function [modified] Pin
santoshkaif9-Sep-09 8:18
santoshkaif9-Sep-09 8:18 
AnswerRe: Calling managed function from unmanaged function Pin
N a v a n e e t h9-Sep-09 16:35
N a v a n e e t h9-Sep-09 16:35 
QuestionRe: Calling managed function from unmanaged function Pin
santoshkaif10-Sep-09 0:04
santoshkaif10-Sep-09 0:04 
AnswerRe: Calling managed function from unmanaged function Pin
santoshkaif10-Sep-09 0:16
santoshkaif10-Sep-09 0:16 
AnswerRe: Calling managed function from unmanaged function Pin
N a v a n e e t h10-Sep-09 6:08
N a v a n e e t h10-Sep-09 6:08 
GeneralRe: Calling managed function from unmanaged function [modified] Pin
santoshkaif10-Sep-09 7:21
santoshkaif10-Sep-09 7:21 
GeneralRe: Calling managed function from unmanaged function Pin
N a v a n e e t h10-Sep-09 16:10
N a v a n e e t h10-Sep-09 16:10 
GeneralRe: Calling managed function from unmanaged function Pin
santoshkaif10-Sep-09 18:43
santoshkaif10-Sep-09 18:43 
QuestionRe: Calling managed function from unmanaged function Pin
santoshkaif21-Sep-09 2:20
santoshkaif21-Sep-09 2:20 
AnswerRe: Calling managed function from unmanaged function Pin
N a v a n e e t h22-Sep-09 15:31
N a v a n e e t h22-Sep-09 15:31 
QuestionMultiple Forms in VS2005 Pin
rtshield6-Sep-09 15:17
rtshield6-Sep-09 15:17 
AnswerRe: Multiple Forms in VS2005 Pin
N a v a n e e t h6-Sep-09 15:58
N a v a n e e t h6-Sep-09 15:58 

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.