enthought / enthought/pyface

importing QtGui or QtCore from pyface.qt causes ctypes to throw WinError 998 when initializing CDLL

Open
#107 2 comments 0 reactions 0 assignees View on GitHub
toolkit: Qt
Dominant language
Python
Stars
115
Forks
54
PR merge metrics
No merged PRs in 30d

Description

I have a 3rd-party dll for controlling a PCI card (a spincore pulseblaster http://spincore.com/products/PulseBlasterESR-PRO/PulseBlasterESR-PRO.shtml).

I can use this fine as a ctypes.CDLL object, but if I import QtGui or QtCore from pyface before loading the dll, I get
WindowsError: [Error 998] Invalid access to memory location
when loading the CDLL object.

loading the dll before importing pyface seems to be ok.
I'm running python 2.7.5 from python(x,y) on windows 7 x64

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.