I have a COM Wrapped .NET Chart control I have been using for years in PowerBuilder. (Thank Bruce Armstrong!)
I have noticed that when I put my control onto a window, and it seems to be only windows, not user objects, some binary code is embedded at the bottom of the window. If I upgrade my control I have to make sure I go through all windows and remove and re-add it to get the latest version.
I recently added a method to my control called DllVersion, there is a private string variable that has the version of the control, the method just returns it.
If I delete the dll from my PC and call this method, after adding the control to a window, the version is returned. If I have forgotten to delete and re-add the control, the old version is returned. So it seems to me some of the code has been kept around somewhere?
Can anyone explain how all this works. I've always wanted to know what PowerBuilder is actually doing, what the extra bit of embedded code is, and how it know the value of a variable in an ActiveX control where the dll for that control has been deleted.
Thanks!
Maybe someone more expert can jump in.
cheers
If it's still correctly visible, I'd definitely think the dll is still being found.
Just do a "cd c:\", "c:" and "dir my_file.dll /s" from the administrator command prompt to be really sure.