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

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
Declare and <DllImport> in VB.NET have different results

Categories

HOME
android
cygwin
phantom-dsl
azure-stream-analytics
cheerio
dns
rdbms
jwplayer
jsf-2.2
entity-framework-core
cakephp-3.4
telegram-bot
jtextpane
angularfire2
modal-dialog
minecraft-forge
heap
jxl
onedrive-api
selectize.js
do-while
parameter-passing
coin3d
event-sourcing
aws-sdk
google-data-studio
asp.net-core-webapi
drive
blade
string-concatenation
hta
dapper-extensions
expressionengine3
slidetoggle
stackexchange
delimiter
entity-relationship-model
progress-bar
fractions
soot
quantlib
cppreference
record
installscript
reverse
alphabetical
timing
mongoose-schema
glm-math
uiimage
procfile
mongotemplate
video-conferencing
stdmap
java-6
opengl-4
flac
google-photos
vibrate
change-tracking
gets
rocks
cudd
atlas
preprocessor
uicolor
firebase-security
mediametadataretriever
fink
beanstalk
aspen
kendo-upload
concept-insights
sciruby
java-money
vigenere
poppler
zen-cart
extjs-grid
evolus-pencil
eoferror
dbaccess
punycode
trdion2011
create.js
ora-00904
gae-quotas
visual-studio-express
hibernate-entitymanager
jammer
inputmismatchexception
poker
scmmanager
dolby-audio-api
fb.ui
asplinkbutton
device-width
subgraph
convention
automationelement
cuteeditor
photolibrary
timertask
vs-android
non-clustered-index
rowlex
netbeans6.1

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