Click here to Skip to main content
15,914,642 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: CPP question Pin
Tomasz Sowinski12-Mar-02 23:17
Tomasz Sowinski12-Mar-02 23:17 
GeneralTools for detecting memory leaks Pin
Rad12-Mar-02 12:24
Rad12-Mar-02 12:24 
GeneralRe: Tools for detecting memory leaks Pin
Tim Smith12-Mar-02 12:35
Tim Smith12-Mar-02 12:35 
GeneralRe: Tools for detecting memory leaks Pin
Rick York12-Mar-02 14:51
mveRick York12-Mar-02 14:51 
GeneralRe: Tools for detecting memory leaks Pin
Nish Nishant12-Mar-02 16:14
sitebuilderNish Nishant12-Mar-02 16:14 
Generallistboxes Pin
12-Mar-02 11:55
suss12-Mar-02 11:55 
GeneralRe: listboxes Pin
Ravi Bhavnani12-Mar-02 11:59
professionalRavi Bhavnani12-Mar-02 11:59 
GeneralRe: How can I get the item text from other ListView Pin
Tim Smith12-Mar-02 10:33
Tim Smith12-Mar-02 10:33 
No you can't...

You see, another process doesn't have access to the memory you are passing to SendMessage. You are actually lucky your SendMessage isn't crashing the other application.

Now some messages such as WM_GETTEXT have code inside of GDI32 or USER32 (whatever) that handle this case for you. But, most messages don't have this. Generally, you shouldn't be sending messages to other application unless the message has been specifically designed to support inter-process sends.

Tim Smith

I know what you're thinking punk, you're thinking did he spell check this document? Well, to tell you the truth I kinda forgot myself in all this excitement. But being this here's CodeProject, the most powerful forums in the world and would blow your head clean off, you've got to ask yourself one question, Do I feel lucky? Well do ya punk?
Generalequal_range Pin
12-Mar-02 9:50
suss12-Mar-02 9:50 
GeneralRe: equal_range Pin
Joaquín M López Muñoz12-Mar-02 9:52
Joaquín M López Muñoz12-Mar-02 9:52 
QuestionFindResourceEx not working ??????? Pin
Wolfram Steinke12-Mar-02 9:33
Wolfram Steinke12-Mar-02 9:33 
AnswerRe: FindResourceEx not working ??????? Pin
Joaquín M López Muñoz12-Mar-02 9:50
Joaquín M López Muñoz12-Mar-02 9:50 
GeneralRe: FindResourceEx not working ??????? Pin
Wolfram Steinke12-Mar-02 10:15
Wolfram Steinke12-Mar-02 10:15 
QuestionI found 2 issues in ATL 7.0 Service projects: Should I put this somewhere here? Pin
Le centriste12-Mar-02 8:19
Le centriste12-Mar-02 8:19 
AnswerRe: I found 2 issues in ATL 7.0 Service projects: Should I put this somewhere here? Pin
Tomasz Sowinski12-Mar-02 8:57
Tomasz Sowinski12-Mar-02 8:57 
GeneralCFileDialog UNICODE concern Pin
12-Mar-02 8:12
suss12-Mar-02 8:12 
GeneralRe: CFileDialog UNICODE concern Pin
Joaquín M López Muñoz12-Mar-02 9:16
Joaquín M López Muñoz12-Mar-02 9:16 
GeneralRe: CFileDialog UNICODE concern Pin
12-Mar-02 10:55
suss12-Mar-02 10:55 
GeneralRe: CFileDialog UNICODE concern Pin
Joaquín M López Muñoz12-Mar-02 20:00
Joaquín M López Muñoz12-Mar-02 20:00 
GeneralRe: CFileDialog UNICODE concern Pin
13-Mar-02 5:00
suss13-Mar-02 5:00 
GeneralPrinting - size of font Pin
Wizard_0112-Mar-02 4:42
Wizard_0112-Mar-02 4:42 
GeneralRe: Printing - size of font Pin
Tomasz Sowinski12-Mar-02 4:56
Tomasz Sowinski12-Mar-02 4:56 
GeneralRe: Printing - size of font Pin
Tomasz Sowinski12-Mar-02 5:00
Tomasz Sowinski12-Mar-02 5:00 
GeneralRe: Printing - size of font Pin
Wizard_0112-Mar-02 5:02
Wizard_0112-Mar-02 5:02 
GeneralRe: Printing - size of font Pin
Tomasz Sowinski12-Mar-02 5:09
Tomasz Sowinski12-Mar-02 5:09 

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.