Ok, I have been playing around with the Windows API for a while now. It's great, sure, but it's also hard and complicated to learn. I have to write 20 lines of code to get a file from the internet, not to mention all the types and everything that I have to get around. So, I had a thought today.
I don't know if any of you have heard of AutoIt. It's an interpreted language that in my mind is like a translation of C++ and the Windows API to something simpler and easier to use, great for someone that's just learning! Alas, it comes at a price. It's slower than hell. (Interpreted language). So, here's my idea. No promises, because it's quite a large undertaking.
Create a C++ library that contains functions to make the whole Windows.h experience easier, more enjoyable, and just as fast (well...like 95% as fast). Some functions in the library will be as simple as throwing and int cast in front of a function and returning it. Others...more complex. It will hide all the dirty details from the user, and if the complicated inner workings of Windows.h need to show its ugly head, the library's functions will at least convert the error codes to something a little more manageable, as in a plain text error ('out of memory' as oppose to 'error code 10045' or something). Using AutoIt as an example, I hope to eventually have something as useful, a million times faster, and at some point, more comprehensive. Consider this a long term goal.
http://www.autoitscript.com/autoit3/docs/functions.htm
What do you guys think? Has it already been done? Think it's a stupid idea? Love it? Hate it? I would love any feedback at all, good or bad.
Thanks in advance!