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

Cannot create automation object - lotusscript
DllImport is not found C++
Mangled member function name different during dllimport
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

Categories

HOME
jpa
alexa-skills-kit
flex
swt
static
battery
sitecore
google-cloud-functions
cq5
code-coverage
boto3
ibeacon-android
distribution
eip
azure-powershell
event-sourcing
chargify
vuejs
google-container-registry
lilypond
visual-studio-extensions
epsilon
draft-js-plugins
custom-post-type
licensing
ms-access-web-app
bioinformatics
sqlpackage
vex
paragraph
r-grid
wacom
linkedhashmap
roblox
lint
android-augmented-reality
ods
dcmtk
wmp
subclipse
opencmis
dynamic-linq
opennms
magento-2.0.7
yii2-api
twilio-click-to-call
static-cast
headless
structuremap4
rocks
slackware
atlas
adafruit
windows-azure-queues
nikeplus-api
swizzling
omniauth-facebook
redis-cluster
lz77
qbxml
user-management
jbase
relativelayout
jdi
finalbuilder
eoferror
branch-and-bound
botan
omnifaces
j-security-check
phpldapadmin
primitive-types
rickshaw
linkedin-jsapi
draw2d-js
clickbank
qscrollarea
away3d
scringo
insert-id
cascadingdropdown
mysql-error-2013
garbage
azman
user-tracking
htdocs
cgbitmapcontextcreate
tmx
facebook-iframe
object-database
office-2007
ajax-polling
interprocess
skype4java
feasibility
wordprocessingml
software-lifecycle
unmanagedresources

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