Thread: Going for a Graphical UI

  1. #16
    Banned
    Join Date
    Nov 2007
    Posts
    678
    offo!
    i was also thinking about doing winapi all over again. i did it sometime back using asm.
    and thought i will restart winapi but with C this time
    even using MFC u have to distribute .dll. but if i write using api only i will have simple .exe that will
    run just fine. and not extra .dlls.

    any suggestions to ease out me a little.

  2. #17
    C++まいる!Cをこわせ!
    Join Date
    Oct 2007
    Location
    Inside my computer
    Posts
    24,654
    You still have to redistrubute the C runtime library, so the point is moot. Just hand them over the runtime library once. Install. Done.
    They can now execute however many applications from you and others with the same compiler as they want. One time cost.
    Quote Originally Posted by Adak View Post
    io.h certainly IS included in some modern compilers. It is no longer part of the standard for C, but it is nevertheless, included in the very latest Pelles C versions.
    Quote Originally Posted by Salem View Post
    You mean it's included as a crutch to help ancient programmers limp along without them having to relearn too much.

    Outside of your DOS world, your header file is meaningless.

  3. #18
    Banned
    Join Date
    Nov 2007
    Posts
    678
    Wait a minute. I think it should be available by default in every system?? No program will run without them! Right? Just like user32.dll and stuff??? am i right??

  4. #19
    Kernel hacker
    Join Date
    Jul 2007
    Location
    Farncombe, Surrey, England
    Posts
    15,677
    Quote Originally Posted by manav View Post
    Wait a minute. I think it should be available by default in every system?? No program will run without them! Right? Just like user32.dll and stuff??? am i right??
    Because the C runtime evolves, you can't rely on a C runtime from an older version of Windows to work with the latest Visual Studio compiler generated code, so you need to make sure that the correct version for YOUR build of the executable is on the clients system.

    Of course, further libraries may also be needed if you use custom frameworks.

    --
    Mats
    Compilers can produce warnings - make the compiler programmers happy: Use them!
    Please don't PM me for help - and no, I don't do help over instant messengers.

  5. #20
    Banned
    Join Date
    Nov 2007
    Posts
    678
    oh. thanks Mats.
    i will be using g++ from MinGW (recent package).
    i never had to do it earlier. using asm. but may be now...
    thanks

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Graphical debugger for Linux
    By abh!shek in forum C Programming
    Replies: 6
    Last Post: 05-30-2008, 06:13 PM
  2. Graphical Interface in C
    By dead-eternity in forum C Programming
    Replies: 7
    Last Post: 03-10-2005, 04:10 PM
  3. Graphical standards
    By Shakti in forum Tech Board
    Replies: 1
    Last Post: 08-27-2004, 11:32 AM
  4. Resource ICONs
    By gbaker in forum Windows Programming
    Replies: 4
    Last Post: 12-15-2003, 07:18 AM
  5. C UI
    By ober in forum A Brief History of Cprogramming.com
    Replies: 2
    Last Post: 02-18-2002, 11:40 AM