Run DUMPBIN on the machine with VC++ (dumpbin /imports mycontrolname.ocx) and
verify that all required DLLs are included in the distribution. MSVCRT.DLL is
commonly overlooked.
js
(error codes can be found in winerror.h. 0x485=1157 decimal)
lofty wrote:
--
Remove SPAMLESS to reply.
Hope this helps
Guido
I've noticed the same problem with a recent activex OCX that
we created. Our other OCX's are registering without a problem
but this recent one follows active X and it will not register on
certain Win95 systems but it doesn't have a problem when its in NT.
I have chased down all the dependency DLL's and registry entries
and everything is where it should be . . . except!
This is a registry entry for Component Catagories Manager on NT:
HKEY_CLASSES_ROOT\CLSID\{0002E005-0000-0000-C000000000000046}
"Component
Categories Manager"
InprocServer32 comcat.dll
On the failing Win95 systems it has OLE32.dll instead of comcat.dll as
its entry.
Ralph
Are you building the ActiveX control using ATL 2.x ?
ATL 2.1 ActiveX controls use ATL.DLL for the registry. If you
developed the control on one system (MSDEV system) and then put the
DLL on another system without the ATL.DLL, you will not be able to
register it. The error you are getting is an unresolved external
dependency.
You can fix this by:
#define _ATL_STATIC_REGISTRY
at the top of your stdafx.h file