|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
Re: regsvr32 failing on win98 works 2k
From: Lewis Jones (Lewis.Jones
ONBASE.COM)
Date: Fri Jan 16 2004 - 12:01:16 CST
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
(Steve Johnson beat me to it but... oh well)
ATL (which the _Module class is a part of) relies in part on the ATL Registrar service to insert the information into the registry.
This ATL Registrar service is embodied by this dll: ATL.DLL.
This dll (I don't think) doesn't get installed on Win98 by default (If I remember correctly. I know it was never installed in win95).
ATL.DLL is a redistributable component. And two flavors should be found on any system with DevStudio installed. One for ANSI, one for Unicode.
The ANSI version needs to be deployed to the 9x/ME os'es, and the Unicode version can be deployed to the NT os'es.
You can also compile your DLL to include the Registrar statically. Consult MSDN about _ATL_STATIC_REGISTRY.
> -----Original Message-----
> From: Distributed COM-Based Code [mailto:DCOM
DISCUSS.MICROSOFT.COM]On
> Behalf Of Tom Hindle
> Sent: Friday, January 16, 2004 12:18 PM
> To: DCOM
DISCUSS.MICROSOFT.COM
> Subject: regsvr32 failing on win98 works 2k
>
>
> Hello,
>
> I have a dll which DllRegisterSever function just calls
>
> _Module.RegisterServer(FALSE)
>
> and so should register my classes in my OBJECT_MAP MACROS.
>
> When I run regsvr32 file.dll
> Works fine on win2k - correct reg enteries placed in reg.
>
> When I do the same on win98
> I fails with 0x80040154
> (REGDB_E_CLASSNOTREG)
>
>
> as far I'm aware CComModule::RegisterServer justs writes stuff in the
> reg.
>
> I've checked the the CLSID is not already in the reg.
>
> any one got any ideas why this is happening?
>
> Thanks
>
>
> --
> Yours
> Thomas Hindle
>
> -----------------------------------------------------------
> Thomas Hindle
> Querix UK
> 36A London Road http://www.querix.com
> Southampton
> t.hindle
querix.com
>
> Tel: +44 23 8038 5181 (Sales)
> +44 23 8038 5182 (Support)
> Fax: +44 23 8039 9685
> ------------------------------------------------------------
>
> ----------------------------------------------------------------
> Users Guide http://discuss.microsoft.com/archives/mailfaq.html
> contains important info. Save time, search the archives at
> http://discuss.microsoft.com/archives/index.html .
> To unsubscribe, mailto:DCOM-signoff-request
DISCUSS.MICROSOFT.COM
>
CONFIDENTIALITY NOTICE: This message and any attached documents may contain confidential information from Hyland Software, Inc. The information is intended only for the use of the individual or entity named above. If the reader of this message is not the intended recipient, or an employee or agent responsible for the delivery of this message to the intended recipient, the reader is hereby notified that any dissemination, distribution or copying of this message or of any attached documents, or the taking of any action or omission to take any action in reliance on the contents of this message or of any attached documents, is strictly prohibited. If you have received this communication in error, please notify the sender immediately by e-mail or telephone, at (440) 788-5000, and delete the original message immediately. Thank you.
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]