www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - wininet.lib not a valid library file

reply "Chris" <ctlajoie hotmail.com> writes:
when I try to compile a D program with wininet.lib it throws this:
Error 43: Not a Valid Library File

can anyone tell me how I might use the wininet APIs?  thanks,

Chris 
Aug 23 2004
next sibling parent C <C_member pathlink.com> writes:
Is this a SDK file or one that ships with MS ?  If so you'll need to run
coff2omf over it ( Optlink, DM's linker, uses OMF format, MS uses coff ).  You
can probably find a working DM version at www.dprogramming.com.



In article <cgc7tt$23v1$1 digitaldaemon.com>, Chris says...
when I try to compile a D program with wininet.lib it throws this:
Error 43: Not a Valid Library File

can anyone tell me how I might use the wininet APIs?  thanks,

Chris 
Aug 23 2004
prev sibling parent J C Calvarese <jcc7 cox.net> writes:
Chris wrote:
 when I try to compile a D program with wininet.lib it throws this:
 Error 43: Not a Valid Library File
Where did you find wininet.lib? If isn't in Digital Mars format, then you'll need either: (1) to create a new .lib, (2) to find a new .lib, or (3) to convert it into Digital Mars format. Here's a thread related to the incompatibility of Digital Mars's .libs and mentions the process of creating your own: http://www.dsource.org/forums/viewtopic.php?t=221
 can anyone tell me how I might use the wininet APIs?  thanks,
Could that be related to std.socket? http://www.digitalmars.com/d/phobos.html#socket Just a guess. Good luck.
 
 Chris 
-- Justin (a/k/a jcc7) http://jcc_7.tripod.com/d/
Aug 23 2004