-
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?
-
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.
-
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?
-
>>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]