Microsoft-specific pragmas need not work anywhere but with a Microsoft toolchain.
#pragma comment(lib, "ws2_32")
I use the LCC compiler and linker on windowsXP.
What does the LCC documentation say about linking to specific libraries?
Dave Sinkula
long time no c
5,058 posts since Apr 2004
Reputation Points: 2,780
Solved Threads: 314
Dave Sinkula
long time no c
5,058 posts since Apr 2004
Reputation Points: 2,780
Solved Threads: 314