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

Search:

Type: Posts; User: 2kaud

Search: Search took 0.13 seconds.

  1. Replies
    82
    Views
    82,396

    Re: running a GUI program in the background

    what does sc qc MyServiceX show? Especially for the BINARY_PATH_NAME?
  2. Replies
    82
    Views
    82,396

    Re: running a GUI program in the background

    How do you know that the service installed fine? Have you checked it with the services program? What does sc query MyServiceX say from the command line? What is the contents of the file mysvcx.log...
  3. Replies
    82
    Views
    82,396

    Re: running a GUI program in the background

    Please post the code here that you are actually using.
  4. Replies
    82
    Views
    82,396

    Re: running a GUI program in the background

    It would probably be useful if you posted your code so we could see how you are trying to achive and so we could provide better guidance.
  5. Replies
    82
    Views
    82,396

    Re: running a GUI program in the background

    Why not? What error is being reported? What is your service doing and what is causing the error?
  6. Replies
    82
    Views
    82,396

    Re: running a GUI program in the background

    Yes. What debugging of the program have you done - as this should have been picked up by using the debugger.
  7. Replies
    82
    Views
    82,396

    Re: running a GUI program in the background

    Have you checked what GetExeFolderName is actually returning? As you are hardcoding the full path to your testservice.exe, you probably don't need GetExeFolderName at all at the moment whilst you are...
  8. Replies
    82
    Views
    82,396

    Re: running a GUI program in the background

    The contents of path. Have you looked at it in the debuuger or shown it on screen to be sure it's what you are expecting as you are concatenating the result of GetExeFolderName() with the TEXT...
  9. Replies
    82
    Views
    82,396

    Re: running a GUI program in the background

    What do you expect path to contain after this statement? Have you examined its contents?
Results 1 to 9 of 9





Click Here to Expand Forum to Full Width

Featured