Ok,
LabVIEW loads a DLL invoked in a Call Library Function when the VI that contains the Call Library Function is loaded into memory. Likewise, LabVIEW unloads the DLL when the VI that calls it is unloaded from memory (i.e., the VI is closed). So Basically what happens here is that the dll is not unloaded from labview memory and still holding the parallel port resource.
-Is there a function to close the comm in the dll that may prevent it to release the resource?
- Try encapsulating the Call Library Function node into a subvi so that dll is "theoretically" unloaded when this is done executing
Good luck,
Cyril Bouton
Active LabVIEW Developper