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

Windows API in C/C++

Name: duh 2008-02-21 13:28

Help, I have no idea how to correctly use the API to create windows and fill them with text and shit.

Give me information, tutorials, etc.

Name: Anonymous 2008-02-21 13:32

>>1
Windows
C++

Wat.

Name: Anonymous 2008-02-21 13:40

>>2
AIDS

Cancer

Wat.

Name: Anonymous 2008-02-21 14:02

I have just finished a project on Windows. As you're not very specific, I presume by Windows API you mean what Microsoft want you to use this week. That's currently .NET. So read http://msdn2.microsoft.com/en-us/library/68td296t.aspx and about a thousand other pages off MSDN.

This isn't easy, but then again if you're using C++ I assume you're getting paid for your code so it's worthwhile.

Name: Anonymous 2008-02-21 14:07

No, I'm not interested in "Visual" C++ or any of that .NET dogshit.  Just real code C or C++ code.

Name: Anonymous 2008-02-21 14:08

Drop Sepples, learn C.

Name: Anonymous 2008-02-21 14:11

The Microsoft .NET platform gives to the developper the latest cutting-edge 3-tier framework leveraging the power of virtual machine and test-driven development using managed and legacy component to create windows and fill them with text and shit while reducing TCO and time-to-market.

Name: Anonymous 2008-02-21 14:21

>>7
Boring.  I just want to understand how to use the API properly to, say, make a program like mIRC or some shit like a browser or something.  More vagueness to come possibly.

Name: Anonymous 2008-02-21 14:26

>>8
Everything has been already answered in MSDN.

Name: Anonymous 2008-02-21 14:33

>>8
GUI programming is boring and tedious. Get used to it.

Name: Anonymous 2008-02-21 14:35

>>10
Cool.  But I want to learn to do it.

HALP

Name: Anonymous 2008-02-21 14:43

>>11
.NET

Name: Anonymous 2008-02-21 15:12

what is a Sepples?

Name: Anonymous 2008-02-21 15:17

>>13
It tastes like A++.

Name: Anonymous 2008-02-21 16:03

>>14
I see what u did thar

Name: Anonymous 2008-02-21 16:52

wait waht?  I still don't know what to do lol

Direct me to tutorials on figuring out what the shit I'm supposed to do

Name: Anonymous 2008-02-21 17:01

>>16
Read ``Thinking in Sepples''.

Name: Anonymous 2008-02-21 19:24

Name: Anonymous 2008-02-21 19:29

>>18
Oh yes there is. It's like saying that there is no book with the title ``SoE''

Name: Anonymous 2008-02-21 19:37

Bruce Eckel's Thinking in Sepples. The rhyming is no coincidence.

Name: Anonymous 2008-02-21 20:23

win32.hlp

Now GTFO.

Name: Anonymous 2008-02-21 20:55

Name: Anonymous 2008-02-21 22:35

Name: Alabama !0okrDnkUYI 2008-02-22 1:25

theForger's tutorial is still online.

MASM is an assembler with associated tutorials on interfacing with win32 API. Searching for that will lead you to the win32 .hlp file mentioned in >>21. It's from Win95 era, but useful since Windows keeps a lot of backward compatibility.

Charles Petzold's book "Programming Windows 95" was ususally the first text book an API programmer bought. I don't know what the current leader is. But I know Petzold kept updating his book all the way through .NET.

Google'ing for sample code tends to lead to MFC-based programs, which is a library built on top of the Win32 API. Prosise wrote the leading book on MFC.

Name: Anonymous 2008-02-22 2:09

SEEPLES

Name: Anonymous 2008-02-22 5:55

Who is Seeples?

Name: Anonymous 2008-02-22 6:31

>>26
The anti-cudder

Name: Anonymous 2008-02-22 6:40

Doesn't anyone mind the fact that Simon Peyote Joints is from microsoft?

Name: Anonymous 2008-02-22 7:08

>>1
Read the documentation for RegisterClassEx, CreateWindowEx and WindowProc very carefully. That is the basics of creating a window and you must know how this works. Then, read up on window messages and look up sample code for a message loop. And so on.

Name: Anonymous 2008-02-22 7:33

>>29
DON'T HELP HIM!!

Name: Anonymous 2008-02-22 7:41

CreateWindowEx(NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);

Name: Anonymous 2008-02-22 7:43

>>28
No.

Name: Anonymous 2008-02-22 7:54

>>32
okay ;)

Name: Anonymous 2008-02-22 7:55

>>31
I don't understand

Name: Anonymous 2008-02-22 8:18

>>34
It's stupid crap, like almost every post in this board.
And you're encouraging the little psychopath when you type, "I don't understand". PLEASE go to a non-4chan, moderated discussion board or IRC channel or newsgroup.

Name: Anonymous 2008-02-22 8:52

>>34
Ancient meme, making fun of winapi.

Name: Anonymous 2008-02-22 10:13

sauce on the NULL meme?

Name: Anonymous 2008-02-22 10:26

>>37
windows.h

Name: Anonymous 2008-02-22 10:30

>>35
>>31,34 is same person and you have been trolled constantly.

Name: Anonymous 2008-02-22 10:32


public class NotNull implements Rule {
  String objName = null;
  Object o = null;
 
  public NotNull(String objName, Object o) {
    this.objName = objName;
    this.o = o;
  }
 
  public void check() throws RuleException {
    if (o == null) {
      throw new RuleException(ErrorMessages.ErrorCode.OBJ_IS_NULL, objName);
    }
  }
}

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