Click here to Skip to main content
15,888,984 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Questionspace complexity Pin
moathyy21-May-11 1:45
moathyy21-May-11 1:45 
AnswerRe: space complexity Pin
CPallini21-May-11 3:04
mveCPallini21-May-11 3:04 
AnswerRe: space complexity Pin
Stefan_Lang23-May-11 0:22
Stefan_Lang23-May-11 0:22 
QuestionHow to pass a window handle to another as command line argument. Pin
Nitheesh George20-May-11 22:24
Nitheesh George20-May-11 22:24 
AnswerRe: How to pass a window handle to another as command line argument. Pin
dasblinkenlight21-May-11 1:00
dasblinkenlight21-May-11 1:00 
AnswerRe: How to pass a window handle to another as command line argument. Pin
Richard MacCutchan21-May-11 1:49
mveRichard MacCutchan21-May-11 1:49 
AnswerRe: How to pass a window handle to another as command line argument. Pin
CPallini21-May-11 3:01
mveCPallini21-May-11 3:01 
AnswerRe: How to pass a window handle to another as command line argument. Pin
jschell21-May-11 12:22
jschell21-May-11 12:22 
Nitheesh George wrote:
So I need to pass the main window handle of the launcher application to my second application like /CallingProgramWindow="0001009C". Then how can i convert the string back to window handle. And is this method is the right way to do this.?


Unlikely.

What exactly do you want to do with the handle in the second app?

In general you solve the problem like this.
1. Target app runs
2. Target app gets to point X in app and this is considered 'succcess'
3. Target app 'sends' result to host application.

Step 2 is defined by your application.
There are several ways to do 3, such as stdio or sockets. However if you just need to know if the target ran and the host ran it then the process of actually running it would tell you that.
AnswerRe: How to pass a window handle to another as command line argument. Pin
Mark Salsbery21-May-11 15:54
Mark Salsbery21-May-11 15:54 
Question[WINSOCK2] Handling icmp port unreachable Pin
Member 296547120-May-11 22:20
Member 296547120-May-11 22:20 
AnswerRe: [WINSOCK2] Handling icmp port unreachable Pin
Member 296547123-May-11 6:41
Member 296547123-May-11 6:41 
QuestionHow to return different types within one function Pin
Cold_Fearing_Bird20-May-11 19:29
Cold_Fearing_Bird20-May-11 19:29 
AnswerRe: How to return different types within one function Pin
Richard MacCutchan20-May-11 22:04
mveRichard MacCutchan20-May-11 22:04 
AnswerRe: How to return different types within one function Pin
jschell21-May-11 12:27
jschell21-May-11 12:27 
AnswerRe: How to return different types within one function Pin
Stefan_Lang23-May-11 2:01
Stefan_Lang23-May-11 2:01 
QuestionFunction pointer problem Pin
.jpg20-May-11 6:13
.jpg20-May-11 6:13 
QuestionRe: Function pointer problem Pin
David Crow20-May-11 7:16
David Crow20-May-11 7:16 
AnswerRe: Function pointer problem Pin
Albert Holguin20-May-11 8:08
professionalAlbert Holguin20-May-11 8:08 
GeneralRe: Function pointer problem Pin
David Crow20-May-11 8:12
David Crow20-May-11 8:12 
GeneralRe: Function pointer problem Pin
Albert Holguin20-May-11 9:24
professionalAlbert Holguin20-May-11 9:24 
AnswerRe: Function pointer problem Pin
smags1320-May-11 7:43
smags1320-May-11 7:43 
GeneralRe: Function pointer problem Pin
Albert Holguin20-May-11 10:02
professionalAlbert Holguin20-May-11 10:02 
AnswerRe: Function pointer problem Pin
Paul Michalik20-May-11 23:10
Paul Michalik20-May-11 23:10 
QuestionSearch for bytes array in a binary file Pin
Smart Arab20-May-11 5:39
Smart Arab20-May-11 5:39 
AnswerRe: Search for bytes array in a binary file Pin
Albert Holguin20-May-11 5:47
professionalAlbert Holguin20-May-11 5:47 

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.