[Winpcap-users] dynamic loading of wpcap.dll

Marcel van Lieshout marcel at hmcs.nl
Fri Apr 21 18:21:55 GMT 2006


Hello,

I'm writing a ethernet-chip simulatormodule using WinPcap. The simulatormodule is written as a dll, loaded when needed by the simulator_manager. To get the module-specifics, the manager loads/unloads all modules during an enumeration at simulator startup. Because my module uses WinPcap, wpcap.dll is loaded, too. This all works fine.

Except...
When WinPcap isn't installed (no wpcap.dll on the PC), the load of my module fails (of course). This means that users that want to use the simulator, but not my module, have a problem.

Question
Is there a possibility to defer the load of wpcap.dll? Either explicitly ( pcap_Load() ) or implicit at first library-call?

Thank you

Marcel van Lieshout
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.winpcap.org/pipermail/winpcap-users/attachments/20060421/af2b680e/attachment.htm


More information about the Winpcap-users mailing list