[Winpcap-users] dynamic loading of wpcap.dll

Marcel van Lieshout marcel at hmcs.nl
Sat Apr 22 20:07:48 GMT 2006


yes, I know a driver is needed. I just want my dll to load correctly even when winpcap isn't installed. Of course, it wouldn't work but it would give me the possibility to inform the user.

thanks anyway

Marcel
  ----- Original Message ----- 
  From: ashish yadav 
  To: winpcap-users at winpcap.org 
  Sent: Friday, April 21, 2006 10:20 PM
  Subject: Re: [Winpcap-users] dynamic loading of wpcap.dll


  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.


------------------------------------------------------------------------------


  _______________________________________________
  Winpcap-users mailing list
  Winpcap-users at winpcap.org
  https://www.winpcap.org/mailman/listinfo/winpcap-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.winpcap.org/pipermail/winpcap-users/attachments/20060422/3d2ac691/attachment.htm


More information about the Winpcap-users mailing list