digitalmars.D - wininet.lib not a valid library file
- Chris (4/4) Aug 23 2004 when I try to compile a D program with wininet.lib it throws this:
- C (4/8) Aug 23 2004 Is this a SDK file or one that ships with MS ? If so you'll need to run
- J C Calvarese (13/18) Aug 23 2004 Where did you find wininet.lib? If isn't in Digital Mars format, then
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
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
Chris wrote:when I try to compile a D program with wininet.lib it throws this: Error 43: Not a Valid Library FileWhere 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=221can 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