[IronPython] Newbie questions. . .

Keith Hoard khoard at gmail.com
Mon Jan 7 19:27:43 PST 2008


Thanks, Dave.

At first I was wondering how I missed it, so I went back and re-downloaded
the Direct3D samples ZIP files.  When I unzipped it, there it was in the
prereques section, clear as day.

However, the readme file I was using was dated September 16, 2006, 12:36:38
PM and doesn't have those instructions in the Pre-req section.  The correct
readme file is dated Friday, December 01, 2006, 9:45:54 AM and has this
information.

I wish I could remember where I got a hold of the outdated file so whoever
is in charge of the website can track it down.

On Jan 7, 2008 2:14 PM, Dave Fugate <dfugate at microsoft.com> wrote:

> The "Prerequisites" section of the readme.htm distributed with the
> Direct3D sample contains info on fixing this (i.e., using Managed DirectX
> 1 instead of the 2.0 Beta).  Basically please replace all occurrences of:
>            clr.AddReference("Microsoft.DirectX")
>
>        with:
>            clr.AddReferenceByName('Microsoft.DirectX, Version=1.0.2902.0,
> Culture=neutral, PublicKeyToken=31bf3856ad364e35')
>
> throughout the sample.
>
> Hope that helps!
>
>
>
> -----Original Message-----
> From: users-bounces at lists.ironpython.com [mailto:
> users-bounces at lists.ironpython.com] On Behalf Of FireNWater
> Sent: Monday, January 07, 2008 9:51 AM
> To: users at lists.ironpython.com
> Subject: Re: [IronPython] Newbie questions. . .
>
> OK, I'm making progress. . . at least now I'm getting an error in a
> dialogue box, and actually got it to work once this morning!!
>
> I have updated the DirectX SDK to the November 2007 version and the
> Direct X version on my computer is 9.0.  I also have the .NET SDK 2.0
> installed.
>
> D:\IronPython\Samples\Direct3D>ipy demo1.py
> Traceback (most recent call last):
>  File D:\IronPython\Samples\Direct3D\demo1.py, line 69, in Initialize
>  File D:\IronPython\Samples\Direct3D\framework.py, line 600, in Main
>  File D:\IronPython\Samples\Direct3D\framework.py, line 425, in
> InitGraphics
>  File , line 0, in .ctor##75
>  File Microsoft.DirectX, line unknown, in .ctor
>  File Microsoft.DirectX, line unknown, in CheckTimeBomb
> StandardError: This pre-release version of DirectX has expired, please
> upgrade to the latest version from http://www.microsoft.com/directx
>
> D:\IronPython\Samples\Direct3D>
>
> On Jan 6, 11:33 pm, "Keith Hoard" <kho... at gmail.com> wrote:
> > Thanks!!
> >
> > On Jan 6, 2008 2:14 PM, Martin Maly <Martin.M... at microsoft.com> wrote:
> >
> >
> >
> > >  Some of the samples have prerequisites. I believe the DirectX
> tutorial
> > > comes with a great readme (readme.html) that should get you going.
> >
> > > *From:* users-boun... at lists.ironpython.com [mailto:
> > > users-boun... at lists.ironpython.com] *On Behalf Of *Keith Hoard
> > > *Sent:* Sunday, January 06, 2008 11:56 AM
> > > *To:* IronPython Mailing List
> > > *Subject:* [IronPython] Newbie questions. . .
> >
> > > I have a few questions about getting up and running with IronPython.
> >
> > > I have downloaded and installed ipy.exe to the D:\IronPython
> directory.  I
> > > have also added this directory to the Path environment varialble.
>  However,
> > > when I try to run the examples (In this case " tutorial.py") from the
> web
> > > site, I get the following error:
> >
> > > Microsoft Windows XP [Version 5.1.2600]
> > > (C) Copyright 1985-2001 Microsoft Corp.
> >
> > > D:\IronPython>ipy tutorial.py
> > > Traceback (most recent call last):
> > > File D:\IronPython\tutorial.py, line 19, in Initialize
> > > File , line 0, in AddReferenceByPartialName##12
> > > IOError: Could not add reference to assembly Microsoft.DirectX
> >
> > > When I try to run the other samples, I get similar errors.  Is there
> > > another environment variable that I'm supposed to set so that IPy can
> find
> > > the .NET libraries?  Also, if there is some documentation that I
> missed, I
> > > was hoping that someone could point me in the right direction.
> >
> > > Thanks in advance for any help. . .
> >
> > > _______________________________________________
> > > Users mailing list
> > > Us... at lists.ironpython.com
> > >http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
> >
> > --
> >
> > Keith Hoard
> > Collierville, TN
> > kho... at gmail.com
> >
> > _______________________________________________
> > Users mailing list
> > Us... at lists.ironpython
> .comhttp://lists.ironpython.com/listinfo.cgi/users-ironpython.com
> _______________________________________________
> Users mailing list
> Users at lists.ironpython.com
> http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
> _______________________________________________
> Users mailing list
> Users at lists.ironpython.com
> http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
>



-- 

Keith Hoard
Collierville, TN
khoard at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ironpython.com/pipermail/users-ironpython.com/attachments/20080107/42dd46cf/attachment.html 


More information about the Users mailing list