Problem: OLE error Code 0x80040154: Unknown COM Status Code

Problem: OLE error Code 0x80040154: Unknown COM Status Code

I am using an ActiveX control within my application.  It work fine on my development PC in develop mode and runtime mode (EXE).  However, I am getting the error with a question mark:
OLE error code 0x80040154 Unknown COM status code.  OLE object is being ignored. Record number 27.
I checked with  the screen table the record 27 and it is effectively pointing to the ActiveX (OCX).  I did registered that activeX on that “other PC” with REGSVR32 successfully.    I di check within the Expert Exchange database but found only solutions regarding “Class not registered” which is not this case (Unknown Code Status Code).  Need help… I made it 500 points because it is mainly urgent and, obviously, I have no idea on how to fix it.


Solution: OLE error Code 0x80040154: Unknown COM Status Code

I was referring to the language of the dependencies, and not your base OCX.  We are on the same page on that.  So, if your user has a French based language on that PC, that certainly could enter into the mix.  I’m not totally sure– but it is worth a look.  Also, I would never solely depend on Windows Updates for having the files there you think it should have as the latest, if you are having problems.  I use Windows Update all of the time as well, and I think it does a great job in most cases.  But, if there is any confusion at all in the signatures of file versions it looks for, it won’t necessarily always do the right thing, especially in the area of dependent DLLs.

I am no expert on getting to dependencies.  I’m fairly good at VFP, but not as skilled on all of the nooks and crannies that VFP must work in along the way.  In my last InstallShield exercise (I’m still trying to figure that monster distributable builder out), I recall seeing that it allowed me to check for dependencies.  However, I am not using the LE version that ships with the VFP CDs.  I have upgraded and I am using InstallShield X Express Edition.