Click here to Skip to main content
14,602,794 members
   

COM

 
AnswerRe: Exceptions in CoUninitialize Pin
Mike Dimmick21-Apr-06 0:40
MemberMike Dimmick21-Apr-06 0:40 
GeneralRe: Exceptions in CoUninitialize Pin
softwaremonkey21-Apr-06 2:04
Membersoftwaremonkey21-Apr-06 2:04 
AnswerRe: Exceptions in CoUninitialize Pin
Sohailk21-Apr-06 0:47
MemberSohailk21-Apr-06 0:47 
GeneralRe: Exceptions in CoUninitialize Pin
softwaremonkey21-Apr-06 1:59
Membersoftwaremonkey21-Apr-06 1:59 
Question.idl compilation errors Pin
scoroop20-Apr-06 3:47
Memberscoroop20-Apr-06 3:47 
QuestionRe: .idl compilation errors Pin
prasad_som20-Apr-06 20:28
Memberprasad_som20-Apr-06 20:28 
AnswerRe: .idl compilation errors Pin
Sohailk20-Apr-06 23:57
MemberSohailk20-Apr-06 23:57 
QuestionHow do I fire events in a windowless ActiveX control? Pin
prcarp17-Apr-06 23:40
Memberprcarp17-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
MemberLim Bio Liong19-Apr-06 6:24 
QuestionDifference between ActiveX and COM Pin
HakunaMatada17-Apr-06 0:23
MemberHakunaMatada17-Apr-06 0:23 
AnswerRe: Difference between ActiveX and COM Pin
Stephen Hewitt17-Apr-06 13:39
MemberStephen Hewitt17-Apr-06 13:39 
AnswerRe: Difference between ActiveX and COM Pin
ThatsAlok22-Apr-06 22:17
MemberThatsAlok22-Apr-06 22:17 
QuestionCOM vs Non-COM MS Access SQL Pin
Jeanne Dixon14-Apr-06 4:23
MemberJeanne Dixon14-Apr-06 4:23 
AnswerRe: COM vs Non-COM MS Access SQL Pin
Mike Dimmick21-Apr-06 0:48
MemberMike Dimmick21-Apr-06 0:48 
Questionplease read :its importent Pin
baldha rakesh14-Apr-06 0:53
Memberbaldha rakesh14-Apr-06 0:53 
AnswerRe: please read :its importent Pin
toxcct14-Apr-06 4:11
Membertoxcct14-Apr-06 4:11 
GeneralRe: please read :its importent Pin
ThatsAlok22-Apr-06 22:14
MemberThatsAlok22-Apr-06 22:14 
GeneralRe: please read :its importent Pin
super_ttd23-Apr-06 7:59
Membersuper_ttd23-Apr-06 7:59 
QuestionCOM like MS.Equation in MS.Word Pin
vtalau13-Apr-06 21:35
Membervtalau13-Apr-06 21:35 
QuestionHow to replace the moniker used by MSHTML into Internet Explorer Pin
manudev13-Apr-06 5:00
Membermanudev13-Apr-06 5:00 
QuestionReinstance COM Object in C++ Pin
MarcoNedwig11-Apr-06 23:21
MemberMarcoNedwig11-Apr-06 23:21 
AnswerRe: Reinstance COM Object in C++ Pin
Sohailk12-Apr-06 0:07
MemberSohailk12-Apr-06 0:07 
GeneralRe: Reinstance COM Object in C++ Pin
MarcoNedwig12-Apr-06 0:25
MemberMarcoNedwig12-Apr-06 0:25 
GeneralRe: Reinstance COM Object in C++ Pin
Sohailk12-Apr-06 0:37
MemberSohailk12-Apr-06 0:37 
GeneralRe: Reinstance COM Object in C++ Pin
MarcoNedwig12-Apr-06 0:41
MemberMarcoNedwig12-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.