Thanks for you two
jeslar360 as right, it's exactly what i want to do.
Sometimes my VB application open a DLL and not close correctly for X reason (Stop the program in the middle, Scratch the program, etc...).
In the VB forum, the member say to me, it's impossible to know if the DLL is really close
There are an API, i'm not remember the name, but it's perhaps "GetModule...." to test, if she has always in the memory.
But the means it's shared between the programer, someone say to me that this API not give the real and good result.
So if i loop a closelibrary with the return of this API, it's very dangerous because it's possible to disturb the memory and the array of the handle.
This is the reason why, i ask this question, if PB can control the handle of an API, open with another application, because VB can't do this
