Two apps with the same driver

Home Forums Discussions Support Two apps with the same driver

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #10609
    Anonymous

      Hi. I have two applications one in c ++ and one in vb6 that need to access the driver.
      First I run the application in c ++ e and open the driver. Once the handle is obtained, I pass it to the application in vb6 so that it can be used without opening it again. Is it possible from two applications to use the driver?

      #10610
      Vadim Smirnov
      Keymaster

        It is possible for two applications to use the driver if they filter over different network adapters. Otherwise they may conflict.

        However, please note that file handle is normally valid inside the process and can’t be passed outside as it is, unless it is inherited by child process or duplicated (DuplicateHandle). Besides this, please note that handle returned by OpenFilterDriver is a pointer to in-process memory object and can’t be passed by inheritance or duplication.

      Viewing 2 posts - 1 through 2 (of 2 total)
      • You must be logged in to reply to this topic.