Click here to Skip to main content
15,915,093 members
Home / Discussions / COM
   

COM

 
QuestionParameterized constructor in MFC/COM?? Pin
vb11619-Apr-07 5:35
vb11619-Apr-07 5:35 
AnswerRe: Parameterized constructor in MFC/COM?? Pin
Phil Harding19-Apr-07 20:46
Phil Harding19-Apr-07 20:46 
AnswerRe: Parameterized constructor in MFC/COM?? Pin
CPallini19-Apr-07 20:58
mveCPallini19-Apr-07 20:58 
AnswerRe: Parameterized constructor in MFC/COM?? Pin
Roger Stoltz19-Apr-07 21:17
Roger Stoltz19-Apr-07 21:17 
QuestionIs COM good way to secure code ? Pin
Stevo Z19-Apr-07 3:08
Stevo Z19-Apr-07 3:08 
Questionwindow control that can display animated gif as well as text in it . Pin
pk200719-Apr-07 2:44
pk200719-Apr-07 2:44 
AnswerRe: window control that can display animated gif as well as text in it . Pin
pk200719-Apr-07 19:36
pk200719-Apr-07 19:36 
QuestionProblem With ActiveX Control Pin
Adeel68819-Apr-07 2:31
Adeel68819-Apr-07 2:31 
I have created an MFC ActiveX Control through the wizard. In the 2nd Step of the wizard I have enabled the checkbox saying “Available in Insert Object Dialog”, so that I can use my control in Microsoft Office Application like MS Word, Excel, PowerPoint etc using Insert Objects.

I am using property sheet to change the text contents of my control. For that I followed the steps mentioned the MSDN Example CIRC.

http://msdn2.microsoft.com/en-us/library/c6hzbzz6(VS.80).aspx

My control features the following characteristics.
• Changing the painting behavior of an ActiveX control
• Adding stock properties
• Adding custom properties
• Responding to mouse events
• Adding custom events
• Using text and fonts
• Implementing ActiveX control property pages
• Using simple data binding for control properties

But at present I am stuck up problems.

1. Using property sheet I can update the text contents in ActiveX test container. But it doesn’t get updated in Word, and other Office Applications. In fact its not even recognizing any of the event fired by the user (like changing the color on mouse click, key press etc) in any of the office application.
2. I am using this control for assigning digital signatures to a document. For that I am using X509 libraries. But these libraries use Common Language Runtime (/CLR) Support. And if I enable CLR from the project settings, the control crashes while loading on the Office application, ultimately crashing the entire document.

QuestionBSTR and char* Pin
cppshishu19-Apr-07 0:30
cppshishu19-Apr-07 0:30 
AnswerRe: BSTR and char* Pin
CPallini19-Apr-07 1:49
mveCPallini19-Apr-07 1:49 
GeneralRe: BSTR and char* Pin
cppshishu19-Apr-07 23:30
cppshishu19-Apr-07 23:30 
QuestionHow to pass string from C# to C++ (COM) Pin
Stevo Z18-Apr-07 0:16
Stevo Z18-Apr-07 0:16 
AnswerRe: How to pass string from C# to C++ (COM) Pin
Sujit Gupta18-Apr-07 8:03
Sujit Gupta18-Apr-07 8:03 
AnswerRe: How to pass string from C# to C++ (COM) Pin
sthotakura18-Apr-07 8:25
sthotakura18-Apr-07 8:25 
AnswerRe: How to pass string from C# to C++ (COM) Pin
CPallini18-Apr-07 21:59
mveCPallini18-Apr-07 21:59 
AnswerRe: How to pass string from C# to C++ (COM) Pin
lafleon19-Apr-07 13:22
lafleon19-Apr-07 13:22 
QuestionWhat type of attribute ? Pin
Stevo Z17-Apr-07 0:12
Stevo Z17-Apr-07 0:12 
AnswerRe: What type of attribute ? Pin
sthotakura18-Apr-07 8:49
sthotakura18-Apr-07 8:49 
Questionhr = CoInitialize(NULL); return S_FALSE Pin
amitmistry_petlad 16-Apr-07 23:31
amitmistry_petlad 16-Apr-07 23:31 
AnswerRe: hr = CoInitialize(NULL); return S_FALSE Pin
Roger Stoltz17-Apr-07 3:13
Roger Stoltz17-Apr-07 3:13 
GeneralRe: hr = CoInitialize(NULL); return S_FALSE Pin
amitmistry_petlad 17-Apr-07 3:22
amitmistry_petlad 17-Apr-07 3:22 
QuestionCDO internalization issue. Help! Pin
Lane Yu16-Apr-07 22:20
Lane Yu16-Apr-07 22:20 
QuestionCOM DLL Server help Pin
Touseef Afzal15-Apr-07 20:40
Touseef Afzal15-Apr-07 20:40 
QuestionRe: COM DLL Server help Pin
sthotakura16-Apr-07 7:27
sthotakura16-Apr-07 7:27 
AnswerRe: COM DLL Server help Pin
Touseef Afzal16-Apr-07 19:03
Touseef Afzal16-Apr-07 19:03 

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.