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. Question about Service Utility Functions.

Question about Service Utility Functions.

Scheduled Pinned Locked Moved C / C++ / MFC
helptoolsquestion
7 Posts 2 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.
  • S Offline
    S Offline
    softgrid
    wrote on last edited by
    #1

    I have problem using the function ResUtilStartResourceService(...) i included the file clusapi.h and the compiler gives me the error "undeclared identifier". i tried to include the file Resapi.h the compiler gives me the error "unresolved external symbol _ResUtilStartResourceService@8". Best regards, Simos

    S J 2 Replies Last reply
    0
    • S softgrid

      I have problem using the function ResUtilStartResourceService(...) i included the file clusapi.h and the compiler gives me the error "undeclared identifier". i tried to include the file Resapi.h the compiler gives me the error "unresolved external symbol _ResUtilStartResourceService@8". Best regards, Simos

      S Offline
      S Offline
      softgrid
      wrote on last edited by
      #2

      I figured out the error. The problem now that the service is installed, but when i call the function ResUtilStartResourceService(...) it returns error code 1060 (service does not exist). Can any body help with this. Best regards, Simos

      J 1 Reply Last reply
      0
      • S softgrid

        I have problem using the function ResUtilStartResourceService(...) i included the file clusapi.h and the compiler gives me the error "undeclared identifier". i tried to include the file Resapi.h the compiler gives me the error "unresolved external symbol _ResUtilStartResourceService@8". Best regards, Simos

        J Offline
        J Offline
        Jonathan Darka
        wrote on last edited by
        #3

        ResUtilStartResourceService() is defined in "Resapi.h" You are including the wrong header file, as you can see from the ResUtilStartResourceService() help page in the MSDN (if you'd looked :-))


        Darka [Xanya] "I am not a slave to a god that doesn't exist."

        1 Reply Last reply
        0
        • S softgrid

          I figured out the error. The problem now that the service is installed, but when i call the function ResUtilStartResourceService(...) it returns error code 1060 (service does not exist). Can any body help with this. Best regards, Simos

          J Offline
          J Offline
          Jonathan Darka
          wrote on last edited by
          #4

          Check the name of the service you are passing to the function, is is the correct one ?


          Darka [Xanya] "I am not a slave to a god that doesn't exist."

          S 2 Replies Last reply
          0
          • J Jonathan Darka

            Check the name of the service you are passing to the function, is is the correct one ?


            Darka [Xanya] "I am not a slave to a god that doesn't exist."

            S Offline
            S Offline
            softgrid
            wrote on last edited by
            #5

            Yes it is correct. Regards, Simos

            1 Reply Last reply
            0
            • J Jonathan Darka

              Check the name of the service you are passing to the function, is is the correct one ?


              Darka [Xanya] "I am not a slave to a god that doesn't exist."

              S Offline
              S Offline
              softgrid
              wrote on last edited by
              #6

              Yes it is correct yet it returns the error 1060, any ideas? Regards, Simos

              J 1 Reply Last reply
              0
              • S softgrid

                Yes it is correct yet it returns the error 1060, any ideas? Regards, Simos

                J Offline
                J Offline
                Jonathan Darka
                wrote on last edited by
                #7

                Silly question.... Have you actually installed your service, if so how did you do this ? It does sound like this hasn't been done, you must install the service correctly first.


                Darka [Xanya] "I am not a slave to a god that doesn't exist."

                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