Click here to Skip to main content
15,896,502 members
Home / Discussions / COM
   

COM

 
GeneralRe: C++ COM Library Pin
Christian Graus16-Apr-08 17:56
protectorChristian Graus16-Apr-08 17:56 
GeneralAccessing COM Class error during runtime... Pin
Prabakar15-Apr-08 23:31
Prabakar15-Apr-08 23:31 
GeneralReleasing late binding COM object in C# Pin
Crazy Joe Devola15-Apr-08 16:28
Crazy Joe Devola15-Apr-08 16:28 
GeneralRe: Releasing late binding COM object in C# Pin
User 21559715-Apr-08 23:24
User 21559715-Apr-08 23:24 
GeneralRe: Releasing late binding COM object in C# Pin
Crazy Joe Devola16-Apr-08 10:27
Crazy Joe Devola16-Apr-08 10:27 
GeneralRe: Releasing late binding COM object in C# Pin
User 21559716-Apr-08 11:55
User 21559716-Apr-08 11:55 
GeneralProblem with "ActivationContext" and multithreading Pin
Jürgen Jung14-Apr-08 2:35
Jürgen Jung14-Apr-08 2:35 
GeneralRe: Problem with "ActivationContext" and multithreading Pin
Nathan Holt at EMOM16-Apr-08 11:49
Nathan Holt at EMOM16-Apr-08 11:49 
Jürgen Jung wrote:
I have an application(MFC), which should work with some "registration-free" com-components. I have extended the the application manifest and created a "com-manifest", as shown in the ms-examples. Everything works fine.

BUT, one of my menuitems starts a userthread which needs one of the
"registration-free" com-components, an ocx. The creation of the component succeeeds, but the QuickActivate() fails with an access violation.
Some ideas what goes wrong?

Hoping for help, thank you.


A .ocx file sounds like an ActiveX control dll, and ActiveX controls can only run in the user interface thread. It seems likely that whatever object you need to access would need special thread safety additions. If the component you need is itself an ActiveX control, then your problem is more difficuld. You can either find some way to get the control accessed from the UI thread, or you could factor out whatever you need access to into a thread safe component.

Nathan
Generalerror MIDL2025 : syntax error : expecting a type specification near "interface_name" Pin
Ganesh_T14-Apr-08 1:59
Ganesh_T14-Apr-08 1:59 
GeneralRe: error MIDL2025 : syntax error : expecting a type specification near "interface_name" Pin
Vi214-Apr-08 19:37
Vi214-Apr-08 19:37 
GeneralReading/Writing the "titel"-information of (office)documents Pin
souljumper12-Apr-08 11:54
souljumper12-Apr-08 11:54 
GeneralRe: Reading/Writing the "titel"-information of (office)documents Pin
souljumper13-Apr-08 8:00
souljumper13-Apr-08 8:00 
Questionpassing parameters from c++ to c# COM Pin
Green Fuze9-Apr-08 23:23
Green Fuze9-Apr-08 23:23 
GeneralRe: passing parameters from c++ to c# COM Pin
Vi210-Apr-08 20:31
Vi210-Apr-08 20:31 
GeneralRe: passing parameters from c++ to c# COM Pin
Green Fuze13-Apr-08 3:47
Green Fuze13-Apr-08 3:47 
GeneralRe: passing parameters from c++ to c# COM Pin
Michael Dunn13-Apr-08 12:37
sitebuilderMichael Dunn13-Apr-08 12:37 
GeneralRe: passing parameters from c++ to c# COM Pin
Green Fuze21-Apr-08 4:57
Green Fuze21-Apr-08 4:57 
GeneralPartial Lookups in Excel Macro Pin
Brendan Vogt9-Apr-08 4:19
Brendan Vogt9-Apr-08 4:19 
QuestionDoes anyone have the definition documentation of in Vc++ "C:\Program Files\Microsoft Office\OFFICE11\EXCEL.EXE" Pin
larryhcx8-Apr-08 18:36
larryhcx8-Apr-08 18:36 
Questiononly a question about activeX, please help me : ) Pin
sdplox8-Apr-08 16:11
sdplox8-Apr-08 16:11 
QuestionHow to check if a COM DLL was generated from given source code ? [modified] Pin
GuimaSun8-Apr-08 7:20
GuimaSun8-Apr-08 7:20 
Questionhow to defined a defaultvalue interface-function in idl file? Pin
huangdingjun7-Apr-08 17:12
huangdingjun7-Apr-08 17:12 
QuestionHow to add VC++ 6.0 dlls to ASP.NET web application?( through Add ref) Pin
Prabakar3-Apr-08 23:58
Prabakar3-Apr-08 23:58 
GeneralCOM/ATL Event problem [modified] Pin
knuttermutter3-Apr-08 0:21
knuttermutter3-Apr-08 0:21 
GeneralEvents from C# to COM dll (C++) Pin
SteinarAa2-Apr-08 2:58
SteinarAa2-Apr-08 2:58 

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.