← Back to team overview

sikuli-driver team mailing list archive

[Question #612996]: Is it possible to import extern dll file in sikuli script?

 

New question #612996 on Sikuli:
https://answers.launchpad.net/sikuli/+question/612996

Now I want to write a script in sikuli, but in this script it need to import extern dll file,  but I encounter one error after run.
This script works fine in python environment.  So I want to know if it is possible to import extern dll file in sikuli script?

I list my script as below, 

import ctypes
dll = ctypes.cdll.LoadLibrary('D:\working\UI_TEST\sikuli\DllCallPython.sikuli\DllTest.dll')
print dll.Add(1,2)

but error is reported  in log window:
[error] script [ DllCallPython ] stopped with error in line 3
[error] NotImplementedError ( variadic functions not supported yet; specify a parameter list )

Could you help me? How to do with it?

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.