Click here to Skip to main content
15,913,467 members
Home / Discussions / COM
   

COM

 
AnswerRe: How to make ActiveX Control Redraw in a work thread? Pin
Lim Bio Liong19-Mar-08 18:44
Lim Bio Liong19-Mar-08 18:44 
GeneralRe: How to make ActiveX Control Redraw in a work thread? Pin
samfromcn20-Mar-08 7:18
samfromcn20-Mar-08 7:18 
GeneralRe: How to make ActiveX Control Redraw in a work thread? Pin
Lim Bio Liong20-Mar-08 17:00
Lim Bio Liong20-Mar-08 17:00 
QuestionIs it good to use ref Parameter with a COM Method in C# Pin
madhankum18-Mar-08 5:07
madhankum18-Mar-08 5:07 
GeneralRe: Is it good to use ref Parameter with a COM Method in C# Pin
Nathan Holt at EMOM20-Mar-08 8:58
Nathan Holt at EMOM20-Mar-08 8:58 
GeneralExcel Macro for Filtered Data Pin
Brendan Vogt17-Mar-08 3:15
Brendan Vogt17-Mar-08 3:15 
QuestionCan a Flash File call a custom ActiveX objects's methods Pin
thomas_tom9915-Mar-08 4:30
thomas_tom9915-Mar-08 4:30 
AnswerRe: Can a Flash File call a custom ActiveX objects's methods Pin
User 21559715-Mar-08 11:29
User 21559715-Mar-08 11:29 
GeneralCustom HTTP headers in IWebBrowser2 Pin
berserker_r13-Mar-08 4:50
berserker_r13-Mar-08 4:50 
GeneralDebugging a .net dll via com wrapper Pin
RB@Emphasys13-Mar-08 4:28
RB@Emphasys13-Mar-08 4:28 
GeneralRe: Debugging a .net dll via com wrapper Pin
User 21559715-Mar-08 11:32
User 21559715-Mar-08 11:32 
QuestionREPAINT on IVideoWindow [modified] Pin
Member 263291112-Mar-08 4:35
Member 263291112-Mar-08 4:35 
QuestionNeed some clarification Pin
Karl Hansson12-Mar-08 0:11
Karl Hansson12-Mar-08 0:11 
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 
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 
scottdj wrote:
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.


You need to access the C# 1.1 dll from the unmanaged C++ COM dll? This doesn't really make sense.

scottdj wrote:
I wrote a C# .NET 2.0 Wrapper class that wraps the C# .NET 1.1 Class Library.


Why do this? It would be better to rewrite the code directly in the C# 2.0 class.

From what I see here you have the following situation:


  • Unmanaged C++ COM object
  • C# 1.1 library that is called from the unmanaged C++ COM object
  • C# 2.0 class that wraps the C# 1.1 class

I think part of the problem you are running in to is the fact that this is running under Component Services, so you don't really have any control over which version of the runtime will be loaded (it will always load the latest version of the runtime, regardless of what version the assembly was compiled against). Also, you can't have one process running different versions of the .NET runtime.

Scott.

—In just two days, tomorrow will be yesterday.
—Hey, hey, hey. Don't be mean. We don't have to be mean because, remember, no matter where you go, there you are. - Buckaroo Banzai

[Forum Guidelines] [Articles] [Blog]

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 

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.