![]() ![]() The debugger shows us the contents of lpString and lpString2 when we hover the mouse over: ![]() I opened sub_21C118D3 and set a breakpoint on RegQueryValueA. ![]() So a registry key under HKEY_CLASSES_ROOT\Licenses is checked. I searched in the Strings Tab for the word Licenses which brought up this part of the code: I decided to open MSCOMM32.OCX in Ida Pro to see where this error comes from. I looked up this error code and it stands for CLASS_E_NOTLICENSED.Ī google search lead me to this kb article which explains that it’s a license issue that only occurs when you create the control at run-time.Īt this point I wasn’t sure if my problem was related to ![]() The VBS code is then simply: Set objMSComm = CreateObject("MSCommLib.MSComm")Įxecuting the script failed with error 80040112. For that I needed the ProgID from the same registry key: My next check was to confirm if the control was actually working with a VB Script. This confirmed that the component was registered: I wanted to quickly test if the component was correctly registered so I searched the registry from HKEY_CLASSES_ROOT for mscomm32.ocx. Yesterday I wrote about troubleshooting an application that used Com Port redirection in Citrix.ĭuring the troubleshoot I noticed that the application used an ActiveX component, MSCOMM32.OCX, for serial communication. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |