Click here to Skip to main content
15,898,893 members
Home / Discussions / COM
   

COM

 
AnswerRe: How to bypass login window? Pin
valikac2-Jan-04 11:48
valikac2-Jan-04 11:48 
GeneralRe: How to bypass login window? Pin
SiddharthAtw2-Jan-04 18:20
SiddharthAtw2-Jan-04 18:20 
Generalhelp in an active x control Pin
safee ullah30-Dec-03 18:52
safee ullah30-Dec-03 18:52 
GeneralRe: help in an active x control Pin
bryce30-Dec-03 19:13
bryce30-Dec-03 19:13 
GeneralRe: help in an active x control Pin
Abhishek Srivastava30-Dec-03 19:34
Abhishek Srivastava30-Dec-03 19:34 
QuestionHow to develop pluggable application? Pin
Anonymous30-Dec-03 11:06
Anonymous30-Dec-03 11:06 
AnswerRe: How to develop pluggable application? Pin
Tristan Rhodes30-Dec-03 13:46
Tristan Rhodes30-Dec-03 13:46 
GeneralPassing CRichEditCtrl pointer to COM Pin
BazM30-Dec-03 10:08
BazM30-Dec-03 10:08 
Hi,

I'm just starting to use COM dlls but have come across what I believe must be a common problem for brainwashed MFC folk... absolutely any suggestions would be welcome!

I have a standard Windows app generated using Visual C++ V6.0 which uses a CRichEditCtrl control. The app is served by several COM dlls.

I would really like to dedicate one of the COM dlls to displaying the information in the CRichEditCtrl control. The problem is how do I tell the COM dll the pointer to the control?.

I have tried passing the control window handle (hwnd) and then using SendMessage(hwnd,,,). Thats OK for raw text but when I want to (say) get the defaultcharformat I really need the control's CRichEditCtrl* pointer.

I guess I could pass a void ptr and then cast to CRichEditCtrl* - but this seems to go against good COM practice? Can anybody recommend a COM friendly solution and restore my initial enthusiasm to program with COM!

Many Thanks

BarryM


Sigh | :sigh:
GeneralRe: Passing CRichEditCtrl pointer to COM Pin
BazM31-Dec-03 3:02
BazM31-Dec-03 3:02 
GeneralForward Defining Structures Pin
Tristan Rhodes30-Dec-03 9:22
Tristan Rhodes30-Dec-03 9:22 
QuestionWho can tell me GUIDGEN.EXE three item mean? Pin
Peng Yao29-Dec-03 21:55
sussPeng Yao29-Dec-03 21:55 
AnswerRe: Who can tell me GUIDGEN.EXE three item mean? Pin
geo_m30-Dec-03 0:24
geo_m30-Dec-03 0:24 
Generalmidl problems Pin
Tristan Rhodes28-Dec-03 6:05
Tristan Rhodes28-Dec-03 6:05 
GeneralRe: midl problems Pin
Stefan Pedersen28-Dec-03 6:19
Stefan Pedersen28-Dec-03 6:19 
GeneralRe: midl problems Pin
Tristan Rhodes28-Dec-03 6:40
Tristan Rhodes28-Dec-03 6:40 
Generalvcvars.bat - Not recognised Pin
Tristan Rhodes28-Dec-03 6:46
Tristan Rhodes28-Dec-03 6:46 
GeneralNever Mind Pin
Tristan Rhodes28-Dec-03 6:52
Tristan Rhodes28-Dec-03 6:52 
GeneralRe: midl problems Pin
Heath Stewart28-Dec-03 7:02
protectorHeath Stewart28-Dec-03 7:02 
GeneralRe: midl problems Pin
Jörgen Sigvardsson29-Dec-03 11:49
Jörgen Sigvardsson29-Dec-03 11:49 
GeneralCOM returns an ADO Connection Pin
Hesham Amin27-Dec-03 10:48
Hesham Amin27-Dec-03 10:48 
GeneralSolved Pin
Hesham Amin28-Dec-03 23:46
Hesham Amin28-Dec-03 23:46 
GeneralPassing HWND from a MDI app to a activeX control Pin
Sunil122127-Dec-03 1:39
Sunil122127-Dec-03 1:39 
GeneralRe: Passing HWND from a MDI app to a activeX control Pin
Abhishek Srivastava28-Dec-03 21:34
Abhishek Srivastava28-Dec-03 21:34 
GeneralCOM interface: EnumFormatEtc Pin
Tristan Rhodes23-Dec-03 8:46
Tristan Rhodes23-Dec-03 8:46 
GeneralRe: COM interface: EnumFormatEtc Pin
Stefan Pedersen27-Dec-03 10:59
Stefan Pedersen27-Dec-03 10:59 

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.