By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
431,663 Members | 762 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 431,663 IT Pros & Developers. It's quick & easy.

Calling another function after another returns

P: n/a
Hi

Can anybody tell me how to get a function to call another function once it
has finished processing. That is, I have a function which I run, in its own
thread, which does some processing. As soon as it is done, I would like it
to call another member in the main form of the application.

Can anybody give me some ideas on how to do this? I seem to recall reading
something about a callback function (?) which may do the job? Is that right?

Some example code would be great!

Phil
Nov 21 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
Hi,

Maybe this will help.
http://msdn.microsoft.com/msdnmag/is...asicInstincts/

Ken
-------------------
"Phil" <putitinthepost@nowhere> wrote in message
news:41***********************@news.dial.pipex.com ...
Hi

Can anybody tell me how to get a function to call another function once it
has finished processing. That is, I have a function which I run, in its own
thread, which does some processing. As soon as it is done, I would like it
to call another member in the main form of the application.

Can anybody give me some ideas on how to do this? I seem to recall reading
something about a callback function (?) which may do the job? Is that right?

Some example code would be great!

Phil

Nov 21 '05 #2

P: n/a
Thanks Ken

Phil

"Ken Tucker [MVP]" <vb***@bellsouth.net> wrote in message
news:uN**************@TK2MSFTNGP09.phx.gbl...
Hi,

Maybe this will help.
http://msdn.microsoft.com/msdnmag/is...asicInstincts/

Ken
-------------------
"Phil" <putitinthepost@nowhere> wrote in message
news:41***********************@news.dial.pipex.com ...
Hi

Can anybody tell me how to get a function to call another function once it
has finished processing. That is, I have a function which I run, in its
own
thread, which does some processing. As soon as it is done, I would like it
to call another member in the main form of the application.

Can anybody give me some ideas on how to do this? I seem to recall reading
something about a callback function (?) which may do the job? Is that
right?

Some example code would be great!

Phil

Nov 21 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.