CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 1 of 1

Thread: Creating Server

  1. #1
    Join Date
    Oct 2010
    Posts
    46

    Creating Server

    Hello. I'm trying to create service like here
    http://www.codeproject.com/KB/system...t_service.aspx. I'm tried this on console and Windows Service templates.On console application CreateService() function allways falis and on Windows Service it gives me 85 errors... Is it even possible to create a service with this guide or it's incorrect? And if possible what am I doing wrong?
    Thank you

    EDIT
    It seems i have wrote a wrong name of the thread -.- it should be "Creating service"

    GetLastError returns:

    // MessageId: ERROR_INVALID_SERVICE_ACCOUNT
    //
    // MessageText:
    //
    // The account name is invalid or does not exist, or the password is invalid for the account name specified.
    Last edited by fire_; January 21st, 2011 at 09:31 AM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured