Re: [IronPython] Opening a process for mem reads ?

2010-09-22 Thread Richard Steventon
Bah... gd newbie mistake! Thank you Sir! -Bye -Richard On Wed, Sep 22, 2010 at 10:53 PM, Jeff Hardy wrote: > On Wed, Sep 22, 2010 at 7:16 PM, Richard Steventon > wrote: >> I compile it in VS2010 Express as a ***.NET Framework 4.0.***  I end up with > > and > >>

Re: [IronPython] Opening a process for mem reads ?

2010-09-22 Thread Richard Steventon
x27;... but not when I attempt them! Some pointers as to how to get this working would be nice ! -Bye -Richard On Wed, Sep 22, 2010 at 2:20 PM, Lukas Cenovsky wrote: > On 22.9.2010 20:03, Jeff Hardy wrote: > > On Wed, Sep 22, 2010 at 11:36 AM, Richard Steventon > wrote: >

Re: [IronPython] Opening a process for mem reads ?

2010-09-22 Thread Richard Steventon
wrote: > On Tue, Sep 21, 2010 at 9:59 PM, Richard Steventon > wrote: >> I am trying to figure out how to read process memory in IronPython. >> In CPython, it would be windll.kernel32.ReadProcessMemory(). > > Hi Richard, > It's the same in IronPython:

[IronPython] Opening a process for mem reads ?

2010-09-21 Thread Richard Steventon
Hi All, I am trying to figure out how to read process memory in IronPython. In CPython, it would be windll.kernel32.ReadProcessMemory(). I had a look at the namespaces on msdn, but OpenProcess, ReadProcessMemory, etc do not appear to be available. All the VB/C#/etc code I can find does a dllimpo

[IronPython] ImportError: No module named

2010-04-08 Thread Richard Steventon
Hi all, I am moving some code from Python to IronPython (latest) so I can access Excel XLSX files. The code is a loose bunch of files in a single directory. ie: main.ipy accessFunctions.ipy Within main.ipy, I do: from accessFunctions import * Which gives: ImportError: No module name

Re: [IronPython] XNA and how to specify the type arguments explicitly

2010-02-02 Thread Richard Steventon
Okay, so problem #2 calling the correct version of the interface (I think this is the problem?), since I am getting a "violates the constraint of type 'T'" error. I set up a XNA VertexBuffer using: l = Array.CreateInstance(VertexPositionColor,6) . self.vertices = l

[IronPython] XNA and how to specify the type arguments explicitly

2010-02-02 Thread Richard Steventon
A newbie here. I am trying to use the XNA infrastructure to render some data, since all I need is points and colored triangles and a movable camera. Code snippet: def SetupVerticies(self): l = Array.CreateInstance(VertexPositionColor,6) l[0] = VertexPositionColor(Vector3(0., 0