Цитата(alevnew @ May 19 2010, 17:45)

Но тем не менее, можно открыть из нескольких прог одновременно.
Проблема в драйвере ?
Как побороть ? Или хотя бы как узнать, открыто ли уже это устройство кем-то ?
Вот что пишут в ДДК
Цитата
Specifying Exclusive Access to Device Objects
If exclusive access to a device is enabled, only one handle to the device can be open at a time. For the I/O manager to enforce exclusive access to the device, the exclusive property must be set for the named device object in the device stack.
For a WDM device stack that has a both a PDO and an FDO, the exclusive property can be set only by the INF file, by using an INF AddReg directive. The PDO is the named object in the stack, but the bus driver (not the function driver itself) creates the PDO, on behalf of the function driver. The only way to direct the bus driver to set the exclusive flag for the PDO is by the class or device INF files. (The call to the IoCreateDevice routine creates the FDO; setting the exclusive flag for the FDO has no effect.)
Если найдете способ, поделитесь.