Jump to content
Sign in to follow this  
xuanmai

autoIT in C++

Recommended Posts

xuanmai

I have read the directions from here http://www.mmowned.com/forums/general-prog...c-programs.html when I have 1 application written in C + + and would like to add some functions of AutoIT though I was successful but the program that I created when running can not be missing files AutoIT3.dll.Vay how to resolve this issue


no one

Share this post


Link to post
Share on other sites
martin

I have read the directions from here http://www.mmowned.com/forums/general-prog...c-programs.html when I have 1 application written in C + + and would like to add some functions of AutoIT though I was successful but the program that I created when running can not be missing files AutoIT3.dll.Vay how to resolve this issue

Are you using Visual C++?

Serial port communications UDF Includes functions for binary transmission and reception.printing UDF Useful for graphs, forms, labels, reports etc.Add User Call Tips to SciTE for functions in UDFs not included with AutoIt and for your own scripts.Functions with parameters in OnEvent mode and for Hot Keys One function replaces GuiSetOnEvent, GuiCtrlSetOnEvent and HotKeySet.UDF IsConnected2 for notification of status of connected state of many urls or IPs, without slowing the script.

Share this post


Link to post
Share on other sites
xuanmai

Are you using Visual C++?

yes,thank you

no one

Share this post


Link to post
Share on other sites
martin

yes,thank you

I am not sure I understood your question. Are you saying that Autoit3X.dll is missing? It should be in ..\Program Files\AutoIt3\AutoItX

Serial port communications UDF Includes functions for binary transmission and reception.printing UDF Useful for graphs, forms, labels, reports etc.Add User Call Tips to SciTE for functions in UDFs not included with AutoIt and for your own scripts.Functions with parameters in OnEvent mode and for Hot Keys One function replaces GuiSetOnEvent, GuiCtrlSetOnEvent and HotKeySet.UDF IsConnected2 for notification of status of connected state of many urls or IPs, without slowing the script.

Share this post


Link to post
Share on other sites
xuanmai

I am not sure I understood your question. Are you saying that Autoit3X.dll is missing? It should be in ..\Program Files\AutoIt3\AutoItX

no, my mind is when I use exe files have been translated (with all functions in AutoIT) then if you want to use exe files that need to DLL files (Autoit3X.dll). This is inconvenience, there are ways to do and not bring the file does not follow Autoit3X.dll

no one

Share this post


Link to post
Share on other sites
komalo

well you can try moving AutoItX3.dll to your program dir and registering it by regsvr32 + dllname


[font="Palatino Linotype"][size="3"]AutoIt Script Examples :[/size][/font][font="Palatino Linotype"][size="3"]_CaptureBehindWindowGlass CMD for Windows Vista/Seven[/size][/font][left][/left][font="Palatino Linotype"][size="3"]Non AutoIt Script programs : Border Skin - Aero Glass On XP[/size][/font]

Share this post


Link to post
Share on other sites
xuanmai

well you can try moving AutoItX3.dll to your program dir and registering it by regsvr32 + dllname

I do not understand registration regsvr32 + dllname mean anything,you can say more Edited by xuanmai

no one

Share this post


Link to post
Share on other sites
komalo

regsvr32 + dllname is the cmdline to register a dll or ocx in windows

http://en.wikipedia.org/wiki/Regsvr32

http://technet.microsoft.com/en-us/library/bb490985.aspx


[font="Palatino Linotype"][size="3"]AutoIt Script Examples :[/size][/font][font="Palatino Linotype"][size="3"]_CaptureBehindWindowGlass CMD for Windows Vista/Seven[/size][/font][left][/left][font="Palatino Linotype"][size="3"]Non AutoIt Script programs : Border Skin - Aero Glass On XP[/size][/font]

Share this post


Link to post
Share on other sites
martin

no, my mind is when I use exe files have been translated (with all functions in AutoIT) then if you want to use exe files that need to DLL files (Autoit3X.dll). This is inconvenience, there are ways to do and not bring the file does not follow Autoit3X.dll

I don't think you can use the AutoIt ACtiveX without the Autoit3x.dll file.

I'm not exactly an expert though. I installed Visual C++ 2 days ago and I have no idea how to use it yet!


Serial port communications UDF Includes functions for binary transmission and reception.printing UDF Useful for graphs, forms, labels, reports etc.Add User Call Tips to SciTE for functions in UDFs not included with AutoIt and for your own scripts.Functions with parameters in OnEvent mode and for Hot Keys One function replaces GuiSetOnEvent, GuiCtrlSetOnEvent and HotKeySet.UDF IsConnected2 for notification of status of connected state of many urls or IPs, without slowing the script.

Share this post


Link to post
Share on other sites
Richard Robertson

To put it as simply as possible, you must have the dll with your C++ program if you want to be able to call functions from it. Don't try anything stupid because it doesn't work that way.

Share this post


Link to post
Share on other sites
xuanmai

To put it as simply as possible, you must have the dll with your C++ program if you want to be able to call functions from it. Don't try anything stupid because it doesn't work that way.

if the missing DLL files do not run the application properly, I want to ask, have any project can be programmed to not need to follow DLL files application does not

well you can try moving AutoItX3.dll to your program dir and registering it by regsvr32 + dllname

can not put into function in the DLL files exe??? Edited by xuanmai

no one

Share this post


Link to post
Share on other sites
Richard Robertson

The only way not to use the dll is by writing the functions yourself in C++ code. Many of the functions are not that complicated and you'd probably see some speed improvements if you write them well.

Share this post


Link to post
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
Sign in to follow this  

×