[Winpcap-users] dynamic loading of wpcap.dll

ashish yadav ashish_frnds at yahoo.co.in
Fri Apr 21 20:20:51 GMT 2006


hi..
  see apart from loading wpcap.dll at runtime..
  that dll also requires som driver running in kernel mode ...(npf.sys(as i remember the name) in this case)
  otherwise it won't work...
  so u can do this thing u can put that file in the installation diectory and register that driver..or jus tell the user to install the required library files..
  i think that would work..
  bye.

Marcel van Lieshout <marcel at hmcs.nl> wrote:
          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
_______________________________________________
Winpcap-users mailing list
Winpcap-users at winpcap.org
https://www.winpcap.org/mailman/listinfo/winpcap-users


				
---------------------------------
 Jiyo cricket on Yahoo! India cricket
Yahoo! Messenger Mobile Stay in touch with your buddies all the time.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.winpcap.org/pipermail/winpcap-users/attachments/20060421/91b5f93c/attachment.htm


More information about the Winpcap-users mailing list