Click here to Skip to main content
15,895,799 members
Home / Discussions / COM
   

COM

 
Questionhow to pre-define a com interface in a idl file? Pin
kcynic28-Feb-10 18:32
kcynic28-Feb-10 18:32 
AnswerRe: how to pre-define a com interface in a idl file? Pin
Stuart Dootson28-Feb-10 23:42
professionalStuart Dootson28-Feb-10 23:42 
GeneralRe: how to pre-define a com interface in a idl file? Pin
kcynic1-Mar-10 20:50
kcynic1-Mar-10 20:50 
QuestionNeed help to write a COM component which should be accessible from JScript! Pin
gopikomanduri26-Feb-10 7:29
gopikomanduri26-Feb-10 7:29 
AnswerRe: Need help to write a COM component which should be accessible from JScript! Pin
cariolihome26-Feb-10 23:27
cariolihome26-Feb-10 23:27 
AnswerRe: Need help to write a COM component which should be accessible from JScript! Pin
«_Superman_»28-Feb-10 17:14
professional«_Superman_»28-Feb-10 17:14 
QuestionHow to load a CRichEditCtrl with RTF containing embedded objects. Pin
Leif Goodwin26-Feb-10 3:30
Leif Goodwin26-Feb-10 3:30 
AnswerRe: How to load a CRichEditCtrl with RTF containing embedded objects. [modified] Pin
Leif Simon Goodwin27-Feb-10 1:33
Leif Simon Goodwin27-Feb-10 1:33 
Using the example program:

A Rich Edit Control That Displays Bitmaps and Other OLE Objects

I modified the code so that immediately after streaming data from the RTF file into the rich edit control, it streamed it out from the rich edit control into a second file. The output RTF file is not the same as the original. The embedded Windows Media File object is present in the output file. The other embedded objects are not present, and instead there is a metafile in place of each.

Anyone any idea why some objects streamed out into the RTF file are present only as metafiles?

[Added later]

Okay, I have solved the problem in this post, if not the main problem. The example code contains an RTF with 4 embedded objects including one GIF. Of the non GIF objects, only one corresponds to an OLE server that is registered on my PC. So it seems that if the rich edit control is fed objects for OLE servers which are not registered, it discard all but the metafile so they can be drawn, but nothing more.
modified on Saturday, February 27, 2010 7:55 AM

AnswerRe: How to load a CRichEditCtrl with RTF containing embedded objects. Pin
Leif Simon Goodwin2-Apr-10 0:40
Leif Simon Goodwin2-Apr-10 0:40 
QuestionRun Only One Instance Of AddOn In Multiple IE Win Pin
A_Fa24-Feb-10 3:09
A_Fa24-Feb-10 3:09 
AnswerRe: Run Only One Instance Of AddOn In Multiple IE Win Pin
KarstenK24-Feb-10 3:40
mveKarstenK24-Feb-10 3:40 
AnswerRe: Run Only One Instance Of AddOn In Multiple IE Win Pin
R@jeev K R7-Mar-10 19:43
R@jeev K R7-Mar-10 19:43 
Questioncom memory management Pin
ramina sen23-Feb-10 21:15
ramina sen23-Feb-10 21:15 
AnswerRe: com memory management Pin
Richard MacCutchan23-Feb-10 22:00
mveRichard MacCutchan23-Feb-10 22:00 
AnswerRe: com memory management Pin
KarstenK24-Feb-10 4:20
mveKarstenK24-Feb-10 4:20 
QuestionFew basics about COM Pin
tasumisra21-Feb-10 18:09
tasumisra21-Feb-10 18:09 
AnswerRe: Few basics about COM Pin
Richard MacCutchan21-Feb-10 21:55
mveRichard MacCutchan21-Feb-10 21:55 
Questionhandle DISPID_NEWWINDOW2 or 3 Pin
rustok19-Feb-10 21:46
rustok19-Feb-10 21:46 
AnswerRe: handle DISPID_NEWWINDOW2 or 3 Pin
0day7-Mar-10 21:46
0day7-Mar-10 21:46 
QuestionCOM objects to capture screen Pin
Alexandr Kucher18-Feb-10 9:26
Alexandr Kucher18-Feb-10 9:26 
AnswerRe: COM objects to capture screen Pin
«_Superman_»18-Feb-10 18:10
professional«_Superman_»18-Feb-10 18:10 
GeneralRe: COM objects to capture screen Pin
Alexandr Kucher19-Feb-10 1:27
Alexandr Kucher19-Feb-10 1:27 
QuestionProblem in Using the Custom made OCX Pin
quantimizer18-Feb-10 3:35
quantimizer18-Feb-10 3:35 
AnswerRe: Problem in Using the Custom made OCX Pin
Jonathan Davies18-Feb-10 5:51
Jonathan Davies18-Feb-10 5:51 
Questionaccessing a com from remote machine Pin
tasumisra18-Feb-10 0:53
tasumisra18-Feb-10 0:53 

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.