On 03/14/2011 02:30 PM, Ethan Zheng wrote: > > Looking at compiling wget into DLL > Was able to compile source by calling NMAKE, > Can anyone provide me some HINTs about HOWTO get started.
Can't really give anything helpful, but note that wget was designed to be a program, rather than a library, and this is reflected in many places and ways in the source code. For instance, it expects to write things to stderr, many functions may not work properly without other functions and initializations having been set up first, re-entrancy is probably not a common forethought in many cases. You might be better off simply spawning the executable directly from your program, rather than trying to redesign it as a DLL. It is not a task for the faint-hearted. -- Micah J. Cowan http://micah.cowan.name/
