Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Where are my com events (in my windows service)????

Reply
Thread Tools

Where are my com events (in my windows service)????

 
 
SPG
Guest
Posts: n/a
 
      05-18-2004
Hi,

I have a C# app that utilizes a 3rd party activeX dll.
This com object sends my app events when data is ready to be processed.
In a standard C# windows app this works fine, but as soon as I run it as a
service using the servicebase initialization methods, the events stop coming
in.

Has any had similar experiences? I assume it is to do with the message pump
stuff and STA vs MTA threading states.

If this is the case, could I just create an invidible form using
Application.Run(myForm) which will have its own message pump then use the
form to create the ActiveX object? Is this legal?
Getting pretty desparate for a solution now!

10 beers to the provider of a solution!!

Steve


 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
runtime events that generate other controls and events newbye ASP .Net 0 07-06-2006 06:27 PM
Events Events Events Please Help Chris ASP .Net Web Controls 0 08-30-2005 08:21 PM
order of events - dynamic checkbox events =?Utf-8?B?bG91aXNlIHJhaXNiZWNr?= ASP .Net 0 08-17-2005 10:36 PM
Re: passing variables between web page events & httpmodules events Alvin Bruney ASP .Net 1 11-24-2003 04:14 PM
Passing Variables between Web Page Events and HttpModule Events shiv ASP .Net 0 11-21-2003 04:29 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57