Jump to content

AutoItX VC6 example compilation error


c0der
 Share

Recommended Posts

Hello!

I have installed AutoIt V3.3.6.1. I try to integrate AutoIt features into Visual C++ application using AutoItX, but I can't even compile the example project located in C:\Program Files\AutoIt3\AutoItX\StandardDLL\VC6\Example\. When compiling project with Visual C++ 6.0, I get following errors:

--------------------Configuration: main - Win32 Release--------------------

Compiling...

main.cpp

C:\Program Files\AutoIt3\AutoItX\StandardDLL\VC6\Example\main.cpp(17) : error C2664: 'AU3_Run' : cannot convert parameter 1 from 'char [12]' to 'const unsigned short *'

Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast

C:\Program Files\AutoIt3\AutoItX\StandardDLL\VC6\Example\main.cpp(18) : error C2664: 'AU3_WinWaitActive' : cannot convert parameter 1 from 'char [11]' to 'const unsigned short *'

Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast

C:\Program Files\AutoIt3\AutoItX\StandardDLL\VC6\Example\main.cpp(19) : error C2664: 'AU3_Send' : cannot convert parameter 1 from 'char [9]' to 'const unsigned short *'

Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast

Error executing cl.exe.

main.exe - 3 error(s), 0 warning(s)

I already tried to Google these error messages but didn't find anything usefull. Any help would be greatly appreciated.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...