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. weird registration problem

weird registration problem

Scheduled Pinned Locked Moved C / C++ / MFC
helpdata-structuresdebuggingannouncement
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.
  • L Offline
    L Offline
    LukeV
    wrote on last edited by
    #1

    Hi! I've recently changed my computer and my project has some problem registering one of it's component ever since. I'm pretty sure the path is fine (used to be on h:, now on f:). All other components register fine. I get that error: error PRJ0019: A tool returned an error code: "Performing registration" If I try to do a regsvr32 mydll.dll in the Debug or Release folder, I get this error: LoadLibrary("mydll.dll") - The specified module could not be found. Now, if I try to debug that component by adding regsvr32 to the command line and $(TargetPath) for the parameters, I get a a different error: LoadLibrary("f:\some old path that I don't use for months") - The specified module could not be found. Finally, if I move mydll.dll to another folder (outside the project tree), it will register just fine! I suspect that $(TargetPath) is the culprit, but I don't know where to look for that value. Thanks!

    U L 2 Replies Last reply
    0
    • L LukeV

      Hi! I've recently changed my computer and my project has some problem registering one of it's component ever since. I'm pretty sure the path is fine (used to be on h:, now on f:). All other components register fine. I get that error: error PRJ0019: A tool returned an error code: "Performing registration" If I try to do a regsvr32 mydll.dll in the Debug or Release folder, I get this error: LoadLibrary("mydll.dll") - The specified module could not be found. Now, if I try to debug that component by adding regsvr32 to the command line and $(TargetPath) for the parameters, I get a a different error: LoadLibrary("f:\some old path that I don't use for months") - The specified module could not be found. Finally, if I move mydll.dll to another folder (outside the project tree), it will register just fine! I suspect that $(TargetPath) is the culprit, but I don't know where to look for that value. Thanks!

      U Offline
      U Offline
      usmanmir
      wrote on last edited by
      #2

      Hello.Well i can't help you to solve ur problem but your problem gives me an outside chance to solve my problem. I reckon that you must know how to make release folder for vc 6 application. Please tell me the steps involved. ThankYou.

      1 Reply Last reply
      0
      • L LukeV

        Hi! I've recently changed my computer and my project has some problem registering one of it's component ever since. I'm pretty sure the path is fine (used to be on h:, now on f:). All other components register fine. I get that error: error PRJ0019: A tool returned an error code: "Performing registration" If I try to do a regsvr32 mydll.dll in the Debug or Release folder, I get this error: LoadLibrary("mydll.dll") - The specified module could not be found. Now, if I try to debug that component by adding regsvr32 to the command line and $(TargetPath) for the parameters, I get a a different error: LoadLibrary("f:\some old path that I don't use for months") - The specified module could not be found. Finally, if I move mydll.dll to another folder (outside the project tree), it will register just fine! I suspect that $(TargetPath) is the culprit, but I don't know where to look for that value. Thanks!

        L Offline
        L Offline
        Lost User
        wrote on last edited by
        #3

        Its posible that your project file is still referencing things on your h: drive. Open your .dsp file in notepad and search for h:

        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