everything works excepts that CPU usage is terrible...
I explain, calling function
Code |
Actually it does gets fired successfully only if I do the following
Code |
I tried almost everything, spent a few months on this. I tried ManualEventReset, Thread, BackGroundWorker...
I believe that Com Object is an Activex and is made to run inside a form
Note that it works using do while and DoEvents (It's the ONLY WAY OnGetStatus of that object gets fired), but since my service his multi-sessions, I believe CPU usage of 100% does affect all other thread running.
Prototype for event onGetStatus below :
Code |
Hope I was clear, thanks.

Sam HobbsRank #108 · 20.5K reputationPosted Mar 31, 2010, 3:28 PM EDT