Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon.

Pages: 1-4041-

API halp

Name: Anonymous 2006-12-15 7:45

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: Anonymous 2006-12-15 8:50

1. Welcome to real programming (where you don't copypasta)
2. Welcome to Win32 API (where your life is hell)

Name: Anonymous 2006-12-15 11:26

>>2
lawl true

Name: Anonymous 2006-12-15 12:19

>>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.

Name: Anonymous 2006-12-15 12:21

>>4
Fail, gb2/Java

Name: Anonymous 2006-12-15 12:41

>>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/

Name: Anonymous 2006-12-15 13:30

Name: Anonymous 2006-12-15 13:40

>>7
Still a programming language, predefined commands.
And unless it have some magical superfunctions i won't change from the simplicty of ruby.

Name: Anonymous 2006-12-15 13:54

>>8
Incorrect, Haskell is not a programming language, it is a lifestyle.

Name: Anonymous 2006-12-15 14:13

>>1
http://developer.apple.com/ will help, it's cleaner and without the gigantic security holes of Windows.

Name: Anonymous 2006-12-15 14:28

>>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: Anonymous 2006-12-15 15:45

>>11
You're pretty cool. Can you post the url to your blog?

Name: Anonymous 2006-12-15 15:52

>>12
Sure, here you go: http://blog.on.nimp.org/

Warning, it's NSFW.

Name: Anonymous 2006-12-16 8:44

>>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: Anonymous 2006-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.

Name: Anonymous 2006-12-16 10:52

>>15
emofag

Name: Anonymous 2006-12-16 11:12

>>16
out of arguments and bitter for not being able to afford a real computer.

Name: Anonymous 2006-12-16 11:30

>>15
you work "with" a game? what a loser, you either write one or play with one

Name: Anonymous 2006-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: Anonymous 2006-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: Anonymous 2006-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.

Name: Anonymous 2006-12-16 15:32

>>19
YHBT

>>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: Anonymous 2006-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: Anonymous 2006-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: Anonymous 2006-12-16 17:09

Sluta fitta ned prog med ert monotona bräkande nu, gubbar.

Name: Anonymous 2006-12-16 17:26

>>25
Gievf API halp and atleast I will be gone from here.

Name: Anonymous 2006-12-16 18:14

>>25
             / ̄∧_∧ ̄ ̄ ̄ // ̄\\
       __ ⊂/__(´∀` )__  /_⊃___| |\フ ヽ  Cflaggorna sparkade precis
   ,  ´_  /   / ̄ ̄ __ / ̄ ヽ    __ヽ ̄ ̄ |  in, hördu!
  /∠__/―/-。―/――∠_/__∧  |       | ∧_.| 
  ,========――´=============/⌒ヽ=|.=====| | ヽ ̄〕 
  | _   |GENTOO|    _  ″  |⌒| |/   __ /|  )ノ    brum
  )_旧_∈≡≡≡≡∋_旧_″_|| ノ丿_ -――┘ 丿      brum!
   \ \_ノ  ̄ ̄ ̄三三三\ \_ノ    三三三三 
    三三三三三三三三三三三三三三三三三三三三三三三三
       三三三三三三三三三三三三三三三三三三三三三三三

Name: Anonymous 2006-12-17 8:20

>>24
YHBT, swedish noob...

Name: Anonymous 2006-12-17 19:19

You're all idiots.

Name: Anonymous 2006-12-18 6:32

Y(all)HBT

Name: Anonymous 2006-12-18 6:35

>>30

YH(all)BT

Name: Anonymous 2006-12-18 7:57

HANDLE hYou = GetYouHandle();
HasBeenTrolled( hYou, NULL, TROLLED_ALL );

Name: Anonymous 2006-12-18 9:05

YHBT GTFO HAND TANSTAAFL

Name: Anonymous 2006-12-18 9:38

filter(YHBT, posters) == posters

Name: Anonymous 2006-12-18 9:46


context /prog/ inv:
 post:
  posts = posts@pre->including(p:Post | p=trollpost)

Name: Anonymous 2006-12-18 14:33

HANDLE hYou = GetPersonCurrentHandle(NULL);
LPCSTRREFSZHANDLE h = HasBeenTrolledEx(&wParam, &lParam, NULL, NULL, 0, sizeof(LPCSTRREFSZHANDLE));

Name: Anonymous 2006-12-18 16:11

>>36 has worked with Windows APIs before

Name: Anonymous 2006-12-18 17:11

>>37
because yesterdy I had to write this kind of crap at work :(

Name: Anonymous 2006-12-19 4:37

>>36
You win free Internets for laughs and compassion

Name: Anonymous 2009-01-14 12:48

LISP

Name: Anonymous 2009-03-06 6:23


needs to run the   server and dish   the pages out.

Name: Anonymous 2010-12-27 10:39

Name: Sgt.Kabu滣ﻲkiman❦ꓺ 2012-05-28 21:16

Bringing /prog/ back to its people

Don't change these.
Name: Email:
Entire Thread Thread List