1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Compile a service with VisualStudio Express Edition

Discussion in 'Win32' started by Spogliani, Aug 30, 2008.

  1. Spogliani

    Spogliani New Member

    Joined:
    Jun 24, 2008
    Messages:
    12
    Likes Received:
    0
    Trophy Points:
    0
    Occupation:
    Student
    Location:
    Milano, Italy
    Hi, I'm trying to compile a service source code with visual studio 2008 express edition.

    Since VSEE does not have the service template project I choose Empty Win32 Application.

    After creating the service as said by the MSDN (http://msdn.microsoft.com/en-us/library/ms685141(VS.85).aspx) I tried to build it but the linker said I needed the WinMain function, so I created.

    The problem is that the service starts with the WinMain and not with _tmain.

    What can I do?
     

Share This Page