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. rundll32 and network share

rundll32 and network share

Scheduled Pinned Locked Moved C / C++ / MFC
helpc++sysadmintutorialquestion
5 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.
  • M Offline
    M Offline
    micutzu
    wrote on last edited by
    #1

    Hello, I have a problem that I hope someone have face before. I have developed a MFC application which is a dll and executes C:\WINDOWS\system32\rundll32.exe C:\test\test.dll rdl (where the rdl is the entry point in the dll). Everything works just fine. Now I am trying to run the same dll located into a network share: executes C:\WINDOWS\system32\rundll32.exe \\sharename\test.dll rdl and I receive an error that rundll32 cannot find the rdl entry point. Any idea regarding how to run my dll from a network share? Thank you.

    X 1 Reply Last reply
    0
    • M micutzu

      Hello, I have a problem that I hope someone have face before. I have developed a MFC application which is a dll and executes C:\WINDOWS\system32\rundll32.exe C:\test\test.dll rdl (where the rdl is the entry point in the dll). Everything works just fine. Now I am trying to run the same dll located into a network share: executes C:\WINDOWS\system32\rundll32.exe \\sharename\test.dll rdl and I receive an error that rundll32 cannot find the rdl entry point. Any idea regarding how to run my dll from a network share? Thank you.

      X Offline
      X Offline
      Xing Chen
      wrote on last edited by
      #2

      plz check the entry point in the test.dll by depends.

      M 1 Reply Last reply
      0
      • X Xing Chen

        plz check the entry point in the test.dll by depends.

        M Offline
        M Offline
        micutzu
        wrote on last edited by
        #3

        Yes, but is the same dll. If I run it locally it works as it should. The problem appears when I run it from a network share.

        X 1 Reply Last reply
        0
        • M micutzu

          Yes, but is the same dll. If I run it locally it works as it should. The problem appears when I run it from a network share.

          X Offline
          X Offline
          Xing Chen
          wrote on last edited by
          #4

          try run like this : C:\\WINDOWS\\system32\\rundll32.exe \"\\\\sharename\\test.dll\",rdl -- modified at 3:54 Tuesday 14th March, 2006

          M 1 Reply Last reply
          0
          • X Xing Chen

            try run like this : C:\\WINDOWS\\system32\\rundll32.exe \"\\\\sharename\\test.dll\",rdl -- modified at 3:54 Tuesday 14th March, 2006

            M Offline
            M Offline
            micutzu
            wrote on last edited by
            #5

            Thank you. It seems to work. :-D

            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