Winsock drama

This is a discussion on Winsock drama within the Windows Programming forums, part of the Platform Specific Boards category; Hey evry1, I have a slight prob. I got onto blacksun.box.uk ( it think it was there) and got a ...

  1. #1
    Caffienated jinx's Avatar
    Join Date
    Oct 2001
    Posts
    235

    Angry Winsock drama

    Hey evry1, I have a slight prob. I got onto blacksun.box.uk ( it think it was there) and got a simple winsock tutorials in WinApi code and did the usual linking with the Wsock32.lib file and windows.h etc. Everytime I try to compile it it gives me the 1 error that says "missing (something) int _main". What gives?
    Weeel, itss aboot tieme wee goo back too Canada, eeehy boyss.

  2. #2
    the hat of redundancy hat nvoigt's Avatar
    Join Date
    Aug 2001
    Location
    Hannover, Germany
    Posts
    3,139
    Your project settings are to compile for CONSOLE. You need a Windows application. Either create a new project with Win32 or look into the projekt options and set the subsystem parameter from console to windows.
    hth
    -nv

    She was so Blonde, she spent 20 minutes looking at the orange juice can because it said "Concentrate."

    When in doubt, read the FAQ.
    Then ask a smart question.

  3. #3
    Caffienated jinx's Avatar
    Join Date
    Oct 2001
    Posts
    235

    K, another Q

    I had an old 486. I tore it up. I had MSVC++ istalled. I had the options of either 16bit or 32bit programs in the create a new porject area. Now i have a compaq with ME os an all i have is the option for a 32bit project. Whats up with that?
    Weeel, itss aboot tieme wee goo back too Canada, eeehy boyss.

  4. #4
    &TH of undefined behavior Fordy's Avatar
    Join Date
    Aug 2001
    Posts
    5,789
    >>Now i have a compaq with ME os an all i have is the option for a 32bit project. Whats up with that?

    Our good buddies @ M$ decided that no serious developer would ever want to compile for an environment where widows (32bit) did not run.

    If you want 16Bit, there are compilers on the web that you can download, but dont expect MSVC++6 to compile anything less than 32Bit

    [edit]btw... what version of MSVC++ allowed you to compile in 16bit...out of interest[/edit]

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Winsock issues
    By tjpanda in forum Windows Programming
    Replies: 3
    Last Post: 12-04-2008, 08:32 AM
  2. Winsock Messaging Program
    By Morgul in forum Windows Programming
    Replies: 13
    Last Post: 04-25-2005, 05:00 PM
  3. Winsock - Where do i start?
    By Brain Cell in forum Networking/Device Communication
    Replies: 5
    Last Post: 02-14-2005, 01:39 PM
  4. Where do I initialize Winsock and catch messages for it?
    By Lithorien in forum Windows Programming
    Replies: 10
    Last Post: 12-30-2004, 12:11 PM
  5. winsock
    By pode in forum Networking/Device Communication
    Replies: 2
    Last Post: 09-26-2003, 01:45 AM

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