|
-
Sep 4th, 2009, 03:34 AM
#1
Thread Starter
Fanatic Member
Big threading problem
Hi All,
Heres my problem.
I have a standard windows application called winap.
I have a com component which acts as an api to the winap.
I have a class in winap call classapi which has all the methods that the api calls and all works well.
The problem is that one of the methods in my class api needs to get a handle on form elements in the main worker thread. Whenever I try to access an existing form I keep getting null because the for exists in the main worker thread and my api call is in a seperate thread.
Any ideas how I can overcome this?
Is it possible ?
Thanks In advance
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|