dllimport


Python 2.5 Import dll AttributeError


I have a program that runs peachy in Py2.4. I import the TobiiPlugin.dll file and then run my scripts.
import TobiiPlugin as tobii
tobii.setGazeSubjectProfile(3, 0)
However, when I moved the code to Py2.5 it gets angry at me and I get
Traceback (most recent call last):
File "C:\tobiiDll\TobiiPlugin\Debug\logger_speech.py", line 274, in <module>
main()
File "C:\tobiiDll\TobiiPlugin\Debug\logger_speech.py", line 242, in main
tobii.setGazeSubjectProfile(3, 0)
File "C:\Python25\lib\ctypes\__init__.py", line 325, in __getattr__
func = self.__getitem__(name)
File "C:\Python25\lib\ctypes\__init__.py", line 330, in __getitem__
func = self._FuncPtr((name_or_ordinal, self))
AttributeError: function 'setGazeSubjectProfile' not found
>>>
How did everything manage to go missing? It's not just this function either. I tried others from the DLL and they didn't work either. Thank you!
For some reason the Tobii SDK 3.0 Beta only works with Python 2.4 or Python 2.6.

Related Links

how to use DllImport in metro-style app
Converting doc file to post script
How can I get a COM component which can be used on Windows phone 8 project with C#
Externs and DLL imports
Mixed native and managed code heap corruption
MarshalDirectiveException
call unmanaged C++ code from C# using pinvoke
Detecting DLL Code Splicing
WOW64 Redirection and LoadLibrary
Using C# dll in Windows phone 7
Python 2.5 Import dll AttributeError
Replacing the Import Table in PE file by standart LoadLibrary
Unresolved external symbol
Declare and <DllImport> in VB.NET have different results
how to import/export dll and use its function
HELP linking library in DLL project

Categories

HOME
paraview
c99
fpga
pagination
angular-formly
zend-framework
yahoo-finance
opendj
switch-statement
parameters
google-admin-sdk
opengl-3
pattern-matching
project
mxgraph
glyphicons
job-scheduling
microsoft-dynamics-nav
dreamweaver
fileserver
topology
simpleitk
drive
undertow
squashfs
backpack-for-laravel
exploit
scriptella
appirater
linked-data
soot
gp
winpe
calculation
google-cast
git-squash
latitude-longitude
zoomify
sessionstorage
mongoose-schema
urlsession
numberpicker
laravel-elixir
escpos
naming
subclipse
nanoc
mongotemplate
video-conferencing
wpas
git-flow
boo
payload
d3-force-directed
swingworker
ziparchive
pacemaker
iotivity
tinkerpop3
dotnetnuke-7
x-tag
lean
google-query-language
kango-framework
project-organization
yajsw
database-relations
tfs-workitem
iokit
file-move
rate-limiting
ons-api
extjs-grid
snoop
mraid
universal-image-loader
xml-namespaces
jjaql
jquery-slider
android-framework
renderer
vbe
ora-06550
hidapi
gpars
booksleeve
midlet
pyunit
subgraph
predicatebuilder
mbeans
xui
cloudfiles
svk
vs-android
hbm2java
isapi-extension
zend-rest
request-headers
django-piston
silverlight-oob
sifr3
scrubyt

Resources

Mobile Apps Dev
Database Users
javascript
java
csharp
php
android
MS Developer
developer works
python
ios
c
html
jquery
RDBMS discuss
Cloud Virtualization
Database Dev&Adm
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App