windows service (wodFTPServer)

by Jasmine, (3371 days ago) @ Gary

Hi Gary.

I'm not that much of a C# expert, but I believe this link would help:

http://stackoverflow.com/questions/2443867/message-pump-in-net-windows-service

inside DLL.Init add startup code for wodFTPServer, and then message pump will continue to run.

Or, you could for a test add

while (true)
Sleep(10);

for a test in your C# code. This will allow messages to process I think but not nice approach.

Jasmine.

locked

Complete thread: