PC Review Forums Newsgroups Windows Vista Windows Vista General Discussion Need help with Side-by-Side Assembly on Vista

Reply

Need help with Side-by-Side Assembly on Vista

 
Thread Tools Rate Thread
Old 29-10-2007, 03:51 PM   #1
=?Utf-8?B?Z3Njb3R0MjExMg==?=
Guest
 
Posts: n/a
Default Need help with Side-by-Side Assembly on Vista


I have a COM dll that I am distributing as a Side-by-Side reg-free dll.
On XP I have no problems using the component, on Vista I get errors trying
to create the COM object.

Either 0x80040154 (Class not registered) when using a GUID to create the
object or
0x800401F3 when trying to use the prog id.

Is there something additional that needs to be done to get Side-By-Side
assemblies to work on Vista?

The dll manifest is embedded in the dll

<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
<assemblyIdentity name="MyAssembly" version="1.0.0.1" type="win32"
processorArchitecture="x86"/>
<file name="MyDll.dll">
<comClass clsid="{EAFAB8C6-6DA1-453C-BEEB-6DB54F574FE0}"
description="My Class"
tlbid="{10FE49AF-15C5-4FAB-8AB8-0FA72A0A43F9}"
threadingModel="both"
progid="MyDll.MyClass.1">
<progid>MyDll.MyClass</progid>
</comClass>
<typelib tlbid="{10FE49AF-15C5-4FAB-8AB8-0FA72A0A43F9}"
version="1.0"
helpdir=""
flags="hasdiskimage"/>
</file>
<comInterfaceExternalProxyStub
iid="{6A15CB33-C7FD-4740-B4FC-0093C3DC91C4}"
name="IMyClass"
tlbid="{10FE49AF-15C5-4FAB-8AB8-0FA72A0A43F9}"
proxyStubClsid32="{EAFAB8C6-6DA1-453C-BEEB-6DB54F574FE0}"
numMethods="13"/>
</assembly>
  Reply With Quote
Old 29-10-2007, 04:27 PM   #2
Charlie42
Guest
 
Posts: n/a
Default Re: Need help with Side-by-Side Assembly on Vista

gscott2112 <gscott2112@discussions.microsoft.com> wrote:

> I have a COM dll that I am distributing as a Side-by-Side reg-free
> dll. On XP I have no problems using the component, on Vista I get errors
> trying to create the COM object.
>
> Either 0x80040154 (Class not registered) when using a GUID to create the
> object or 0x800401F3 when trying to use the prog id.
>
> Is there something additional that needs to be done to get Side-By-Side
> assemblies to work on Vista?
>
> The dll manifest is embedded in the dll


You'll probably find more resources and better help with this at MSDN:

http://msdn2.microsoft.com/en-us/library/default.aspx
http://msdn2.microsoft.com/en-us/aa570318.aspx

Charlie42

  Reply With Quote
Reply



Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off