Re: VODVPN in windows service - WeOnlyDo Discussion board

Re: VODVPN in windows service (General questions)

by Greg Buerk, Saturday, May 26, 2012, 00:02 (4563 days ago) @ wodDamir

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: