Hi, I'm having some problems with my service app, it runs just fine, but then just exits after 15-20 seconds. I found out that this is because it jumps over the line "Application->Run();". There are no exceptions nor errors, but what kind of loop should I create to keep my service running?

And next question: how to install this as service to Windows? Had a ActiveX-component for VB, and it contained the installation function too, but haven't found one from BC++.

Thanks.