- Aron Cox
- PowerBuilder
- Tuesday, 21 January 2020 11:51 AM UTC
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!
Find Questions by Tag
Helpful?
If a reply or comment is helpful for you, please don’t hesitate to click the Helpful button. This action is further confirmation of their invaluable contribution to the Appeon Community.