About <winsock.h> and <windows.h>

This is a discussion on About <winsock.h> and <windows.h> within the C Programming forums, part of the General Programming Boards category; I am using windows98 and a djgpp compiler. I am trying to compile a program that use <winsock.h> and <windows.h> ...

  1. #1
    Unregistered
    Guest

    Unhappy About <winsock.h> and <windows.h>

    I am using windows98 and a djgpp compiler. I am trying to compile a program that use <winsock.h> and <windows.h> and the result is A LOT of errors. It seems that the program's code is OK. Is there any problem with these libs? Is it fixed? If it is fixed where can i find the well working libs?

    Thanx a lot.

  2. #2
    and the hat of wrongness Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    32,442
    DJGPP is not a windows compiler (by itself), it is only a DOS (or console) compiler.

    If you want to write windows GUI programs, you need to download this optional feature.
    RSX - Windows GUI programs

    Never used it, so I can't comment on it.

    You might be better off with a compiler for windows, such as dev-c++, but I haven't used that one either (though many speak favourably of it).

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. C - including the <windows.h> header file
    By Jolu42 in forum C Programming
    Replies: 4
    Last Post: 05-13-2007, 01:05 PM
  2. Errore opening the include <windows.h>
    By rasheed in forum Windows Programming
    Replies: 5
    Last Post: 05-21-2006, 11:23 PM
  3. <windows.h> compiler help..!
    By The Brain in forum Windows Programming
    Replies: 4
    Last Post: 05-11-2005, 08:47 PM
  4. <windows.h>
    By Jarrette in forum C++ Programming
    Replies: 11
    Last Post: 05-02-2003, 05:46 AM
  5. <windows.h>?
    By bluehead in forum C++ Programming
    Replies: 6
    Last Post: 11-20-2001, 06:17 PM

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