Jump to content

Recommended Posts

Posted
  On 7/14/2023 at 8:19 AM, jchd said:

Ahem! The very first versions of C++ were just a C pre-processor !

Expand  

  Implementation detail :P

  On 7/14/2023 at 9:11 AM, TheSaint said:

I'd dabbled with some C variants etc, but was quite turned off by them, they not matching how my mind works or wants to work.

Expand  

Time to try Rust :muttley:

EasyCodeIt - A cross-platform AutoIt implementation - Fund the development! (GitHub will double your donations for a limited time)

DcodingTheWeb Forum - Follow for updates and Join for discussion

Posted
  On 7/14/2023 at 10:10 AM, TheDcoder said:

Time to try Rust

Expand  

Yeah yeah. I do seem to recall having a quick look at it a while back, like I usually do with new languages ... just to see if anyone is as smart as Jon ... not found any yet ... plenty of clever folk though ... nerdies. :P 

Make sure brain is in gear before opening mouth!
Remember, what is not said, can be just as important as what is said.

  Reveal hidden contents

I may have the Artistic Liesense ;) to disagree with you. TheSaint's Toolbox (be advised many downloads are not working due to ISP screwup with my storage)

userbar.png

Posted
  On 7/14/2023 at 3:32 AM, argumentum said:

Goodness !, ... different languages, cultures and thought patterns !.

All he is saying, ( not very well in English I must say ), is that even a default "Hello world" ( in C, C++, AutoIt, MyOwnLanguage ), gets a "no go" from the virus detectors. That's that in regards to viruses.

The C++ is in regards to structs, pointers and DLL handling. And that is that in regards to the "C++" thing.

Good chat :gathering:

Expand  

But that's not true as well.  I compiled a simple app in C++ and all reports has been ok except a no name AV software, which I had to google to get some info about and it was some shitty AI probably in training. So it's not just a language barrier, his claims are wrong.

Posted
  On 7/14/2023 at 3:00 PM, Andreik said:

I compiled a simple app in C++ and all reports has been ok ....  So it's not just a language barrier, his claims are wrong.

Expand  

"I married 3 times, divorced 3 times, marriage is doom to failure." Well, that is 1 experience. Go figure what made the marriages fail ( it was me ), I have no clue, I'm the best there is.

If he has a claim, he has a claim. In his view is true and ... that's his experience. Let's do something about it. Zip up your code, give it to him, he'd translate it to his native langue and/or use his compiler and see if the resultant binary is better accepted by the AVs, or not. Lets debug it via a scientific method. Replication :)

Follow the link to my code contribution ( and other things too ).
FAQ - Please Read Before Posting.
autoit_scripter_blue_userbar.png

Posted (edited)

Nah, my default code is better than his default code. I won't give him mine. I'm not sure what he is doing wrong and why all red flags are on, I just hope his window name doesn't have a title such as "My Default Trojan - It's just a test bro" or something like that. :whistle:

 

PS: @argumentum with such experience, I should hire you to translate me all strange requests from this forum :muttley:

Edited by Andreik
Posted (edited)
  On 7/13/2023 at 7:24 PM, wolf9228 said:

In this topic, I discuss the requirement for knowledge of the C++ language and by those who practice writing scripts and on various programming languages such as Autoit, BASIC, or other languages. Why should a programmer have knowledge, even if it is simple, of C++, because references to Windows functions Written in C++ on the MSDN website... Most of the basic references are written in C++, and most of the programming examples are written on the MSDN website in C++... Likewise, I encountered here in the Autoit forum those who denounce A topic I raised in the forum has to do with the C++ language. The C++ language can be discussed and raised here, to some extent, and in all programming forums, because it is the basic Windows reference language... Other than that, there are general topics in Windows system programming that can be raised here in the Autoit forum. Or in other Windows programming forums... For example, the false reports of protection programs about executable files and the various integrated development environments that work on the Windows system... Thank you... Greetings.

Expand  

