Hello, first of all I want to say THANK YOU for your very helpful article! Would you please additionally help me understanding some parameters? //AU3_API void WINAPI AU3_ControlGetHandle(const char *szTitle, /*[in,defaultvalue("")]*/const char *szText
//, const char *szControl, char *szRetText, int nBufSize);
[DllImport("AutoItX3.dll", SetLastError = true, CharSet = CharSet.Auto)]
static public extern void AU3_ControlGetHandle([MarshalAs(UnmanagedType.LPStr)] string Title
, [MarshalAs(UnmanagedType.LPStr)] string Text, [MarshalAs(UnmanagedType.LPStr)] string Control
, byte[] RetText, int BufSize); Using the registered version I do only need 3 parameters, the dll expects 5. What do I have to put in for byte[] RetText and int BufSize ? Greetings from Germany Sue Ups.....sorry for mistyping the word use in the headline....