rbei-etas/busmaster — Issue #89: Unload of icsneo40.dll fails in BOA.
Author: RBEI-ArunKumar
Created: 2011-11-15 07:21:09+00:00
State: open

This is with reference to the usage of BOA in BUSMASTER application.
The BOA 1.4.0 installation uses 3.5.0.5 version of icsneo40.dll.

When we make a call to the 'CSI_CreateProtocolTree' API located in 'dll-csiBind_1_4.dll', the icsneo40.dll (3.5.0.5 which is in BOA installation) gets loaded. But, when we try to free the library 'dll-csiBind_1_4.dll', the icsneo40.dll stills remains unloaded in the adress space of BUSMASTER application. At this point of time, if the other DILs like CAN_ETAS_ES581 tries to load the icsneo40.dll(latest version 3.5.1.67), they still get the handle to the unloaded version of icsneo40.dll which is in BOA install folder. This makes the application to behave in an unintended way.

This problem is found out while working with issue No 76: https://github.com/rbei-etas/busmaster/issues/76.

The possibility to solve the issue is to have proper unloading of the icsneo40.dll when 'dll-csiBind_1_4.dll' is unloaded. Also, the latest icsneo40.dll can be updated to BOA installation.