Jump to content

Windows Service Application


rsanford

Recommended Posts

I noticed the addition of a "ServiceModule" when using the wizard to create a Windows Service Application project. What's the purpose of this module? Is the Main form, MainModule and ServerModule in a service app implemented the same as in a StandAlone project?

 

Thanks,

Robert

Link to comment
Share on other sites

I just tried migrating my application to a service. I can compile and install the service and run it, but when I test it in the browser, it gets stuck on loading forever. The application works fine as a standalone application and as an isapi dll.

 

I used these steps:

 

I created a new project using the application wizard and saved it to a new folder.

I then moved the project files and the service module file back to my application project folder.

Then I imported the project to the application project group. This makes it use the servermodule, mainmodule and mainform from my existing application in the new service project.

Finally I added each other form, datamodule and unit to the project.

 

The project was then compiled and did so without any errors. I installed it as administrator and started the service.

Link to comment
Share on other sites

  • Administrators

I just tried migrating my application to a service. I can compile and install the service and run it, but when I test it in the browser, it gets stuck on loading forever. The application works fine as a standalone application and as an isapi dll.

 

I used these steps:

 

I created a new project using the application wizard and saved it to a new folder.

I then moved the project files and the service module file back to my application project folder.

Then I imported the project to the application project group. This makes it use the servermodule, mainmodule and mainform from my existing application in the new service project.

Finally I added each other form, datamodule and unit to the project.

 

The project was then compiled and did so without any errors. I installed it as administrator and started the service.

 

Do you see a blue screen or a white blank one in browser?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...