Access Violation Error while using Python Ctypes

2013-07-04 Thread HighBeliever
I used the following code to import the functions of a dll in my Python code. from ctypes import * hunspell=CDLL('C:\Nhunspell\Hunspellx64.dll') hunspell.HunspellInit.restype = POINTER(c_int) hunspell.HunspellInit.argtypes = (c_char_p, c_char_p) hunspell.Hu

Importing modules into IronPython

2013-07-03 Thread HighBeliever
Hi, I have to shift a Python 2.7 program to run in Windows. Doing that has forced me to use IronPython because my program is dependent on a .dll file that uses .NET framework. I moved all my code to Iron Python and modified it to work with the dll. But I cant import PyQt4 module into the proje