Thread: Win app, newb question

  1. #1
    Blender
    Guest

    Win app, newb question

    A friend asked me to make this small game for him (ur a drug dealer and you have to make as much cash as possible). I've coded the whole game and stuff, fixed the bugs, but its in a dos application its the only thing i know how to do. What I want to know is how i could put it all into a windows app and have buttons instead of having to type up numbers. If anyone has any ez instructions or link which could halp me thatd be greatly appreciated.


    Blender

  2. #2
    Registered User
    Join Date
    Nov 2002
    Posts
    157
    it takes a lot more than you probably think to convert this to a winapi app. if i were you, i wouldnt take any shortcuts and i would just learn the api. finish his game when you get to it and learn the api.

  3. #3
    pronounced 'fib' FillYourBrain's Avatar
    Join Date
    Aug 2002
    Posts
    2,297
    it's called Petzold. That's where many of us start
    "You are stupid! You are stupid! Oh, and don't forget, you are STUPID!" - Dexter

  4. #4
    Registered User
    Join Date
    Feb 2003
    Posts
    4

    ah

    K thx, I thought there might have been some easier way without learning all the complicated stuff. Oh well, ill just print out a few tutorials and learn em by heartt during french class

  5. #5
    Registered User
    Join Date
    Feb 2003
    Posts
    4

    petzold?

    whats petzold?

  6. #6
    Registered User
    Join Date
    Nov 2002
    Posts
    157
    petzold is the author of a very informative and helpful book. programming windows 5th edition is what i have. i also have programming windows 98 from the ground up. that's great, too.

  7. #7
    Unreg
    Guest
    if you really want a "shortcut" to win programming then skip WinAPI and go directly to Win MFC programming. There are a few drawbacks though. Or avoid MS and try Borland using their languages such as Delphi.

  8. #8
    Registered User
    Join Date
    Feb 2003
    Posts
    4
    K, ill check those out see whats best. Do you need a good level of C++ to understand "Programming Windows. The Definitive Guide to the Win 32 API" or other? or can someone with a low level of knowledge read it and understand it?

  9. #9
    It's full of stars adrianxw's Avatar
    Join Date
    Aug 2001
    Posts
    4,829
    You don't need C++ to use the Win32 API C is good enough, and generally, if you can call a function, you can call an API routine. With a class library like MFC, yes, you'll need to understand at least the basics of OO.

    I've attached a Hello Windows program. This is just about as basic a Windows program as you can make.
    Wave upon wave of demented avengers march cheerfully out of obscurity unto the dream.

  10. #10
    Registered User
    Join Date
    Feb 2003
    Posts
    4

    Talking thanks guys )

    thx, Ill go check it out ) its nice to see message boards with people who know what theyre doin and are friendly

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. newb question
    By C_ntua in forum C++ Programming
    Replies: 3
    Last Post: 09-25-2008, 09:44 AM
  2. non-MFC DLL with MFC app question.
    By Kempelen in forum Windows Programming
    Replies: 10
    Last Post: 08-20-2008, 07:11 AM
  3. help with this
    By tyrantil in forum C Programming
    Replies: 18
    Last Post: 01-30-2005, 04:53 PM
  4. GUI App Question ??
    By aumfc in forum Windows Programming
    Replies: 9
    Last Post: 10-17-2002, 02:56 AM
  5. Copy app to win dir
    By Unregistered in forum C Programming
    Replies: 7
    Last Post: 03-05-2002, 01:02 PM