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

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
Declare and <DllImport> in VB.NET have different results
how to import/export dll and use its function

Categories

HOME
android
notepad++
google-app-engine
microsoftgraph
google-cloud-platform
cheerio
jmeter
3d
composite-primary-key
requirements
error-handling
tail
pyqt4
gembox-spreadsheet
project
appcelerator-studio
angular-dart
code-generation
azure-iot-hub
glyphicons
lilypond
pimcore
scriptella
angularjs-components
asymptotic-complexity
delimiter
progress-bar
firebase-analytics
user-defined-functions
eviews
aws-codecommit
dst
fstream
hard-drive
gnat-gps
dynamic-jasper
pdw-file-browser
postgresql-8.4
glm-math
bindingnavigator
tcc
berkeley-db-je
memory-mapping
phpdbg
puredata
servermanager
proget
reportservice2010
facebook-pixel
openblas
stdmap
java-bytecode-asm
boxing
android-testing
arules
cup
google-photos
gets
adafruit
resourcemanager
x-tag
jquery-jscrollpane
pre-build-event
dbamp
findfirst
realsense
xvim
ons-api
phonertc
uncompress
google-refine
snoop
execve
post-commit-hook
metatrader5
linkedin-jsapi
tweenlite
rmysql
grails-domain-class
vbe
windows-embedded-standard
http-patch
kogrid
pclzip
windows-98
extreme-programming
xcode3.2
boost-signals
azman
relative
luabind
htdocs
mysql-error-1205
rmdir
cdonts
mtu
svk
object-database
interop-domino
sifr3
fault-tolerance
fdf
java1.4

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