[XNA]Cant run my XNA project on new Windows

Started by
7 comments, last by oracle1 13 years, 11 months ago
Hello, I have wierd problem because when i try to run my project using XNA there is an error: Cant find module. (Exception from HRESULT: 0x8007007E) on line: Application.Run(new MainForm()); So I cant find out what module is missing. I have all frameworks and i didn't change my system (Windows 7 64bit). I think I don't have something installed but i need to know what is it? Is there a way to find out? stack trace:

   w MoonReader.MainForm..ctor()
   w MoonReader.Program.Main() w D:\Projekty\MangaReader\MangaReader\Program.cs:wiersz 16
   w System.AppDomain._nExecuteAssembly(Assembly assembly, String[] args)
   w System.AppDomain.ExecuteAssembly(String assemblyFile, Evidence assemblySecurity, String[] args)
   w Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()
   w System.Threading.ThreadHelper.ThreadStart_Context(Object state)
   w System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   w System.Threading.ThreadHelper.ThreadStart()

Advertisement
Use Dependency walker to find out which module you are missing.
Ok i resolved problem using Dependancy Walker but now i've got question:
I needed these dlls:
d3dx9_31.dll
Wich is obviously a part of a directx 9. Can I distibute this file with my program? (Open source/freeware manga reader)
I think i need to attach DX license with it right?
i dont think that it's legal, i believe you should get the directx9 redistributable package and attach it to your application
Well i downloaded this dll from some site providing all kinds of dlls so i think there is such option.
Quote:Original post by oracle1
Well i downloaded this dll from some site providing all kinds of dlls so i think there is such option.

Yes, it's an option, but it isn't necessarily a legal one. From my understanding you can't legally include the various DirectX DLLs in with your application. You must include the full DirectX Redistributable.
Can you find me such restriction in their eula? Because I haven't noticed anything like that.

Here: http://wklej.org/hash/95cecf8d151/txt/

I'm not very good in English so I could miss something.
Quote:Original post by oracle1
Can you find me such restriction in their eula? Because I haven't noticed anything like that.

Here: http://wklej.org/hash/95cecf8d151/txt/

I'm not very good in English so I could miss something.

I don't think that is even the right EULA. It's talking about a virtual machine for Java, not DirectX.

link about this exact subject
Thanks

This topic is closed to new replies.

Advertisement