I am using a third party lib from a hardware company. delivering a data aquisition card that reads data from
a CAN bus.
If i integrate the H file and the dll to my project, but don't use any of the methods from
this library, the inspector throws me an lot of kernel resource leaks pointing to that library.
Why does that happen, none of the code has been used?
If you have dll integrated into project, but you don't use methods from it. Try like as -
inspxe-cl -collect mi2 -module-filter-mode=exclude -module-filter=3rd-party-dll -- your-program ; will not analyze dll
inspxe-cl -collect mi2 -module-filter-mode=include -module-filter=your-program -- your-program ; only analyze your executable