WinAPI ?

This is a discussion on WinAPI ? within the Game Programming forums, part of the General Programming Boards category; yesterday when I was searching books in a book store I found a book was somewhat relative with WinAPI, is ...

  1. #1
    flashing vampire black's Avatar
    Join Date
    May 2002
    Posts
    563

    WinAPI ?

    yesterday when I was searching books in a book store I found a book was somewhat relative with WinAPI, is that similar to SDL or DirectX or openGL or other APIs ? Maybe this question is a bit stupid but I didnt touch API before so I need your help~

  2. #2
    Registered User
    Join Date
    Apr 2002
    Posts
    1,571
    Well the book is probably referring to GDI. This is the windows graphical device interface. Windows applications usually don't relate with the hardware drivers directly instead they communicate through GDI which in turn communicates to the drivers. Do a search on it or look at the msdn webpage.

    http://msdn.microsoft.com
    "...the results are undefined, and we all know what "undefined" means: it means it works during development, it works during testing, and it blows up in your most important customers' faces." --Scott Meyers

  3. #3
    flashing vampire black's Avatar
    Join Date
    May 2002
    Posts
    563
    oh, thanx. now I need some suggestion. I'm not so good in C++ and always learning it console based. should I learn APIs when learning C++ or after some months(maybe years) later ?
    Never end on learning~

  4. #4
    Skunkmeister Stoned_Coder's Avatar
    Join Date
    Aug 2001
    Posts
    2,572
    You can get a long way with c/c++ with a console. You should IMHO stick with console programming until you are fully comfortable with the syntax and structure of c++ and STL. After learning that I would spend some time learning about the win32 api. When you have some win32 knowledge and can make a window and write a message pump etc. then maybe think about looking at OpenGL. If DirectX interests you then you could learn that too but you would want to be a little more comfortable with the bare api first for that.
    Free the weed!! Class B to class C is not good enough!!
    And the FAQ is here :- http://faq.cprogramming.com/cgi-bin/smartfaq.cgi

  5. #5
    Carnivore ('-'v) Hunter2's Avatar
    Join Date
    May 2002
    Posts
    2,879
    Well, if you're getting impatient, go ahead with GDI. But if you ever need to learn something new or test something relatively simmple, create a skeleton console app and do your testing with that instead. (i.e. if you want to test with file i/o, create a console app that opens a file, reads it, outputs it to something else, and closes the file,and quits)

    Once you're done testing/learning, go back and use your new knowledge in the current app.
    Just Google It. √

    (\ /)
    ( . .)
    c(")(") This is bunny. Copy and paste bunny into your signature to help him gain world domination.

  6. #6
    flashing vampire black's Avatar
    Join Date
    May 2002
    Posts
    563
    thanx guys~

    I'll stick to console for months and see how much I will acquire.
    Never end on learning~

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. WinAPI & threading
    By @nthony in forum Windows Programming
    Replies: 17
    Last Post: 10-15-2007, 04:41 PM
  2. do i still need winAPI
    By datainjector in forum Windows Programming
    Replies: 8
    Last Post: 07-12-2003, 01:43 AM
  3. references for the winapi
    By stallion in forum Windows Programming
    Replies: 9
    Last Post: 01-28-2003, 01:56 AM
  4. WINAPI: Meaning of HDC ?
    By Mecnels in forum Windows Programming
    Replies: 1
    Last Post: 01-21-2002, 09:06 AM
  5. C++ and WinAPI?
    By Matt2u in forum C++ Programming
    Replies: 9
    Last Post: 01-08-2002, 11:57 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21