Windows application

This is a discussion on Windows application within the Windows Programming forums, part of the Platform Specific Boards category; Can anyone tell me how to create windows applications? How do I need to start the source files, etc?...

  1. #1
    Registered User
    Join Date
    Jun 2007
    Posts
    1

    Windows application

    Can anyone tell me how to create windows applications? How do I need to start the source files, etc?

  2. #2
    and the hat of wrongness Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    32,434
    Most IDEs (say visual studio, dev-c++) come with a set of example template programs to display say "hello world" in a variety of ways.

    Create a new project, then select the kind of project you want (a windows program), then choose the example.
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.
    I support http://www.ukip.org/ as the first necessary step to a free Europe.

  3. #3
    Registered User manofsteel972's Avatar
    Join Date
    Mar 2004
    Posts
    317
    Create a new project, then select the kind of project you want (a windows program), then choose the example.
    I recently downloaded Visual Studio Express and they only had a starter template for Windows Console. You have to download the Platform SDK and set up the include paths before it will let you create Window Apps. You can still do it. It is just a little more work to set up and there is no starter template. They do have a nice video tutorial on their website that walks you through the process. The guy narrating it talks to you like your a little kid, but I think it is because it is aimed at complete beginners.
    "Knowledge is proud that she knows so much; Wisdom is humble that she knows no more."
    -- Cowper

    Operating Systems=Slackware Linux 9.1,Windows 98/Xp
    Compilers=gcc 3.2.3, Visual C++ 6.0, DevC++(Mingw)

    You may teach a person from now until doom's day, but that person will only know what he learns himself.

    Now I know what doesn't work.

    A problem is understood by solving it, not by pondering it.

    For a bit of humor check out xkcd web comic http://xkcd.com/235/

  4. #4
    Frequently Quite Prolix dwks's Avatar
    Join Date
    Apr 2005
    Location
    Canada
    Posts
    8,046
    What IDE or compiler are you using? Dev-C++, MSVC, Code::Blocks, or what?
    Last edited by dwks; 06-28-2007 at 02:14 PM.
    dwk

    Seek and ye shall find. quaere et invenies.

    "Simplicity does not precede complexity, but follows it." -- Alan Perlis
    "Testing can only prove the presence of bugs, not their absence." -- Edsger Dijkstra
    "The only real mistake is the one from which we learn nothing." -- John Powell


    Other boards: DaniWeb, TPS
    Unofficial Wiki FAQ: cpwiki.sf.net

    My website: http://dwks.theprogrammingsite.com/
    Projects: codeform, xuni, atlantis, nort, etc.

  5. #5
    Malum in se abachler's Avatar
    Join Date
    Apr 2007
    Posts
    3,189
    Quote Originally Posted by manofsteel972 View Post
    I recently downloaded Visual Studio Express and ...
    Yeah, I noticed this, VS Express does not come with a built in Win32 GUI template. there are a million and 2 windows skeletons out there, just google for one that isnt MFC
    Until you can build a working general purpose reprogrammable computer out of basic components from radio shack, you are not fit to call yourself a programmer in my presence. This is cwhizard, signing off.

  6. #6
    Registered User Joelito's Avatar
    Join Date
    Mar 2005
    Location
    Tijuana, BC, México
    Posts
    308
    A good programmer keeps a backup of a native Win32 GUI skeleton
    * PC: Intel Core 2 DUO E6550 @ 2.33 GHz with 2 GB RAM: Archlinux-i686 with xfce4.
    * Laptop: Intel Core 2 DUO T6600 @ 2.20 GHz with 4 GB RAM: Archlinux-x86-64 with xfce4.

  7. #7
    Registered User
    Join Date
    May 2007
    Posts
    12
    I personally think that Dev-CPP is a really good IDE for creating windows quickly. It comes with a win32 GUI skeleton built in.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Windows | Application proxy
    By Eddie Dean in forum C++ Programming
    Replies: 2
    Last Post: 03-31-2006, 11:30 AM
  2. First Windows Application Error
    By Grimmy in forum Windows Programming
    Replies: 15
    Last Post: 03-06-2006, 08:45 AM
  3. How do you program a windows application?
    By Chrisab508 in forum Windows Programming
    Replies: 8
    Last Post: 10-18-2003, 10:21 AM
  4. Application Termination Problem in Windows XP
    By wasabee in forum Windows Programming
    Replies: 2
    Last Post: 04-11-2003, 12:53 PM
  5. Manipulating the Windows Clipboard
    By Johno in forum Windows Programming
    Replies: 2
    Last Post: 10-01-2002, 09:37 AM

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