If I remember well, the call to CreateFile in PacketOpenAdapter() loads the vxd into memory before opening the handle, so you simply need that function to dynamically install the driver.
Loris > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Hi all, > > I want to write a program that use winpcap as an interface to > access datalink layer on windows platform. I have already read the > mailing list archive and the source code of packet.dll. I found that > there is a function PacketInstallDriver() in WinNT/2000/XP version of > packet.dll. The function will be called if PacketOpenAdapter() finds that > the NPF driver is not installed. > However, I cannot find PacketInstallDriver() function in Win98 > version of packet.dll. But my program will/may be run on Win98. > How can I install the driver for Win98 without using the setup > program downloaded from the website? > I know that I can install a driver on windows by using a INF file. > Shall I install the driver by using this method? > Thanks a lot. > > Wong Hang. > > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.2.3 (FreeBSD) > > iD8DBQE/zIUjgvoGnTKzQ1QRAmU9AKDdkuAojMluYWu+uvHNTLG2NEGcZACfWxhM > UuQluj38iurFngmkzWJ251c= > =D94I > -----END PGP SIGNATURE----- > > > > ================================================================== > This is the WinPcap users list. It is archived at > http://www.mail-archive.com/[EMAIL PROTECTED]/ > > To unsubscribe use > mailto: [EMAIL PROTECTED] > ================================================================== > ================================================================== This is the WinPcap users list. It is archived at http://www.mail-archive.com/[EMAIL PROTECTED]/ To unsubscribe use mailto: [EMAIL PROTECTED] ==================================================================
