|
-
Jan 10th, 2006, 11:12 PM
#1
[RESOLVED] COM problems
Code:
JiwaInventory.clsInventory inventory = new JiwaInventory.clsInventoryClass();
JiwaInventory is a COM dll.
the code generates the following error: "Retrieving the COM class factory for component with CLSID {7DCA24D5-2378-400F-875A-6B9DDF7610E2} failed due to the following error: 80040154."
can anyone tell me what the error means (or where i could find out)? i have no documentation for the COM object.
-
Jan 10th, 2006, 11:21 PM
#2
Re: COM problems
Not too sure about your specifics but I found some hits on msdn that may help -
http://search.microsoft.com/results....-US&q=80040154
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum. 
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it! 
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6 
-
Jan 10th, 2006, 11:42 PM
#3
Re: COM problems
thanks for the help, but couldn't find anything useful.
where would i find out what error 80040154 means?
-
Jan 10th, 2006, 11:47 PM
#4
Re: COM problems
According to a forum post from one of the results of Rob's search, that error code means "class not registered". I can't vouch for the verisimilitude of that information though.
(Always wanted to use that word. Any Star Trek: Voyager fans may recall Tuvok having used it once... or they may have a life.)
-
Jan 10th, 2006, 11:53 PM
#5
Re: COM problems
 Originally Posted by jmcilhinney
According to a forum post from one of the results of Rob's search, that error code means "class not registered". I can't vouch for the verisimilitude of that information though.
(Always wanted to use that word. Any Star Trek: Voyager fans may recall Tuvok having used it once... or they may have a life.) 
i tried running "regsvr32 Interop.JiwaInventory.dll", but it gave the error "Interop.JiwaInventory.dll was loaded, but the DllRegisterServer entry point was not found. This file cannot be registered."
-
Jan 11th, 2006, 12:00 AM
#6
Re: COM problems
That is a .NET assembly. You don't register .NET assemblies. You need to register the COM library that that assembly is designed to allow you to INTEROPerate with.
-
Jan 11th, 2006, 12:25 AM
#7
Re: COM problems
i tried registering the COM library associated with the .NET assembly but i got the same error.
where can i find a list of all COM objects that have been registered with windows?
-
Jan 11th, 2006, 12:35 AM
#8
Re: COM problems
I have limited knowledge when it comes to COM. You now know what I (think I) know. I'll leave you at the mercy of others from here.
-
Jan 11th, 2006, 04:23 AM
#9
Re: COM problems
Usually you can find out what the variaous meanings of the error code is by searching MS like I did.
Here are 7 more hits at MS.
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum. 
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it! 
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6 
-
Jan 11th, 2006, 04:54 AM
#10
Re: COM problems
thanks for the help on this...
it seems like the error code means the class is not registered (as posted by jm), but when i register the class with regsvr32 the same error appears.
-
Jan 11th, 2006, 05:00 AM
#11
Re: COM problems
Yes, but I think John posted in #6 about this. Maybe he can elaborate?
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum. 
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it! 
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6 
-
Jan 11th, 2006, 06:35 PM
#12
Re: COM problems
problem solved!
i removed the reference to the interop dll and added a reference to the COM dll, so VS would create a new interop dll.
must have been a problem somewhere in the old interop dll.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|