Thread overview
wininet.lib not a valid library file
Aug 23, 2004
Chris
Aug 23, 2004
C
Aug 24, 2004
J C Calvarese
August 23, 2004
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


August 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
>
>


August 24, 2004
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/