Jigar Mehta's Blog
Email Blog Author
RSS for comments
RSS for posts
Search this blog
Search all blogs
Browse by Tags
Jigar Mehta's Blog
Tagged Content List
CoCreateInstance returns 0x80080005 for Visual Studio 2008 based ATL service??
I just worked with a customer who was facing interesting issue. He was getting 0x80080005 at client when he calls CoCreateInstance. The COM component is implemented within an ATL Service which is running on the same machine (we are not hitting wire/network). Now, typical meaning of this error is, CO_E_SERVER_EXEC_FAILURE ...
7 May 2008
How to register .NET Assembly for COM Interop ?
Do you want to use your .NET DLL (assembly) from VB6 or C++ application (native code) ? Yes, you can do that using COM Interop. As per COM rules, you need to get your assembly registered on system (in Registry, yes, thats how COM works!). To get an assembly registered on system, you can use regasm utility...
28 Apr 2008
Getting error - Library not registered
Problem : When loading the type-library (using #import directive or even from oleview.exe), getting problem which says something as follows, Troubleshooting : Complete. Debugged in Windbg and found that OLEAUT32!LoadRegTypeLib was failing. Solution : Upgrading to latest version of OLEVIEW (Platform SDK...
16 May 2007
Changes to COM in Windows Vista
The following changes appear in COM in Windows Vista: The COM elevation moniker allows applications that are running under a limited user account (LUA) to activate COM classes with elevated functionality. For more information, please see The COM Elevation Moniker . When you install an application that...
3 May 2007
Regsvr32.exe gives error 'The specified procedure could not be found'
Just got a problem where the COM DLL was compiled on Windows XP and while registering the DLL, it was giving error saying "The specified procedure could not be found".. While debugging the regsvr32 process, found that it was loading the DLL (customer's COM dll) and at that time, one method from Kernel32...
16 Mar 2007
Implementing the Connection Points on the client side..
While searching a very simple/basic sample with good guidelines on this, I found following article useful.. http://www.codeproject.com/atl/ConnectionPoint.asp
11 Feb 2007
HKEY_CLASSES_ROOT is just a logical structure..
Just came to know that HKEY_CLASSES_ROOT is nothing but a logical top level component.. The main source for this root is, HKEY_LOCAL_MACHINE\SOFTWARE\Classes. If you want to experiment with it, try creating a new key under HKEY_CLASSES_ROOT and then open HEKY_LOCAL_MACHINE\SOFTWARE\Classes key, you will...
9 Feb 2007
I was searching for real good examples and theory about COM apartment.. From all the publicly available material, I liked this one the most ! http://www.codeguru.com/Cpp/COM-Tech/activex/apts/article.php/c5551/ Hope you will like it and understand from there. Happy COMing!!
8 Jan 2007
Page 1 of 1 (8 items)
© 2014 Microsoft Corporation.
Privacy & Cookies