I need acess to some windows API stuff, namely SendInput. I'm looking at msdn so i know that it needs some arguments and so on, but what confuse me is the structures it requires, it requires a input structure, and that input structure requires a mouse/keyboard input structure in turn.
My experience with APIs so far is to copy pasta a code snippet and running it, so i'm somewhat confused on what to do.
Lanaguage i'm using is ruby.
halp please!
Name:
Anonymous2006-12-15 8:50
1. Welcome to real programming (where you don't copypasta)
2. Welcome to Win32 API (where your life is hell)
>>2
programming is basically iterlacing a shitload of copy pasta with eachother, adding some memes and changing a little in places to make it fit better.
>>5
Then tell me, what previously undiscovered commands have you stumbled upon in whatever language you're using? Oh wait, all commands have been designed to be there, they're all premade shit that you just add some value or arguments to. gb2 /elitism/
>>10
The oh so gigantic security holes that haven't done jack shit to my windows in the last 3 years i've been running without antivirus and firewall.
Macfaggotry is only safer for retards. And only appealing to homosexuals, me being neither i'll stay with my windows thank you.
Name:
Anonymous2006-12-15 15:45
>>11
You're pretty cool. Can you post the url to your blog?
>>11
can you show us the specifications of the DOC file format? or Windows' hidden APIs? this is why Windows should never be used seriously by any developper.
Name:
Anonymous2006-12-16 9:52
>>14
So just because windows fails at 2 point i should convert to macfaggotry to be able to do some very basic coding? Especially for coding i indent to have work with a game that is only supported under windows.
You should get a medal for your masterful reasoning. It would say "lol i'm stupid" and be made out of plutonium to ensure your demise.
>>16
out of arguments and bitter for not being able to afford a real computer.
Name:
Anonymous2006-12-16 11:30
>>15
you work "with" a game? what a loser, you either write one or play with one
Name:
Anonymous2006-12-16 11:58
>>18
Your troll skills are weak, they're at the level of flaming, ie: worthless personal insults in the class of "lol u suk!", not that i expect any more from someone using a mac, anyway either put some efforts into it or just kill yourself.
And playing games which involves grinding that is a direct insult to anything with any intellect to speak of(ie: not you) is not something i will do when i might as well put together a short code snippet and have it do it for me instead.
Name:
Anonymous2006-12-16 14:32
>Lanaguage i'm using is ruby.
using win32 api in anything other than C/C++ is absolutely not worth it.
Name:
Anonymous2006-12-16 15:32
>>20
Could you elaborate why? Ruby got some nice and simple functions that acess APIs.
And as i've understood it it's running on a C base and is mainly just a simplification of all commands and syntax.
>>20
Agreed, except for small stuff you want to do and you can't in some language, such as controlling process/thread priorities, for example.
Name:
Anonymous2006-12-16 15:54
>>19
lol mac hater is trying to flame :D try to correct your orthograph before pretending to be intelligent, ans STOP USING WIN32, there is no point in being stuck with one OS, this just proves that your achitecture is flawed from the start.
Name:
Anonymous2006-12-16 16:41
>>22
it's no major API heavy operations i'm intending to do, mouse and keyboard input. And getting to know what's displayed on the screen. Not really in a hurry or seeking to make super optimized software here.
>>23
When you reply to me in perfect swedish is when you can open your grammar-nazi mouth to tell me off. Trolling people's language use is yet another sign that you're retarded, it's what you learn in elementary trolling school "point at him and repeat after me, 'LOL YOU FORGOT CAPITAL LETTER AT START OF SENTENCE'" , and when you troll some fault in people; make sure you're not doing any mistake in that department yourself. As it stands now you fail many times harder than me in your language use.
And why should i use something other than windows when it's perfectly sufficient for everything i need and want to do and the alternatives are not sufficient for what i need and want to do?
IHBT i guess but whatever.
Name:
Anonymous2006-12-16 17:09
Sluta fitta ned prog med ert monotona bräkande nu, gubbar.
Name:
Anonymous2006-12-16 17:26
>>25
Gievf API halp and atleast I will be gone from here.