Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Vista Newsgroups > Vista General

Vista Tutorial - Need help with Side-by-Side Assembly on Vista

Reply
 
Old 10-29-2007   #1 (permalink)
gscott2112
Guest


 
 

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>

My System SpecsSystem Spec
Old 10-29-2007   #2 (permalink)
Charlie42
Guest


 
 

Re: Need help with Side-by-Side Assembly on Vista

gscott2112 <gscott2112@xxxxxx> wrote:
Quote:

> 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

My System SpecsSystem Spec
Reply

Thread Tools


Similar Threads
Thread Forum
Application failed to start - side-by-side configuration incorrect Vista General
Microsoft Flight Simulator X side-by-side configuration error Vista Games
Flight Sim X side by side error in Vista Vista Games
Side-by-Side Comparison of Vista Versions Vista General
side-by-side comparison chart for different editions of Vista Vista General


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46