Punkoff

I'm writing a game with MDX 1.1 and VS's 2003 and 2005
On my computer i have 2 OSes
I've started developing on Vista RTM with VS 2005
Game worked normally on my computer
But when I uploaded it to a forum its members reported that it gives a system.iofilenotfound exception (don't yhink about missing data files, they're all at the right place and paths are not ablosute)
Then i have switched to XP and ran EXE compiled on Vista with debug. This exception happens when

dim frm as new GameForm
or
frm=new GameForm

in sub Main()

Frameworks 1.1 and 2.0 and DX are installed on my and members' computers.
I have trie all combinations of VS 2003/2005 and Vista/XP
I have no idea
Help me, please


Re: Game Technologies: General Form file not found ?

The ZMan

Often people will tell you they have managed Directx when all they have is the core files which come with the OS. This doesn't include Managed DirectX or the dependent D3DX files. Its not obvious to an end user

So firstly tell them to run this and you will be assured to get all versions of all the optional DX files

http://www.microsoft.com/downloads/details.aspx familyid=2DA43D38-DB71-4C1B-BC6A-9B6652CD92A3&displaylang=en

If you still get file not found then the only way I know to find out what is missing is to use FileMon

http://www.microsoft.com/technet/sysinternals/utilities/filemon.mspx






Re: Game Technologies: General Form file not found ?

Punkoff

For an "expirement", I installed a clean copy of XP, MDX Redist (which came with the SDK), DX 9 and frameworks 1.1 and 2.0. Are them all the required things for running mdx apps

All the c# and vb .net samples from SDK returns the same error (and my program too, of course).

thanks for FileMon (very interesting prog), but i cant get any useful data from its report, even when filtered only game's events, because i cant find a point when my program stops and "send report to microsoft" window starts loading & appearing.

for the 1st link, it require windows genuine validation so forum members cant download it (they are russians. russians would never pay for windows because they always buy a cheap cracked version). I've downloaded it. But no effect.





Re: Game Technologies: General Form file not found ?

Jim Perry

Punkoff wrote:
(they are russians. russians would never pay for windows because they always buy a cheap cracked version).

Hmm, this could be a problem.






Re: Game Technologies: General Form file not found ?

Punkoff

It's their problems.

May be trouble is in some VS components

If anybody can help me, i will be pleased. When i got this error on all the computers where i installed my game, i fall into the deep deppression and stopped developing...





Re: Game Technologies: General Form file not found ?

The ZMan

Well nobody here is going to go out of their way to help you run your game on a cracked version of windows if that is the problem. (and for the record I will happily delete any posts where someone tries and the entire thread if there is any further discussion). Maybe I could suggest you find some testers who have legal copies.

If you have a clean copy of windows, with MDX 1 and 2 and you have run the DirectX installer from here http://www.microsoft.com/downloads/details.aspx familyid=2DA43D38-DB71-4C1B-BC6A-9B6652CD92A3&displaylang=en then the only reason left for your app not to run is a missing data file. I know you are pretty sure about this but you would be surprised how many times people have assured us of this and it turns out not to be the case.

At this point Filemon is your only choice - filter by game and then trap only the errors. You should see the attempt to load a missing file. File mon is not depedant upon a 'send to microsoft'. It just traps all the IO calls. If you can repro the error your users are seeing (or they can repro it) then it should be one of the last calls in the trace after the crash.






Re: Game Technologies: General Form file not found ?

Punkoff

Thanks for instructions for filemon (i'm using ProcMon because i'm running vista (not cracked, legal evaluation copy!). I've found solution - my project referenced (did i spell it right ) to an older direct3d (only direct3d.dll) version which other users didn't have.