Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Multi-Session/Threading Assistance...

Status
Not open for further replies.

Rock6431

Programmer
Mar 23, 2002
56
US
Hi All,

I built an ActX dll which interfaces with a billing platform and it's instance is setup as an apartment thread with Global Multi Use set. I have a proceedure which creates an IE window and populates information within it. The plugin then waits until the page submits information back to it, by executing a loop which looks at a predefined field on the webpage when it's filled out. I now have a need to execute other public functions within the plugin while this other function is looking at the webpage fields. When the webpage originally opens, I can use GetObject to get ahold of the plugin's instance, but because the other function begins looping, I am unable to perform other functions even though I have doevents in the process to allow front end updates. How would I change my loop to enable the ability for other public functions to execute at the same time?

Thanks...
 

Search this site for CreateThread you should find an example by strongm that should give you clues as to accomplish what you want.

Good Luck

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top