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
service-worker
sonarqube
google-cloud-platform
oracle12c
scikit-learn
string
zend-framework
jsf-2.2
socket.io
sublimetext
seo
cublas
simulink
jquery-ui
retrofit2
arangodb
mql5
g++
openstreetmap
eip
android-intent
dreamweaver
forgot-password
foreign-keys
breadth-first-search
r-mice
react-toolbox
parcelable
tosca
flask-sqlalchemy
google-api-client
expressionengine3
surveymonkey
fat
licensing
ms-access-web-app
apktool
firebase-analytics
wcag
tpm
sinch
user-defined-functions
carrierwave
failover
mql
sqsh
paragraph
playstation-portable
laravel-eloquent
hreflang
hard-drive
modalviewcontroller
lint
imagenet
azure-arm
claims
lpsolve
chronicle-map
apollostack
show-hide
vaadin-charts
snapchat
linter
mschart
geotiff
filehandle
reshape
redistributable
preprocessor
greatest-n-per-group
mediametadataretriever
createprocess
nio2
exim4
crouton-os
jbase
rewrite
opserver
sapscript
branch-and-bound
botan
matlab-deployment
gamekit
sql-scripts
iso-prolog
raygun
ios8-extension
terminate
authlogic
menubar
amslidemenu
drupal-nodes
visual-studio-express
gtm-oauth2
jammer
neos-server
process-explorer
scmmanager
twisted.web
dopostback
monotouch.dialog
os.system
ilasm
fitbounds
agility.js
drawtobitmap
cgbitmapcontextcreate
massive
lxr
mathematical-notation
software-lifecycle
localizable.strings
leader

Resources

Database Users
RDBMS discuss
Database Dev&Adm
javascript
java
csharp
php
android
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App