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#
  4. Error: Failed to delay load library mscorlib.dll ?

Error: Failed to delay load library mscorlib.dll ?

Scheduled Pinned Locked Moved C#
csharpc++dotnetcomgraphics
4 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.
  • C Offline
    C Offline
    Cyric74
    wrote on last edited by
    #1

    I'm normally a C++ .NET programmer but have been working on a C# .NET DirectX project. Everything works fine for me, but when I try to give the executable and needed data files to friends, they all end up with errors that won't let the program load (all have the latest version of DirectX and .NET framework). At least one error I have seen is "Failed to delay load library mscorlib.dll (win32 error:998)" Am I missing something with how I compile my project? Any suggestions would be appreciated. Thanks Cyric cyric74@hotmail.com

    C 1 Reply Last reply
    0
    • C Cyric74

      I'm normally a C++ .NET programmer but have been working on a C# .NET DirectX project. Everything works fine for me, but when I try to give the executable and needed data files to friends, they all end up with errors that won't let the program load (all have the latest version of DirectX and .NET framework). At least one error I have seen is "Failed to delay load library mscorlib.dll (win32 error:998)" Am I missing something with how I compile my project? Any suggestions would be appreciated. Thanks Cyric cyric74@hotmail.com

      C Offline
      C Offline
      Christian Graus
      wrote on last edited by
      #2

      I believe I was reading some DX documentatin which said this was a possible problem with DirectX. I could be wrong. Do you set the project to make a local copy of anything you import ? I always do that, and then anything I use goes with the distribution. Did you use DX to play audio and video ? If so, how did you find it ? I'm preparing an article on all the problems I had with it, so I wondered if anyone else has found it the same. Christian I have drunk the cool-aid and found it wan and bitter. - Chris Maunder

      C 1 Reply Last reply
      0
      • C Christian Graus

        I believe I was reading some DX documentatin which said this was a possible problem with DirectX. I could be wrong. Do you set the project to make a local copy of anything you import ? I always do that, and then anything I use goes with the distribution. Did you use DX to play audio and video ? If so, how did you find it ? I'm preparing an article on all the problems I had with it, so I wondered if anyone else has found it the same. Christian I have drunk the cool-aid and found it wan and bitter. - Chris Maunder

        C Offline
        C Offline
        Cyric74
        wrote on last edited by
        #3

        How do I set the project to make a local copy of the imports? I guess there is a difference with C++ .NET and C# .NET because I've never run into a problem like this with C++. It always packaged everything it needed without my messing around with it. I have not yet used DX for audio/video. It is only being used graphically in this project at the moment.

        C 1 Reply Last reply
        0
        • C Cyric74

          How do I set the project to make a local copy of the imports? I guess there is a difference with C++ .NET and C# .NET because I've never run into a problem like this with C++. It always packaged everything it needed without my messing around with it. I have not yet used DX for audio/video. It is only being used graphically in this project at the moment.

          C Offline
          C Offline
          Christian Graus
          wrote on last edited by
          #4

          Click on the reference in question and in the properties box is 'Copy Local'. Set this to true. Christian I have drunk the cool-aid and found it wan and bitter. - Chris Maunder

          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