I fully agree with you, knowing c++ is definitely an added value to be able to master the interaction between autoit and controls/objects available in windows. (I don't understand the criticisms I've read in previous posts) As you said in your original post, the documentation and control references on Microsoft's site assume you are an experienced C++ programmer. (...unfortunately for me it is not my case)
For example, if you want to use the AutoIt functions ObjCreateInterface() or ObjectFromTag() to use COM controls/objects, you need to "translate" the declarations of classes, interface members and also variable types contained in its C/C++ header file  and adapt them to AutoIt .... not a simple task if you don't know C/C++
In this regard, check out <this topic> by @LarsJ.
It is not essential to know C/C++ for a basic use of AutoIt, but if you want to make more "hard" use of it, also taking advantage of the controls made available by Windows, then knowing C/C++ will be essential, otherwise you will be forced to preclude those possibilities.

Looking back on your previous topics, I see you have a good understanding of using COM objects from AutoIt. If you agree, I would like to ask for your opinion; Do you think it's possible to write a tool like TLIBIMP.EXE but for AutoIt? This tool should convert type definitions found within a COM type library file (or better within the header file since it is plain text) into equivalent definitions/description tags ready to be used by ObjCreateInterface() and ObjectFromTag() commands??
It really would be a wonderful tool!

Thank you

Edited by Gianni

 

image.jpeg.9f1a974c98e9f77d824b358729b089b0.jpeg Chimp

small minds discuss people average minds discuss events great minds discuss ideas.... and use AutoIt....

Posted (edited)
  On 7/16/2023 at 11:07 PM, Gianni said:

... In this regard, check out <this topic> ...

Expand  

so I followed the rabbit hole, ..found the WebView2 posting ... and I'm like "hmm, what about a JSON/HTTP/AutoIt with what we already have ?", and rehashed this code from a http server to open as "--app" in chrome.

  Reveal hidden contents

that other than the window itself, everything inside is HTML/CSS as a GUI, and IPC via JSON/AJAX to AutoIt.

And yes, those default UDFs are DLL driven, ... WinAPI, ..but the regular AutoIt user need not know C++, just be ...creative ?  ( my 2 cents, please don't hate me )

PS: I used jeasyui in PHP before but might as well serve the data from the above code.

Edited by argumentum
better code

Follow the link to my code contribution ( and other things too ).
FAQ - Please Read Before Posting.
autoit_scripter_blue_userbar.png

Posted
  On 7/16/2023 at 11:07 PM, Gianni said:

otherwise you will be forced to preclude those possibilities.

Expand  

Unless someone else has done it already.

I'm also not saying that C/C++ is not of benefit to an AutoIt coder, of course it can be. It just isn't mandatory unless something you are doing with AutoIt requires it and no-one has provided a solution for you in the examples or UDFs, such that  you need to come up with one yourself. I have never had to do such myself, though I have on the rare occasion looked at VB for a solution, where I then had to translate it for AutoIt. That happened when I was whipping up something to read/play CDs. I have also had to dabble with issues in the odd UDF, but never gone directly to C/C++ for a solution.

That said, while I consider myself pretty good at getting the best out of AutoIt for my needs and wants, I would in no way consider myself a master programmer ... just too much I don't really know or understand. The closest I have gotten to wanting to know more than AutoIt, was a brief period where I felt like developing something for my phone, but after looking into it I gave up on the idea and decided I could live without the torture to my brain. :lol: 

Make sure brain is in gear before opening mouth!
Remember, what is not said, can be just as important as what is said.

  Reveal hidden contents

I may have the Artistic Liesense ;) to disagree with you. TheSaint's Toolbox (be advised many downloads are not working due to ISP screwup with my storage)

userbar.png

Posted

I think we all agree, even OP, that the more knowledge one has, the better.
While it's not mandatory, the more knowledge you have, the more interesting things you can do and create on your own. Sure if someone else does it for you then it's easier, but it's not the same thing...

"Knowledge makes you free" (Socrates) 

;)

 

image.jpeg.9f1a974c98e9f77d824b358729b089b0.jpeg Chimp

small minds discuss people average minds discuss events great minds discuss ideas.... and use AutoIt....

