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

Managed C++/CLI

 
AnswerCross Post Pin
led mike18-Nov-08 5:07
led mike18-Nov-08 5:07 
Question[Message Deleted] Pin
De@r17-Nov-08 3:49
De@r17-Nov-08 3:49 
AnswerRe: bubble sort to quick sort Pin
73Zeppelin17-Nov-08 6:15
73Zeppelin17-Nov-08 6:15 
QuestionSTL/CLR Pin
staticv17-Nov-08 1:31
staticv17-Nov-08 1:31 
QuestionSyntax Error Help: Switch Statement Code Pin
Olaman15-Nov-08 18:09
Olaman15-Nov-08 18:09 
AnswerRe: Syntax Error Help: Switch Statement Code Pin
Mark Salsbery16-Nov-08 6:49
Mark Salsbery16-Nov-08 6:49 
QuestionPostMessage fails in Windows Service [modified] Pin
Indivara13-Nov-08 14:29
professionalIndivara13-Nov-08 14:29 
GeneralRe: PostMessage fails in Windows Service Pin
Mark Salsbery15-Nov-08 12:32
Mark Salsbery15-Nov-08 12:32 
A window should still work in the service - it just won't be visible
to any logged on user (not that it was anyway). You should be able to debug
and check if the window was created successfully (is its HWND valid?).

It's certainly not necessary to post messages to a window for interthread
communication, and in a performance situation could be less than ideal.

I would use callbacks and/or regular function calls and proper thread synchronization.
There's no reason for a UI thread unless you have a UI.

Mark

Mark Salsbery
Microsoft MVP - Visual C++

Java | [Coffee]

GeneralRe: PostMessage fails in Windows Service Pin
Indivara16-Nov-08 14:28
professionalIndivara16-Nov-08 14:28 
GeneralRe: Solution Pin
Indivara18-Nov-08 18:04
professionalIndivara18-Nov-08 18:04 
AnswerRe: PostMessage fails in Windows Service Pin
Rob Graham21-Dec-08 4:19
Rob Graham21-Dec-08 4:19 
Questionbinding Many records to one textbox Pin
Member 294183412-Nov-08 13:24
Member 294183412-Nov-08 13:24 
AnswerRe: binding Many records to one textbox Pin
N a v a n e e t h12-Nov-08 17:31
N a v a n e e t h12-Nov-08 17:31 
QuestionSelf integrity check of my program Pin
stormydaniels7-Nov-08 15:40
stormydaniels7-Nov-08 15:40 
AnswerRe: Self integrity check of my program Pin
Mark Salsbery8-Nov-08 7:27
Mark Salsbery8-Nov-08 7:27 
QuestionMemory usage and dialogs Pin
dSolariuM1-Nov-08 21:06
dSolariuM1-Nov-08 21:06 
AnswerRe: Memory usage and dialogs Pin
Giorgi Dalakishvili2-Nov-08 4:27
mentorGiorgi Dalakishvili2-Nov-08 4:27 
AnswerRe: Memory usage and dialogs Pin
Mark Salsbery2-Nov-08 9:43
Mark Salsbery2-Nov-08 9:43 
AnswerRe: Memory usage and dialogs Pin
N a v a n e e t h2-Nov-08 17:32
N a v a n e e t h2-Nov-08 17:32 
AnswerRe: Memory usage and dialogs Pin
led mike5-Nov-08 4:22
led mike5-Nov-08 4:22 
QuestionQ: Changing Language with Thread::CurrenThread::CurrentUICulture Pin
jreisslein31-Oct-08 3:42
jreisslein31-Oct-08 3:42 
QuestionRe: Q: Changing Language with Thread::CurrenThread::CurrentUICulture Pin
led mike31-Oct-08 4:20
led mike31-Oct-08 4:20 
AnswerRe: Q: Changing Language with Thread::CurrenThread::CurrentUICulture Pin
jreisslein2-Nov-08 1:30
jreisslein2-Nov-08 1:30 
GeneralRe: Q: Changing Language with Thread::CurrenThread::CurrentUICulture Pin
jreisslein3-Nov-08 23:57
jreisslein3-Nov-08 23:57 
GeneralRe: Q: Changing Language with Thread::CurrenThread::CurrentUICulture Pin
led mike12-Nov-08 11:01
led mike12-Nov-08 11:01 

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.