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

2017-04-06 Thread Stranger
Question #612996 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/612996

Status: Answered => Solved

Stranger confirmed that the question is solved:
Thank you, it has been resolved!

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

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


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

2017-04-06 Thread Manfred Hampl
Question #612996 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/612996

Status: Open => Answered

Manfred Hampl proposed the following answer:
https://sourceforge.net/p/jython/mailman/jython-
users/thread/71b0d374-5fd3-4c03-95cd-320e07f04...@gmail.com/ might help

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

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


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

2017-04-06 Thread Stranger
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.

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp