Details
-
Type:
Wish
-
Status:
Resolved
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 0.9.2
-
Fix Version/s: 0.9.2
-
Component/s: None
-
Labels:None
-
Environment:Windows 7 x64 RC
Intel Core 2 Quad Q6600
Kingston 4GB Ram
nVidia 8800GT
-
Number of attachments :
Description
I'm very very new to Boo. I could make a AutoIt app in C#. Using SharpDevelop 3.1. This is a very easy question. For who don't know AutoIt, it is a basic like language. It can simulate mouse click and key presses. Works on most directx and other games. It has a DLL called AutoItX that can be used in other languages. So, I successfuly added reference of AutoItX.dll in SharpDevelop.
In C#, I get the functions by this code: au3 = new AutoItX3Lib.AutoItX3Class(); But in Boo, au3 = AutoItX3Lib.AutoItX3Class or au3 = AutoItX3Lib.AutoItX3Class() don't work right. I can't get the functions. I typed functions manually, I saw the description well, but when I try to compile, there was an error called "'WinActivate' is not a member of 'System.Type'". WinActivate is the function. I can see functions in Class Table, all of them! When I use with (), and click the button, debugger shows a message and marks au3 = AutoItX3Lib.AutoItX3Class(). Please help me.
Ok I found the problem. I registered AutoItX3.dll in command prompt. I added it from COM. Still can't see the functions but manually adding works.