Follow up on Producing Windows API program at Command Line

Discussion in 'C Programming' started by Dr. Laurence Leff, Jan 22, 2005.

  1. Thank you to the very kind person, Mr. Jacob Navia,
    who suggested that I use F1 in the
    Visual C++ IDEA to identify the libraries needed for a function so
    one could compile the program. I did this.

    I also discovered that one needs to simply include the names and
    locations of the library files on the CL command:

    Here is what I ended up using:
    cl hellowin.c c:\progra~1\micros~1.net\Vc7\PlatformSDK\lib\user32.lib

    It produced a working API program!

    (I originally thought one needed a "/library" option. This is NOT
    CORRECT.)

    Dr. Laurence Leff Western Illinois University, Macomb IL 61455 ||(309) 298-1315
    Stipes 447 Assoc. Prof. of Computer Sci. Pager: 309-367-0787 FAX: 309-298-2302
    Secretary: eContracts Technical Committee OASIS Legal XML Member Section
    Dr. Laurence Leff, Jan 22, 2005
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Spartanicus
    Replies:
    5
    Views:
    647
    PeterMcC
    Jan 14, 2004
  2. David White
    Replies:
    0
    Views:
    780
    David White
    Jul 24, 2003
  3. Replies:
    2
    Views:
    144
    bbiker
    Oct 25, 2007
  4. Dib Urim
    Replies:
    4
    Views:
    189
    Ben Liddicott
    Nov 23, 2003
  5. Dib Urim
    Replies:
    4
    Views:
    194
    Michele Dondi
    Dec 3, 2003
Loading...

Share This Page