Click here to Skip to main content
16,005,697 members
Home / Discussions / COM
   

COM

 
AnswerRe: Exceptions in CoUninitialize Pin
Mike Dimmick21-Apr-06 0:40
Mike Dimmick21-Apr-06 0:40 
GeneralRe: Exceptions in CoUninitialize Pin
softwaremonkey21-Apr-06 2:04
softwaremonkey21-Apr-06 2:04 
AnswerRe: Exceptions in CoUninitialize Pin
User 21559721-Apr-06 0:47
User 21559721-Apr-06 0:47 
GeneralRe: Exceptions in CoUninitialize Pin
softwaremonkey21-Apr-06 1:59
softwaremonkey21-Apr-06 1:59 
Question.idl compilation errors Pin
scoroop20-Apr-06 3:47
scoroop20-Apr-06 3:47 
QuestionRe: .idl compilation errors Pin
prasad_som20-Apr-06 20:28
prasad_som20-Apr-06 20:28 
AnswerRe: .idl compilation errors Pin
User 21559720-Apr-06 23:57
User 21559720-Apr-06 23:57 
QuestionHow do I fire events in a windowless ActiveX control? Pin
prcarp17-Apr-06 23:40
prcarp17-Apr-06 23:40 
I built a control using the MFC ActiveX control wizard in VC6 and I am able to add methods, properties, and events just fine. When the control is created, I start a new thread (CWinThread-based) in the constructor. The control is not visible during runtime; rather this worker thread runs in the background (reading the serial port and doing parsing operations) and sends back information to the host application via events. The way I did this was to make the thread class a friend of the control class so that the thread class could directly call the FireEvent___ functions. Is this the right way to do this? I've Googled this and also searched cp here but came up short on specific examples.

I ask this because when I test the control on VB6, sometimes the entire VB IDE shuts down (crash). When I test the control on VB.NET 2005, the event callback functions can't access any of the form controls (because the event function is called under the context of the control's worker thread). In LabView, the events fire back but all the arguments are zero; not the values that were passed to the FireEvent___ function (they are all signed long).

Thanks in advance!
AnswerRe: How do I fire events in a windowless ActiveX control? Pin
Lim Bio Liong19-Apr-06 6:24
Lim Bio Liong19-Apr-06 6:24 
QuestionDifference between ActiveX and COM Pin
HakunaMatada17-Apr-06 0:23
HakunaMatada17-Apr-06 0:23 
AnswerRe: Difference between ActiveX and COM Pin
Stephen Hewitt17-Apr-06 13:39
Stephen Hewitt17-Apr-06 13:39 
AnswerRe: Difference between ActiveX and COM Pin
ThatsAlok22-Apr-06 22:17
ThatsAlok22-Apr-06 22:17 
QuestionCOM vs Non-COM MS Access SQL Pin
Jeanne Dixon14-Apr-06 4:23
Jeanne Dixon14-Apr-06 4:23 
AnswerRe: COM vs Non-COM MS Access SQL Pin
Mike Dimmick21-Apr-06 0:48
Mike Dimmick21-Apr-06 0:48 
Questionplease read :its importent Pin
baldha rakesh14-Apr-06 0:53
baldha rakesh14-Apr-06 0:53 
AnswerRe: please read :its importent Pin
toxcct14-Apr-06 4:11
toxcct14-Apr-06 4:11 
GeneralRe: please read :its importent Pin
ThatsAlok22-Apr-06 22:14
ThatsAlok22-Apr-06 22:14 
GeneralRe: please read :its importent Pin
super_ttd23-Apr-06 7:59
super_ttd23-Apr-06 7:59 
QuestionCOM like MS.Equation in MS.Word Pin
vtalau13-Apr-06 21:35
vtalau13-Apr-06 21:35 
QuestionHow to replace the moniker used by MSHTML into Internet Explorer Pin
manudev13-Apr-06 5:00
manudev13-Apr-06 5:00 
QuestionReinstance COM Object in C++ Pin
MarcoNedwig11-Apr-06 23:21
MarcoNedwig11-Apr-06 23:21 
AnswerRe: Reinstance COM Object in C++ Pin
User 21559712-Apr-06 0:07
User 21559712-Apr-06 0:07 
GeneralRe: Reinstance COM Object in C++ Pin
MarcoNedwig12-Apr-06 0:25
MarcoNedwig12-Apr-06 0:25 
GeneralRe: Reinstance COM Object in C++ Pin
User 21559712-Apr-06 0:37
User 21559712-Apr-06 0:37 
GeneralRe: Reinstance COM Object in C++ Pin
MarcoNedwig12-Apr-06 0:41
MarcoNedwig12-Apr-06 0:41 

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.