Windows windows?

This is a discussion on Windows windows? within the Windows Programming forums, part of the Platform Specific Boards category; Just wondering......what is the code needed to run a Windows application in its own window (IE no command prompt)? And ...

  1. #1
    The Defective GRAPE Lurker's Avatar
    Join Date
    Feb 2003
    Posts
    949

    Windows windows?

    Just wondering......what is the code needed to run a Windows application in its own window (IE no command prompt)? And will this code anyone gives me work with the Digital Mars and Borland compilers? Thanks all!

  2. #2
    erstwhile
    Join Date
    Jan 2002
    Posts
    2,227
    There have been numerous examples of simple windows posted on this board and a simple search should locate many for you.

    If by borland you mean bcc5.5 command line tools then yes, win32 API programs will compile just fine with it. With Digital Mars, you will be able to compile very simple win32 api programs with it but the few windows libs available with that compiler are quite old. You can download the latest platform software development kit (psdk) from microsoft and convert the libs to the older omf libraries required by Digital Mars; the psdk headers can be used 'as is'. Digital Mars uses the same syntax as msvc for compiling/linking so you shouldn't have too many problems there.

    Simplest solution is to use bcc5.5 command line tools as it involves a lot less hassle.

  3. #3
    The Defective GRAPE Lurker's Avatar
    Join Date
    Feb 2003
    Posts
    949
    K, thx.
    Do not make direct eye contact with me.

  4. #4
    It's full of stars adrianxw's Avatar
    Join Date
    Aug 2001
    Posts
    4,831
    This is about as simple a Windoes program as you can make. Compile it see what it does, and look up the routines in the help/MSDN.
    Attached Files Attached Files
    Wave upon wave of demented avengers march cheerfully out of obscurity unto the dream.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Windows 98/2000 programming in Windows XP
    By Bill83 in forum Windows Programming
    Replies: 3
    Last Post: 07-22-2005, 02:16 PM
  2. Dialog Box Problems
    By Morgul in forum Windows Programming
    Replies: 21
    Last Post: 05-31-2005, 05:48 PM
  3. dual boot Win XP, win 2000
    By Micko in forum Tech Board
    Replies: 6
    Last Post: 05-30-2005, 02:55 PM
  4. SDL and Windows
    By nickname_changed in forum Windows Programming
    Replies: 14
    Last Post: 10-24-2003, 12:19 AM
  5. IE 6 status bar
    By DavidP in forum Tech Board
    Replies: 15
    Last Post: 10-23-2002, 05:31 PM

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