[request] Windows: want to get Sikuli running with .NET using IKVM

Bug #1337744 reported by RaiMan
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
SikuliX
Medium
RaiMan

Bug Description

Hi Raiman,

I have successfully installed sikuli and gotten it to work in Eclipse. My goal is to be able to use sikuli in the .NET framework. I used ikvm to wrap sikuli-java into a dll file. Then, when I attempt to use it in my C# code, I can use screen.type("foo") without any problem. However when I attempt to use Sikuli with images I am running into an error.

[error] ResourceLoaderBasic: checkLibsDir: Fatal error 107: problem copying jawt.dll
File not found
[error] Terminating SikuliX after a fatal error(107)! Sorry, but it makes no sense to continue!

The code I am running has the exact functionality as the code in Java:
if (screen.exists(windowsStartButtonPattern, 0.8) != null)
{ stuff }

I know that Sikuli wasn't developed for .NET, but I am hoping you might be able to tell me something about the way Sikuli works that would explain why it attempts to copy dll files when using images, where it attempts to put them, etc, and maybe even why the system is unable to copy the file.

I have thoroughly explored a lot of the options concerning C# and Sikuli including SikuliIntegrator and Sikuli4Net as well as free interop services between Java and C#, and I think that ikvm is my best option.

While poking around I vaguely remember seeing something that may have indicated that you guys are developing some sort of interface for .NET, so I thought I would just ask you here if you are.

Thanks for your time,
Matt

RaiMan (raimund-hocke)
Changed in sikuli:
status: New → In Progress
importance: Undecided → Medium
assignee: nobody → RaiMan (raimund-hocke)
milestone: none → 1.2.0
Revision history for this message
RaiMan (raimund-hocke) wrote :

@your answer in the related question:
then I have to pause with this issue for now, since I have other priorities.
I will come back to it as soon as possible.

Revision history for this message
Matt Hunter (matthunter1217) wrote : Re: [Bug 1337744] Re: [request] Windows: want to get Sikuli running with .NET using IKVM

Ok, thank you for your help.

I'm looking forward to getting this working someday.

On Wed, Jul 16, 2014 at 10:23 AM, RaiMan <email address hidden> wrote:

> @your answer in the related question:
> then I have to pause with this issue for now, since I have other
> priorities.
> I will come back to it as soon as possible.
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1337744
>
> Title:
> [request] Windows: want to get Sikuli running with .NET using IKVM
>
> Status in Sikuli:
> In Progress
>
> Bug description:
> Hi Raiman,
>
> I have successfully installed sikuli and gotten it to work in Eclipse.
> My goal is to be able to use sikuli in the .NET framework. I used
> ikvm to wrap sikuli-java into a dll file. Then, when I attempt to use
> it in my C# code, I can use screen.type("foo") without any problem.
> However when I attempt to use Sikuli with images I am running into an
> error.
>
> [error] ResourceLoaderBasic: checkLibsDir: Fatal error 107: problem
> copying jawt.dll
> File not found
> [error] Terminating SikuliX after a fatal error(107)! Sorry, but it
> makes no sense to continue!
>
> The code I am running has the exact functionality as the code in Java:
> if (screen.exists(windowsStartButtonPattern, 0.8) != null)
> { stuff }
>
> I know that Sikuli wasn't developed for .NET, but I am hoping you
> might be able to tell me something about the way Sikuli works that
> would explain why it attempts to copy dll files when using images,
> where it attempts to put them, etc, and maybe even why the system is
> unable to copy the file.
>
> I have thoroughly explored a lot of the options concerning C# and
> Sikuli including SikuliIntegrator and Sikuli4Net as well as free
> interop services between Java and C#, and I think that ikvm is my best
> option.
>
> While poking around I vaguely remember seeing something that may have
> indicated that you guys are developing some sort of interface for
> .NET, so I thought I would just ask you here if you are.
>
> Thanks for your time,
> Matt
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/sikuli/+bug/1337744/+subscriptions
>

RaiMan (raimund-hocke)
Changed in sikuli:
milestone: 2.0.0 → 2.1.0
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers