Click here to Skip to main content
12,624,603 members (40,053 online)

ATL / WTL / STL

 
QuestionHow to replace a '%' character in CComBSTR with "%%" Pin
narayanagvs23-Mar-11 1:31
membernarayanagvs23-Mar-11 1:31 
AnswerRe: How to replace a '%' character in CComBSTR with "%%" [modified] Pin
Cool_Dev24-Mar-11 3:18
memberCool_Dev24-Mar-11 3:18 
GeneralRe: How to replace a '%' character in CComBSTR with "%%" Pin
barneyman22-Apr-11 1:08
memberbarneyman22-Apr-11 1:08 
RantRe: How to replace a '%' character in CComBSTR with "%%" Pin
Cool_Dev22-Apr-11 1:41
memberCool_Dev22-Apr-11 1:41 
GeneralRe: How to replace a '%' character in CComBSTR with "%%" Pin
barneyman22-Apr-11 1:50
memberbarneyman22-Apr-11 1:50 
Questionget focus on ActiveX control in MFC Dialog Pin
khaliloenit22-Mar-11 1:01
memberkhaliloenit22-Mar-11 1:01 
Questionaccessing ActiveX array Pin
opti99922-Mar-11 0:33
memberopti99922-Mar-11 0:33 
AnswerRe: accessing ActiveX array Pin
Michael Dunn22-Mar-11 21:47
sitebuilderMichael Dunn22-Mar-11 21: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 3:31
memberAnders Molin21-Mar-11 3:31 
AnswerRe: Singing COM Object Pin
Michael Dunn22-Mar-11 21:51
sitebuilderMichael Dunn22-Mar-11 21:51 
GeneralRe: Singing COM Object Pin
Anders Molin23-Mar-11 9:12
memberAnders Molin23-Mar-11 9:12 
QuestionCreate my COM object from JScript Pin
Anders Molin21-Mar-11 3:29
memberAnders Molin21-Mar-11 3:29 
QuestionHow to disable/enable the button on CommandBar in add-in application? Pin
whiteclouds17-Mar-11 23:13
memberwhiteclouds17-Mar-11 23:13 
QuestionHow to get IDOK / IDCANCEL command message from an non-modal dialog set as client in CFrameWindowImpl? Pin
Philipp Kursawe11-Mar-11 3:46
memberPhilipp Kursawe11-Mar-11 3: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 4:20
memberCool_Dev11-Mar-11 4:20 
AnswerRe: How to get IDOK / IDCANCEL command message from an non-modal dialog set as client in CFrameWindowImpl? Pin
Alain Rist11-Mar-11 10:47
memberAlain Rist11-Mar-11 10:47 
GeneralRe: How to get IDOK / IDCANCEL command message from an non-modal dialog set as client in CFrameWindowImpl? Pin
Philipp Kursawe17-Mar-11 1:24
memberPhilipp Kursawe17-Mar-11 1:24 
GeneralRe: How to get IDOK / IDCANCEL command message from an non-modal dialog set as client in CFrameWindowImpl? Pin
Alain Rist17-Mar-11 10:49
memberAlain Rist17-Mar-11 10:49 
QuestionUsing CContainedWindowT in a base class causes assert in conrete class Pin
Philipp Kursawe10-Mar-11 21:39
memberPhilipp Kursawe10-Mar-11 21:39 
AnswerRe: Using CContainedWindowT in a base class causes assert in conrete class Pin
Alain Rist11-Mar-11 11:13
memberAlain Rist11-Mar-11 11:13 
GeneralRe: Using CContainedWindowT in a base class causes assert in conrete class Pin
Philipp Kursawe13-Mar-11 12:14
memberPhilipp Kursawe13-Mar-11 12:14 
QuestionHow to create an flicker free owner draw listbox using CDoubleBufferWindowImpl? Pin
Philipp Kursawe10-Mar-11 18:57
memberPhilipp Kursawe10-Mar-11 18:57 
AnswerRe: How to create an flicker free owner draw listbox using CDoubleBufferWindowImpl? Pin
Alain Rist13-Mar-11 7:00
memberAlain Rist13-Mar-11 7:00 
GeneralRe: How to create an flicker free owner draw listbox using CDoubleBufferWindowImpl? Pin
Philipp Kursawe13-Mar-11 12:18
memberPhilipp Kursawe13-Mar-11 12:18 
QuestionQuestion about draw my own object in Word. Pin
whiteclouds8-Mar-11 17:03
memberwhiteclouds8-Mar-11 17: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.


Advertise | Privacy | Mobile
Web02 | 2.8.161128.1 | Last Updated 30 Jul 2016
Copyright © CodeProject, 1999-2016
All Rights Reserved. Terms of Service
Layout: fixed | fluid