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. Problem is registering a dll??

Problem is registering a dll??

Scheduled Pinned Locked Moved C / C++ / MFC
c++helpquestionannouncement
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.
  • M Offline
    M Offline
    mahesh
    wrote on last edited by
    #1

    Hello, I created one dll using MFC/ATL/VC++ 6.0/NT 4.0 SP3. I can compile this dll without any error but when i register this dll using regsvr32, I get this error "DllRegisterServer in dllpath failed. Reutrn code was: 0x80040201". Is any body got this problem ?? I tried to register it on 98 and got same error. It gets register on two 98 machines though. Any ideas?? Its not a issue of MFC version b/c I cant register on my development machine. This dll adds extensions to IE. I am using IE 5.01 on all machines. Thanks Mahesh

    M K 2 Replies Last reply
    0
    • M mahesh

      Hello, I created one dll using MFC/ATL/VC++ 6.0/NT 4.0 SP3. I can compile this dll without any error but when i register this dll using regsvr32, I get this error "DllRegisterServer in dllpath failed. Reutrn code was: 0x80040201". Is any body got this problem ?? I tried to register it on 98 and got same error. It gets register on two 98 machines though. Any ideas?? Its not a issue of MFC version b/c I cant register on my development machine. This dll adds extensions to IE. I am using IE 5.01 on all machines. Thanks Mahesh

      M Offline
      M Offline
      Mike Dunn
      wrote on last edited by
      #2

      You can look up the description of this error with the Error Lookup util (Start-Programs-MSVC 6-MSVC Tools-Error Lookup. That error is "An event was unable to invoke any of the subscribers." Dunno if that helps, but it's a start. ;)

      1 Reply Last reply
      0
      • M mahesh

        Hello, I created one dll using MFC/ATL/VC++ 6.0/NT 4.0 SP3. I can compile this dll without any error but when i register this dll using regsvr32, I get this error "DllRegisterServer in dllpath failed. Reutrn code was: 0x80040201". Is any body got this problem ?? I tried to register it on 98 and got same error. It gets register on two 98 machines though. Any ideas?? Its not a issue of MFC version b/c I cant register on my development machine. This dll adds extensions to IE. I am using IE 5.01 on all machines. Thanks Mahesh

        K Offline
        K Offline
        Kurt 0
        wrote on last edited by
        #3

        Hi if it registers on some machines but not others I guess that there is at least 1 DLL missing on the failing machine. Use the Depend tool os Visual Studio to find out what DLLs you need exactly Kurt

        M 1 Reply Last reply
        0
        • K Kurt 0

          Hi if it registers on some machines but not others I guess that there is at least 1 DLL missing on the failing machine. Use the Depend tool os Visual Studio to find out what DLLs you need exactly Kurt

          M Offline
          M Offline
          mahesh
          wrote on last edited by
          #4

          thanks. I read this article in MSDN and thought that I dont have latest version of comcat.dll but i installed SP5 on my machine.

          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