hmm i guess so.
You could create import lib wsock32.lib yourself.
If you have the M$ platform sdk installed somewhere try using the
modified implib from here:
http://www.digitalmars.com/~jan
It automagically adds the correct decorations.
Good Luck
Arjan
Gisle Vanem wrote:

"Arjan Knepper" <ask me.to> wrote:

ws2_32.lib?

I don't have that either. Is it only included with the commercial version?
--gv

You could create import lib wsock32.lib yourself.
If you have the M$ platform sdk installed somewhere try using the
modified implib from here:
http://www.digitalmars.com/~jan
It automagically adds the correct decorations.

Yes it does...
You might be missing a .ini file or have an incomplete .ini file which
defines the stack sizes for the several parameter types. Check
implib.ini
Also make sure you provide the proper include path(s) so that implib
can find the matching include files with the function prototypes.
Jan
Gisle Vanem wrote:

"Arjan Knepper" <ask me.to> wrote:

You could create import lib wsock32.lib yourself.
If you have the M$ platform sdk installed somewhere try using the
modified implib from here:
http://www.digitalmars.com/~jan
It automagically adds the correct decorations.

Oh well I see you need sppn.exe I guess that is on the cd as well. But
maybe it also accepts an other preprocessor. Ask Jan.
You could also just use implib to create a lib from the dll and create a
def file for correction of the decorations. See the faqs.
Arjan
Gisle Vanem wrote:

"Arjan Knepper" <ask me.to> wrote:

You could create import lib wsock32.lib yourself.
If you have the M$ platform sdk installed somewhere try using the
modified implib from here:
http://www.digitalmars.com/~jan
It automagically adds the correct decorations.

Oh well I see you need sppn.exe I guess that is on the cd as well. But
maybe it also accepts an other preprocessor. Ask Jan.

I don't have sppn.exe, but got it working by using the MingW preprocessor.
I put this in implib.ini:
SPPN.EXE="g:\MingW32\bin\cpp.exe"
CFLAGS="-D__MINGW32__ -D__MINGW_IMPORT -DIN="" -DOUT="" -DWINVER=0x0501
-D_WIN32_WINNT=0x0501 -DSTRICT"
And ran:
implib /v /system /Ig:\MingW32\include /suffix wsock32.lib wsock32.dll
No MS tools or SDK where used.
--gv

Oh well I see you need sppn.exe I guess that is on the cd as well. But
maybe it also accepts an other preprocessor. Ask Jan.

I don't have sppn.exe, but got it working by using the MingW preprocessor.
I put this in implib.ini:
SPPN.EXE="g:\MingW32\bin\cpp.exe"
CFLAGS="-D__MINGW32__ -D__MINGW_IMPORT -DIN="" -DOUT="" -DWINVER=0x0501
-D_WIN32_WINNT=0x0501 -DSTRICT"
And ran:
implib /v /system /Ig:\MingW32\include /suffix wsock32.lib wsock32.dll
No MS tools or SDK where used.
--gv