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. My dll wrote in MFC can't register on one pc ,but another can!

My dll wrote in MFC can't register on one pc ,but another can!

Scheduled Pinned Locked Moved C / C++ / MFC
c++helpquestion
4 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.
  • S Offline
    S Offline
    szcococut
    wrote on last edited by
    #1

    hi my dll can't register on one pc ,but can register on another pc, why? the error is :" *.dll DllRegisterServer failed ,error code is :0x8007007 " thanks

    M T 2 Replies Last reply
    0
    • S szcococut

      hi my dll can't register on one pc ,but can register on another pc, why? the error is :" *.dll DllRegisterServer failed ,error code is :0x8007007 " thanks

      M Offline
      M Offline
      Matthew Faithfull
      wrote on last edited by
      #2

      If this works on one machine but not another check who is logged on. Does the user have Administrator permissions of both machines. If not then registering will not work. 0x8007007 seems to be related to passing too little memory (buffer too small) to some API call or another but it doesn't appear to be documented. Are you 100% sure this is the error code? It's 1 digit shorter than I would have expected for a COM error.

      Nothing is exactly what it seems but everything with seems can be unpicked.

      T 1 Reply Last reply
      0
      • M Matthew Faithfull

        If this works on one machine but not another check who is logged on. Does the user have Administrator permissions of both machines. If not then registering will not work. 0x8007007 seems to be related to passing too little memory (buffer too small) to some API call or another but it doesn't appear to be documented. Are you 100% sure this is the error code? It's 1 digit shorter than I would have expected for a COM error.

        Nothing is exactly what it seems but everything with seems can be unpicked.

        T Offline
        T Offline
        ThatsAlok
        wrote on last edited by
        #3

        AFAIK, you are right! we don't need to register MFC dll!

        "Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
        Never mind - my own stupidity is the source of every "problem" - Mixture

        cheers, Alok Gupta VC Forum Q&A :- I/IV Support CRY- Child Relief and You

        1 Reply Last reply
        0
        • S szcococut

          hi my dll can't register on one pc ,but can register on another pc, why? the error is :" *.dll DllRegisterServer failed ,error code is :0x8007007 " thanks

          T Offline
          T Offline
          ThatsAlok
          wrote on last edited by
          #4

          szcococut wrote:

          hi my dll can't register on one pc ,but can register on another pc, why? the error is :" *.dll DllRegisterServer failed ,error code is :0x8007007 " thanks

          you don't need to register dll written in MFC. it is the COM dll you have to register.. try placing the DLL in same folder as of Application

          "Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
          Never mind - my own stupidity is the source of every "problem" - Mixture

          cheers, Alok Gupta VC Forum Q&A :- I/IV Support CRY- Child Relief and You

          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