Click here to Skip to main content
15,898,588 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 
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 
The C++ Unmanaged DLL has been around for quite a while, it has been register via Component Services many times without problems.

My initial problem was a global class variable in several DLLs that are implicitly linked to 'The C++ Unmanaged DLL' that I am trying to register.
I added code to one of these linked into 'The C++ Unmanaged DLL' call it A.dll for know, to call the C# .NET 2.0 Class Lib Wrapper, via COM Interop, which in turn calls methods in the C# .NET 1.1 Class Lib.

I got rid of the globals. Before I did this A.dll would not register with RegSvr32.exe, and at least I got some error info, i.e., trying to run managed code during the initialization process. Since RegSvr32 has to load A.dll to call DllRegisterServer, it also has to load the implicitly linked Dlls thus getting into the managed code.

After removing the global, I can now register A.dll via RegSvr32, but when I attempt to register via Component Services, it just hangs.

If indeed you have .NET 1.1 & .NET 2.0 code in a Dll it will use .NET 2.0 for everything then I think we have a problem with this in itself. Not necessarily the cause of Component Services hanging trying to Register A.dll. If indeed the code is running the .NET 2.0 Framework, there must be some mechanism to allow running of older components, at least I hope this is the case.

Hope this makes things a little more clear.

THX

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.