2009-02-12, 09:39 PM
The title says it all really. I discovered recently that when I try to copy a new version of the DvbrLib.dll into the plugins\DvbRadio folder, Windows tells me the file is 'in use' by another person/process. I found out I have to stop the GB-PVR recording service to allow the file to be copied.
I'm not sure what I've changed in my code or how this can possibly be happening. The dvbr solution consists of the plugin itself, the dvbr service (Windows Service) and the DVbrLib.dll which is purely for shared classes (collections and datasets etc. which both the plugin and service use).
What's really odd is that simply restarting the gbpvr rec. service still won't allow me to copy the dvbrlib.dll in - as if the rec. service stops/starts and regains its lock. I have to stop the rec. service, copy the dll then restart the rec. service.
What is there in the rec. service that would maintain an open handle on a plugin's class library.
Cheers,
Brian
I'm not sure what I've changed in my code or how this can possibly be happening. The dvbr solution consists of the plugin itself, the dvbr service (Windows Service) and the DVbrLib.dll which is purely for shared classes (collections and datasets etc. which both the plugin and service use).
What's really odd is that simply restarting the gbpvr rec. service still won't allow me to copy the dvbrlib.dll in - as if the rec. service stops/starts and regains its lock. I have to stop the rec. service, copy the dll then restart the rec. service.
What is there in the rec. service that would maintain an open handle on a plugin's class library.
Cheers,
Brian