setting IE options

Bill Baxter dnewsgroup at billbaxter.com
Wed Dec 5 15:57:42 PST 2007


Tyro[a.c.edwards] wrote:
> Tyro[a.c.edwards] Wrote:
> 
>> I'm looking for some guidance on how to Internet Explorer options using functionality available in D. I am trying to make the following work but cannot since I don't have a copy of wininet.lib:
> 
> I located wininet.dll and build from it a .lib file using implib. However when attempting to compile the program the following error occurs:
> 
>  Error 42: Symbol Undefined _InternetSetOption
> --- errorlevel 1
> 
> Is there something I am missing?
> Any advice is appreciated.

You need to use the /system flag with implib.

f:\usr\pkg\d>implib /h
Digital Mars Import Library Manager Version 7.6B1n
Copyright (C) Digital Mars 2000.  All Rights Reserved.
Usage:
         IMPLIB [switches] implibname.lib [ file.dll | file.def ]
switches:
         /?      Print this message
         /b      Batch
         /h      Print this message
         /i      Ignore case of symbols
         /noi    Be case sensitive. Mark library as case sensitive
         /nowep  Ignore WEP
         /p:number       Set page size to number (a power of 2)
         /system         Prepend '_' to exported internal names (NT 
system DLL)


---bb


More information about the Digitalmars-d-learn mailing list