Closed.
Bec c++ is better and fastest than autoit :)Quote:
Well first of all why don't you just use autoit if you know how to do it with it?
Second, you shouldn't use Internet Explorer (or any browser component) if you don't have to. Maybe you can just use an http client, for example [Only registered and activated users can see links. Click Here To Register...].
Why is C++ better? It's all a matter of the usecase. For example you want to write a small macro with a simple GUI, it's way more complicated in C++ and you gain nothing from C++. The other way around, if you want to write a network protocol I won't recommend using AutoIt.Quote:
Bec c++ is better and fastest than autoit :)
Thanks for your infos and for your time...Quote:
Why is C++ better? It's all a matter of the usecase. For example you want to write a small macro with a simple GUI, it's way more complicated in C++ and you gain nothing from C++. The other way around, if you want to write a network protocol I won't recommend using AutoIt.
If you want to use IE than you it will be much harder in C++ than in AutoIt, and you dont get anything better from C++, and even with webrequest I dont think you gain anything from using C++, so for your usecase AutoIt might be better (Especially because you already know how to use AutoIt).
Also with the speed argument, if you use http the transmition of the data will take a few (tens to hundreds) of milliseconds, independent from the programming language. So it doesn't matter if your C++ code will be executed 10x faster, because this is in the mycroseconds, so the runtime difference will be less than one percent.
If you use the Internet Explorer it will be even worse, because you are capped to the (really slow) speed of the IE component, so there is no real speed difference between AutoIt and C++. And I won't even start about GUI's.
Even if there would be (e.g. you would have a GBit network connection), than i very much doubt that it would matter for you either. Modern CPU's run on a clock speed of several GHz, and most PC's even have more than one CPU. So the overall runtime difference will be in the milliseconds (maximum). You only need to care about speed when you have big inputs, or you are on a time critical task.
And if speed is so important to you, why do you use slow C++ instead of lightning fast Fortran?
Yes, and for those cases C/C++ is superior to AutoIt, but you just can't generalize it to any use case. Programming languages are like tools. If you want to get a nail into the wall, you use one tool and if you want to paint your wall, you use another tool. Did you ever try to paint a wall with a hammer? I know that is ridiculous, but that would happen, if you would apply a generalization like that to the metaphor.Quote:
Thanks for your infos and for your time...
Anyway i know that autoit is much easier than c++ but actually firstly autoit is virus and did u compare hooking in c++ and in autoit ? maybe no maybe yes but hooking in c++ is fantastic and faster than autoit 2x times well i have compared finiding addys from patterns, c++ tooks only 1 seconds in finding 5 Addys while autoit tooks 5 seconds for the same 5 addys well i love autoit very much but after using c++ ... no.
but maybe iam wrong.
This is exactly what i meant, its about the usecase. Programming languages are tools, every language is fitted best for some purpose, and i guess, for what you like to do archive (well i can only guess, but with webbrowser i think you want to make a bot for a website) i think AutoIt might be better fitted than C++ (mostly because i think C++ is way to complicated for making such simple bots, i would use a language like C# or python for a web bot). And of course, if you do something with a large input (like an address Scan which is basically string matching on a very large string) C++ is better.Quote:
Thanks for your infos and for your time...
Anyway i know that autoit is much easier than c++ but actually firstly autoit is virus and did u compare hooking in c++ and in autoit ? maybe no maybe yes but hooking in c++ is fantastic and faster than autoit 2x times well i have compared finiding addys from patterns, c++ tooks only 1 seconds in finding 5 Addys while autoit tooks 5 seconds for the same 5 addys well i love autoit very much but after using c++ ... no.
but maybe iam wrong.