Click here to Skip to main content
15,886,362 members
Home / Discussions / COM
   

COM

 
GeneralRe: Need some clarification Pin
Nathan Holt at EMOM12-Mar-08 6:25
Nathan Holt at EMOM12-Mar-08 6:25 
GeneralRe: Need some clarification Pin
Karl Hansson12-Mar-08 23:17
Karl Hansson12-Mar-08 23:17 
GeneralRe: Need some clarification Pin
Nathan Holt at EMOM13-Mar-08 8:50
Nathan Holt at EMOM13-Mar-08 8:50 
GeneralRe: Need some clarification Pin
Karl Hansson15-Mar-08 1:06
Karl Hansson15-Mar-08 1:06 
GeneralRe: Need some clarification Pin
CPallini13-Mar-08 10:47
mveCPallini13-Mar-08 10:47 
GeneralRe: Need some clarification Pin
Nathan Holt at EMOM13-Mar-08 11:03
Nathan Holt at EMOM13-Mar-08 11:03 
GeneralTrying to set "User cannot change password" option using ADSI Pin
Taruni11-Mar-08 22:50
Taruni11-Mar-08 22:50 
QuestionComponent Services->COM+->Add new component hangs, C++ Unmanaged COM DLL using C# Pin
scottdj10-Mar-08 13:08
scottdj10-Mar-08 13:08 
I have a large application that has a DLL, written initially a few years ago. It is Unmanaged C++ code, a COM object, and the solution that includes the DLL has been migrated to Visual Studio 2005. So far no problem.

A C# .NET 1.1 Class Library was written in VS .NET 2003.
I need to access the above from the Unmanaged C++ COM DLL.

I am using COM Interop
I wrote a C# .NET 2.0 Wrapper class that wraps the C# .NET 1.1 Class Library.
I added a new class to a C++ Static Lib that is linked into the C++ Unmanaged DLL. This class uses COM methods to invoke methods in the C# .NET 2.0 wrapper, which in turn calls the methods in the C# .NET 1.1 Class Library.
I wrote a simple C++ Unmanaged Console app that makes the necessary to call the methods in the C# Class Libraries. This work fine.

When I build the C++ Unmanaged DLL, that has the static lib linked it builds fine. But ever since I added the one class that calls the C# Class Library wrapper, when I try and register, via Add New Component in Component Services, the C++ Unmanaged DLL, the Add New Component hangs after I select the DLL. It does move on to the next window.

The order after I bring up Component Services is Component Services->Computers->My Computer->COM+ Applications->MyAppName->Components->New, etc.

Both C# .NET Class Libraries are in the GAC, and I have run RegAsm on both. I am looking for any ideas on how to debug what is going wrong, tools that may give me an error message, etc.

THX
Scott
GeneralRe: Component Services->COM+->Add new component hangs, C++ Unmanaged COM DLL using C# Pin
Scott Dorman10-Mar-08 15:46
professionalScott Dorman10-Mar-08 15:46 
AnswerRe: Component Services->COM+->Add new component hangs, C++ Unmanaged COM DLL using C# Pin
scottdj10-Mar-08 17:22
scottdj10-Mar-08 17:22 
GeneralRe: Component Services->COM+->Add new component hangs, C++ Unmanaged COM DLL using C# Pin
Scott Dorman10-Mar-08 17:43
professionalScott Dorman10-Mar-08 17:43 
AnswerRe: Component Services->COM+->Add new component hangs, C++ Unmanaged COM DLL using C# Pin
scottdj10-Mar-08 18:06
scottdj10-Mar-08 18:06 
GeneralRe: Component Services->COM+->Add new component hangs, C++ Unmanaged COM DLL using C# Pin
Scott Dorman11-Mar-08 4:33
professionalScott Dorman11-Mar-08 4:33 
AnswerRe: Component Services->COM+->Add new component hangs, C++ Unmanaged COM DLL using C# Pin
scottdj10-Mar-08 17:48
scottdj10-Mar-08 17:48 
GeneralRe: Component Services->COM+->Add new component hangs, C++ Unmanaged COM DLL using C# Pin
Scott Dorman11-Mar-08 4:28
professionalScott Dorman11-Mar-08 4:28 
QuestionRe: Component Services->COM+->Add new component hangs, C++ Unmanaged COM DLL using C# Pin
scottdj11-Mar-08 15:25
scottdj11-Mar-08 15:25 
GeneralRe: Component Services->COM+->Add new component hangs, C++ Unmanaged COM DLL using C# Pin
Scott Dorman12-Mar-08 2:38
professionalScott Dorman12-Mar-08 2:38 
GeneralGet "Title" information from files Pin
souljumper10-Mar-08 4:10
souljumper10-Mar-08 4:10 
QuestionHandling Internet Explorer com server object in plain C++ Pin
jattila4010-Mar-08 2:13
jattila4010-Mar-08 2:13 
GeneralRe: Handling Internet Explorer com server object in plain C++ Pin
jattila4010-Mar-08 3:48
jattila4010-Mar-08 3:48 
GeneralLink File Path Pin
john56329-Mar-08 22:25
john56329-Mar-08 22:25 
QuestionCOM Interop C++ unmanaged through C# .NET 2.0 Class Library to C# .NET 1.1managed Class Library Pin
scottdj8-Mar-08 18:33
scottdj8-Mar-08 18:33 
QuestionRe: COM Interop C++ unmanaged through C# .NET 2.0 Class Library to C# .NET 1.1managed Class Library Pin
scottdj8-Mar-08 18:36
scottdj8-Mar-08 18:36 
GeneralRe: COM Interop C++ unmanaged through C# .NET 2.0 Class Library to C# .NET 1.1managed Class Library Pin
Scott Dorman10-Mar-08 15:49
professionalScott Dorman10-Mar-08 15:49 
Generalusing com without registration Pin
justintimberlake8-Mar-08 16:31
justintimberlake8-Mar-08 16:31 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.