Click here to Skip to main content
11,577,258 members (57,859 online)

ATL / WTL / STL

 
QuestionHow to replace a '%' character in CComBSTR with "%%" Pin
narayanagvs23-Mar-11 0:31
membernarayanagvs23-Mar-11 0:31 
AnswerRe: How to replace a '%' character in CComBSTR with "%%" [modified] Pin
Cool_Dev24-Mar-11 2:18
memberCool_Dev24-Mar-11 2:18 
GeneralRe: How to replace a '%' character in CComBSTR with "%%" Pin
barneyman22-Apr-11 0:08
memberbarneyman22-Apr-11 0:08 
RantRe: How to replace a '%' character in CComBSTR with "%%" Pin
Cool_Dev22-Apr-11 0:41
memberCool_Dev22-Apr-11 0:41 
GeneralRe: How to replace a '%' character in CComBSTR with "%%" Pin
barneyman22-Apr-11 0:50
memberbarneyman22-Apr-11 0:50 
Questionget focus on ActiveX control in MFC Dialog Pin
khaliloenit22-Mar-11 0:01
memberkhaliloenit22-Mar-11 0:01 
Questionaccessing ActiveX array Pin
opti99921-Mar-11 23:33
memberopti99921-Mar-11 23:33 
AnswerRe: accessing ActiveX array Pin
Michael Dunn22-Mar-11 20:47
sitebuilderMichael Dunn22-Mar-11 20:47 
If the ActiveX control is running in the same process as the app, then there's nothing stopping you from making an interface method that returns a vector<your_struct>*. If they're in different processes, then you can't return a pointer directly to the vector. If you are using the built-in marshaler, you'll need to convert the data to OLE Automation-compatible types. That means making a SAFEARRAY that contains... well, I'm not sure. I've never had to make the OLE equivalent of a struct, so I don't know how you do that off the top of my head. Hopefully this is enough info to get started.
--Mike--
Dunder-Mifflin, this is Pam.

QuestionSinging COM Object Pin
Anders Molin21-Mar-11 2:31
memberAnders Molin21-Mar-11 2:31 
AnswerRe: Singing COM Object Pin
Michael Dunn22-Mar-11 20:51
sitebuilderMichael Dunn22-Mar-11 20:51 
GeneralRe: Singing COM Object Pin
Anders Molin23-Mar-11 8:12
memberAnders Molin23-Mar-11 8:12 
QuestionCreate my COM object from JScript Pin
Anders Molin21-Mar-11 2:29
memberAnders Molin21-Mar-11 2:29 
QuestionHow to disable/enable the button on CommandBar in add-in application? Pin
whiteclouds17-Mar-11 22:13
memberwhiteclouds17-Mar-11 22:13 
QuestionHow to get IDOK / IDCANCEL command message from an non-modal dialog set as client in CFrameWindowImpl? Pin
Philipp Kursawe11-Mar-11 2:46
memberPhilipp Kursawe11-Mar-11 2:46 
QuestionRe: How to get IDOK / IDCANCEL command message from an non-modal dialog set as client in CFrameWindowImpl? [modified] Pin
Cool_Dev11-Mar-11 3:20
memberCool_Dev11-Mar-11 3:20 
AnswerRe: How to get IDOK / IDCANCEL command message from an non-modal dialog set as client in CFrameWindowImpl? Pin
Alain Rist11-Mar-11 9:47
memberAlain Rist11-Mar-11 9:47 
GeneralRe: How to get IDOK / IDCANCEL command message from an non-modal dialog set as client in CFrameWindowImpl? Pin
Philipp Kursawe17-Mar-11 0:24
memberPhilipp Kursawe17-Mar-11 0:24 
GeneralRe: How to get IDOK / IDCANCEL command message from an non-modal dialog set as client in CFrameWindowImpl? Pin
Alain Rist17-Mar-11 9:49
memberAlain Rist17-Mar-11 9:49 
QuestionUsing CContainedWindowT in a base class causes assert in conrete class Pin
Philipp Kursawe10-Mar-11 20:39
memberPhilipp Kursawe10-Mar-11 20:39 
AnswerRe: Using CContainedWindowT in a base class causes assert in conrete class Pin
Alain Rist11-Mar-11 10:13
memberAlain Rist11-Mar-11 10:13 
GeneralRe: Using CContainedWindowT in a base class causes assert in conrete class Pin
Philipp Kursawe13-Mar-11 11:14
memberPhilipp Kursawe13-Mar-11 11:14 
QuestionHow to create an flicker free owner draw listbox using CDoubleBufferWindowImpl? Pin
Philipp Kursawe10-Mar-11 17:57
memberPhilipp Kursawe10-Mar-11 17:57 
AnswerRe: How to create an flicker free owner draw listbox using CDoubleBufferWindowImpl? Pin
Alain Rist13-Mar-11 6:00
memberAlain Rist13-Mar-11 6:00 
GeneralRe: How to create an flicker free owner draw listbox using CDoubleBufferWindowImpl? Pin
Philipp Kursawe13-Mar-11 11:18
memberPhilipp Kursawe13-Mar-11 11:18 
QuestionQuestion about draw my own object in Word. Pin
whiteclouds8-Mar-11 16:03
memberwhiteclouds8-Mar-11 16:03 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.


Advertise | Privacy | Mobile
Web04 | 2.8.150603.1 | Last Updated 26 Jun 2015
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid