windows wininet library

Jeremy DeHaan via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Sun Feb 1 00:10:30 PST 2015


On Sunday, 1 February 2015 at 07:32:05 UTC, ketmar wrote:
> how can i use wininet.dll from D? i got bindings from 
> https://github.com/
> CS-svnmirror/dsource-bindings-win32.git, and then i tried to 
> create
> wininet.lib with implib.exe from DMC package. no matter how i 
> tried, the
> resulting "wininet.lib" seems to not work, as linker keep 
> complaining
> about missing symbols like "_InternetReadFile at 16" and so on.
>
> i'm building for win32.
>
> ah, and yep, i compiled "wininet.lib" to "lib" dir, and added 
> option to
> dmd.exe: "-L+wininet.lib".
>
> i assume that i have to create corrent .def file to remap all 
> the names,
> am i right? oh, delightful...

What does your implib command look like?


More information about the Digitalmars-d-learn mailing list