Re: VODVPN in windows service (General questions)
THe way to get htis to work in a service is to Spawn another thread. Then on that new thread do a Application.Run(Addressof YourTunnelControl)
When the YourTunnelControl method returns the Application.run will finish and the thread will be done.
The application.Run is needed because it creates a Message Pump that is needs to fire the events from the control.
A Question for Damir, If you use the Fast Notification interface do you need a message pump?? Cause the docs make it sound like you do not and these event will be called instead of the events.
Complete thread:
- VODVPN in windows service - Ruslan, 2011-12-03, 12:21
- Re: VODVPN in windows service - wodDamir, 2011-12-03, 13:41
- Re: VODVPN in windows service - Greg Buerk, 2012-05-26, 00:02
- Re: VODVPN in windows service - wodDamir, 2012-05-26, 00:06
- Re: VODVPN in windows service - Greg Buerk, 2012-05-26, 00:02
- Re: VODVPN in windows service - wodDamir, 2011-12-03, 13:41