Click here to Skip to main content
15,920,645 members
Home / Discussions / COM
   

COM

 
GeneralRe: How to get DSFDevice from DSFDevices collection (simulated a EHCI controller):sigh: :sigh: Pin
User 21559722-Apr-08 2:51
User 21559722-Apr-08 2:51 
GeneralRe: How to get DSFDevice from DSFDevices collection (simulated a EHCI controller):sigh: :sigh: Pin
Vi222-Apr-08 17:28
Vi222-Apr-08 17:28 
QuestionRe: How to get DSFDevice from DSFDevices collection (simulated a EHCI controller):sigh: :sigh: Pin
XuanThinh TRAN22-Apr-08 18:27
XuanThinh TRAN22-Apr-08 18:27 
GeneralRe: How to get DSFDevice from DSFDevices collection (simulated a EHCI controller):sigh: :sigh: Pin
XuanThinh TRAN22-Apr-08 18:30
XuanThinh TRAN22-Apr-08 18:30 
GeneralRe: How to get DSFDevice from DSFDevices collection (simulated a EHCI controller):sigh: :sigh: Pin
Vi223-Apr-08 0:53
Vi223-Apr-08 0:53 
AnswerRe: How to get DSFDevice from DSFDevices collection (simulated a EHCI controller):sigh: :sigh: [modified] Pin
User 21559723-Apr-08 1:49
User 21559723-Apr-08 1:49 
GeneralRe: How to get DSFDevice from DSFDevices collection (simulated a EHCI controller):sigh: :sigh: Pin
User 21559729-Apr-08 0:15
User 21559729-Apr-08 0:15 
GeneralRe: How to get DSFDevice from DSFDevices collection (simulated a EHCI controller):sigh: :sigh: Pin
XuanThinh TRAN8-May-08 21:43
XuanThinh TRAN8-May-08 21:43 
GeneralRe: How to get DSFDevice from DSFDevices collection (simulated a EHCI controller):sigh: :sigh: Pin
User 2155978-May-08 21:55
User 2155978-May-08 21:55 
GeneralMSXML DOM and MFC Pin
Raja Shekar17-Apr-08 13:34
Raja Shekar17-Apr-08 13:34 
GeneralRe: MSXML DOM and MFC Pin
Baltoro23-Apr-08 13:29
Baltoro23-Apr-08 13:29 
QuestionSinking mshtml.HTMLDocument events in C# BHO Pin
Kim Briggs17-Apr-08 3:26
Kim Briggs17-Apr-08 3:26 
GeneralC++ COM Library Pin
thatsgreat234516-Apr-08 16:58
thatsgreat234516-Apr-08 16:58 
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 

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.