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