windows wininet library

ketmar via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Sat Jan 31 23:32:05 PST 2015


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...
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <http://lists.puremagic.com/pipermail/digitalmars-d-learn/attachments/20150201/0290297c/attachment.sig>


More information about the Digitalmars-d-learn mailing list