Posted (edited)
  On 7/17/2023 at 4:00 PM, Gianni said:

"Knowledge makes you free" (Socrates) 

Expand  

While I mostly agree, it can also make you dangerous ... especially if you don't have enough. ;) 

It can also make you more acutely aware of your situation ... which might not make you happy, if you feel trapped in it etc. :( 

The moral of all that, is to not feel trapped using just AutoIt ... if indeed it could feel that way to you. Follow you heart, so they say .... perhaps your mind too.

Edited by TheSaint

Make sure brain is in gear before opening mouth!
Remember, what is not said, can be just as important as what is said.

  Reveal hidden contents

I may have the Artistic Liesense ;) to disagree with you. TheSaint's Toolbox (be advised many downloads are not working due to ISP screwup with my storage)

userbar.png

  • 4 weeks later...
Posted

I agree with @wolf9228. In the meantime, I've been able to acquire a little C/C++ knowledge that now makes reading source code on MSDN sites and the like a little easier. It's not essential for Autoit, but it's helpful when browsing pages where the source code is written in C/C++. 
For beginners Autoit is extremely suitable, since one hardly needs WinAPI knowledge and programming with the WinAPI simplifies very much. If you want to look under the hood, then you must inevitably deal with the WinAPI and there is no way around MSDN...

 

Please don't send me any personal message and ask for support! I will not reply!

Selection of finest graphical examples at Codepen.io

The own fart smells best!
Her 'sikim hıyar' diyene bir avuç tuz alıp koşma!
¯\_(ツ)_/¯  ٩(●̮̮̃•̃)۶ ٩(-̮̮̃-̃)۶ૐ

Posted

You can look even more under the hood and learn assembly, but wait you can look even more under the hood and write binary code. So the conclusion might be that everything it's a must know. It's definitely good to know as much as you can but what you really need depends very much of what do you try to achieve. Most people will be perfectly happy with what native AutoIt provides.

Posted
  On 8/10/2023 at 8:47 PM, Andreik said:

You can look even more under the hood and learn assembly, but wait you can look even more under the hood and write binary code. So the conclusion might be that everything it's a must know. It's definitely good to know as much as you can but what you really need depends very much of what do you try to achieve. Most people will be perfectly happy with what native AutoIt provides.

Expand  

Keep it real. Most compilers are so good that you only need assembler in special situations and C/C++ is not everything. 😉

Agreed, those who do not want to expand their horizons will be fine with the Autoit functions. 

Please don't send me any personal message and ask for support! I will not reply!

Selection of finest graphical examples at Codepen.io

The own fart smells best!
Her 'sikim hıyar' diyene bir avuç tuz alıp koşma!
¯\_(ツ)_/¯  ٩(●̮̮̃•̃)۶ ٩(-̮̮̃-̃)۶ૐ

Posted

...do I have to moderate ?, no ?, ok, I will, but I rather not. In any case..., all of you are right in your statements.
The title say "Knowledge of C++ language is necessary" and the answer is no.
Is it beneficial ?, yes. Is it needed ?, no. Should you learn it, yes. Must you ?, no.

Good chat, carry on.

PS: if anyone can show me links to how to have GUIs as easy as with AutoIt ( with "add your own code if you feel like to" and not be locked in a "drag and drop builder" only mode ), I'll try that language. Thanks :)

Follow the link to my code contribution ( and other things too ).
FAQ - Please Read Before Posting.
autoit_scripter_blue_userbar.png

Posted
  On 8/10/2023 at 9:00 PM, UEZ said:

Keep it real. Most compilers are so good that you only need assembler in special situations and C/C++ is not everything. 😉

Agreed, those who do not want to expand their horizons will be fine with the Autoit functions. 

Expand  

I can agree on the part that most compilers are very nice optimized and with intrinsics you can even have access to instructions without writing assembly code but you can't really say that assembly it's useful in few special situations because we have such good compilers. I'm not saying that it's better because it depends on what are you working but it's way more useful than in special situations.

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
  • Recently Browsing   0 members

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