* Added an error message
* Now using .dll from system path.
This commit is contained in:
parent
a04155be8c
commit
358a871493
3 changed files with 133 additions and 131 deletions
|
|
@ -227,7 +227,8 @@ class PCANBasic:
|
|||
def __init__(self):
|
||||
# Loads the PCANBasic.dll
|
||||
#
|
||||
self.__m_dllBasic = windll.LoadLibrary("../PCANBasic/PCANBasic")
|
||||
#self.__m_dllBasic = windll.LoadLibrary("../PCANBasic/PCANBasic")
|
||||
self.__m_dllBasic = windll.LoadLibrary('PCANBasic')
|
||||
if self.__m_dllBasic == None:
|
||||
print "Exception: The PCAN-Basic DLL couldn't be loaded!"
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue