Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. Why do some API calls not work with my windows service?

Why do some API calls not work with my windows service?

Scheduled Pinned Locked Moved C / C++ / MFC
jsonhelpquestion
3 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • C Offline
    C Offline
    csurfer79
    wrote on last edited by
    #1

    My program uses API calls and now that I have converted my program from a simple console app to a windows service, I cannot use all of the same API calls. If anybody is familiar with this type of problem, please fill me in with possible fixes. Thanks!

    D L 2 Replies Last reply
    0
    • C csurfer79

      My program uses API calls and now that I have converted my program from a simple console app to a windows service, I cannot use all of the same API calls. If anybody is familiar with this type of problem, please fill me in with possible fixes. Thanks!

      D Offline
      D Offline
      Dave Bryant
      wrote on last edited by
      #2

      A little more information would be useful here... What do you mean when you say that you cannot use all the same API calls? Is it not compiling? Or not running? If it isn't running, what error is produced? What APIs aren't working? Dave http://www.cloudsofheaven.org

      1 Reply Last reply
      0
      • C csurfer79

        My program uses API calls and now that I have converted my program from a simple console app to a windows service, I cannot use all of the same API calls. If anybody is familiar with this type of problem, please fill me in with possible fixes. Thanks!

        L Offline
        L Offline
        l a u r e n
        wrote on last edited by
        #3

        services start before a lot of the system has initialised and they have no logged on user generally there is a bunch of info about what u can and cant do on ms what exactly are u trying to do?


        "there is no spoon"
        biz stuff   about me

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups