Click here to Skip to main content
15,905,915 members
Home / Discussions / COM
   

COM

 
AnswerRe: How to read Tyupe Libraries(TLBs) in C#? Pin
«_Superman_»6-May-10 15:51
professional«_Superman_»6-May-10 15:51 
QuestionCoCreateInstance HResult is failing, getting error -2147221164 stating that Class is not registered. Pin
pallaka3-May-10 3:24
pallaka3-May-10 3:24 
AnswerRe: CoCreateInstance HResult is failing, getting error -2147221164 stating that Class is not registered. Pin
«_Superman_»3-May-10 11:22
professional«_Superman_»3-May-10 11:22 
AnswerRe: CoCreateInstance HResult is failing, getting error -2147221164 stating that Class is not registered. Pin
Vi25-May-10 21:30
Vi25-May-10 21:30 
QuestionAbout COM+ Pin
NetQuestions29-Apr-10 19:41
NetQuestions29-Apr-10 19:41 
AnswerRe: About COM+ Pin
Michel Godfroid1-May-10 7:56
Michel Godfroid1-May-10 7:56 
GeneralRe: About COM+ Pin
NetQuestions24-May-10 19:09
NetQuestions24-May-10 19:09 
QuestionProblem with Breakpoint when Debugging a COM interop API with .NET 4.0 Pin
Hallmanac26-Apr-10 15:46
Hallmanac26-Apr-10 15:46 
Disclaimer:
I've been breaking into developing via the C# language for about 7 months now, so take it easy on me.

I am writing an add-in to a 3D CAD program called Autodesk Inventor. It has a COM API and they (Autodesk) provide a nice project template to start from which includes the proper references as well as some pre-baked code to get you started. I have been succesfully coding against it for a couple of months now and I have decided to try out the new C# 4.0 language features that just came out with VS 2010. I'm really liking the named and optional parameters, but I digress.

When debugging, I start up an Inventor.exe session which, in short, looks to the registry and finds my add-in and loads it. The problem I'm having is actually hitting a breakpoint in my code while debugging. I have gone through several different property settings on the referenced InventorInterop.dll as well as options on debugging (among other trial and error things), none of which seems to work. The only thing that works is when I go back to an earlier .NET framework (i.e. not 4.0).

I have tried this on other *sample* add-ins that come with the SDK and the same thing happens. The add-in loads and code gets executed, but the breakpoints don't get hit when targeting the .NET 4.0 framework.

Is this a problem with me, the COM interop, or something else altogether?

Thanks in advance.

-Brian Hall-
QuestionGetting started with COM Pin
Ron Aldrich26-Apr-10 10:05
Ron Aldrich26-Apr-10 10:05 
AnswerRe: Getting started with COM Pin
Michel Godfroid26-Apr-10 11:42
Michel Godfroid26-Apr-10 11:42 
GeneralRe: Getting started with COM Pin
Ron Aldrich27-Apr-10 11:21
Ron Aldrich27-Apr-10 11:21 
GeneralRe: Getting started with COM Pin
Michel Godfroid27-Apr-10 12:23
Michel Godfroid27-Apr-10 12:23 
QuestionDevelop a PLug-In for IE in c# (like Tamper IE) Pin
shiv301026-Apr-10 3:18
shiv301026-Apr-10 3:18 
AnswerRe: Develop a PLug-In for IE in c# (like Tamper IE) Pin
Michel Godfroid26-Apr-10 3:25
Michel Godfroid26-Apr-10 3:25 
Questioncreating COM Class in .net having function with string array as input pramenter Pin
Shrikanth Saripella25-Apr-10 20:10
Shrikanth Saripella25-Apr-10 20:10 
AnswerRe: creating COM Class in .net having function with string array as input pramenter Pin
Stuart Dootson25-Apr-10 21:41
professionalStuart Dootson25-Apr-10 21:41 
QuestionHow to get Interface to Control after #importing Pin
JohnnyG24-Apr-10 12:31
JohnnyG24-Apr-10 12:31 
AnswerRe: How to get Interface to Control after #importing Pin
Jonathan Davies25-Apr-10 0:44
Jonathan Davies25-Apr-10 0:44 
GeneralRe: How to get Interface to Control after #importing [modified] Pin
JohnnyG26-Apr-10 11:10
JohnnyG26-Apr-10 11:10 
GeneralRe: How to get Interface to Control after #importing Pin
Jonathan Davies26-Apr-10 23:15
Jonathan Davies26-Apr-10 23:15 
QuestionHow to check whether a PE(DLL,EXE) is a COM component or Win32 DLL/EXE? Pin
glitteringsound20-Apr-10 20:47
glitteringsound20-Apr-10 20:47 
AnswerRe: How to check whether a PE(DLL,EXE) is a COM component or Win32 DLL/EXE? Pin
Stephen Hewitt20-Apr-10 21:01
Stephen Hewitt20-Apr-10 21:01 
GeneralRe: How to check whether a PE(DLL,EXE) is a COM component or Win32 DLL/EXE? Pin
glitteringsound20-Apr-10 21:12
glitteringsound20-Apr-10 21:12 
GeneralRe: How to check whether a PE(DLL,EXE) is a COM component or Win32 DLL/EXE? Pin
Stephen Hewitt20-Apr-10 21:17
Stephen Hewitt20-Apr-10 21:17 
GeneralRe: How to check whether a PE(DLL,EXE) is a COM component or Win32 DLL/EXE? Pin
glitteringsound20-Apr-10 22:15
glitteringsound20-Apr-10 22:15 

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.