Re: Runtime Error!: an application has made an attempt to load the C runtime library incorrectly

Tcll <[email protected]> Fri, 5 Jul 2013 07:46:08 -0445
Newsgroups gmane.comp.python.opengl.devel
Message-ID <CAOtBmLn6dYrfHNLfTKg3UOW92G5DCDRayMZfMdLsXJTaQvV=7g@mail.gmail.com>
well, like I said, I've managed to fix this issue, but ran directly
into another one...

the error:
file - .../OpenGL/raw/GL/__init__.py
line - 152
code - glCallLists = platform.createBaseFunction(
info - supplied inputs

the problem:
unable to cast objects of type 'IronPython.Runtime.Types.PythonType'
to type 'INativeType'

this is actually an IPy issue, but I'm contacting you about it for 2 reasons:
- you may be able to implament a workaround (since the release I have
is their latest and last)
- I can't report it to them using their issue tracker... I'm on wii


I'm still researching the issue for other possible fixes rather than
adding new support to GL.
(there's most likely a chain that needs to be worked with)


the fix to the last issue was to simply use gle32.dll instead of vc9.

I've removed the vc9 check from .../platform/win32.py since ctypes (Py
or IPy) seems to have a problem working with it.

------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
PyOpenGL Homepage
http://pyopengl.sourceforge.net