Click here to Skip to main content
       

ATL / WTL / STL

 
QuestionHow to replace a '%' character in CComBSTR with "%%" Pinmembernarayanagvs23-Mar-11 1:31 
AnswerRe: How to replace a '%' character in CComBSTR with "%%" [modified] PinmemberCool_Dev24-Mar-11 3:18 
GeneralRe: How to replace a '%' character in CComBSTR with "%%" Pinmemberbarneyman22-Apr-11 1:08 
RantRe: How to replace a '%' character in CComBSTR with "%%" PinmemberCool_Dev22-Apr-11 1:41 
GeneralRe: How to replace a '%' character in CComBSTR with "%%" Pinmemberbarneyman22-Apr-11 1:50 
Questionget focus on ActiveX control in MFC Dialog Pinmemberkhaliloenit22-Mar-11 1:01 
Questionaccessing ActiveX array Pinmemberopti99922-Mar-11 0:33 
AnswerRe: accessing ActiveX array PinsitebuilderMichael 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 PinmemberAnders Molin21-Mar-11 3:31 
AnswerRe: Singing COM Object PinsitebuilderMichael Dunn22-Mar-11 21:51 
GeneralRe: Singing COM Object PinmemberAnders Molin23-Mar-11 9:12 
QuestionCreate my COM object from JScript PinmemberAnders Molin21-Mar-11 3:29 
QuestionHow to disable/enable the button on CommandBar in add-in application? Pinmemberwhiteclouds17-Mar-11 23:13 
QuestionHow to get IDOK / IDCANCEL command message from an non-modal dialog set as client in CFrameWindowImpl? PinmemberPhilipp Kursawe11-Mar-11 3:46 
QuestionRe: How to get IDOK / IDCANCEL command message from an non-modal dialog set as client in CFrameWindowImpl? [modified] PinmemberCool_Dev11-Mar-11 4:20 
AnswerRe: How to get IDOK / IDCANCEL command message from an non-modal dialog set as client in CFrameWindowImpl? PinmemberAlain Rist11-Mar-11 10:47 
GeneralRe: How to get IDOK / IDCANCEL command message from an non-modal dialog set as client in CFrameWindowImpl? PinmemberPhilipp Kursawe17-Mar-11 1:24 
GeneralRe: How to get IDOK / IDCANCEL command message from an non-modal dialog set as client in CFrameWindowImpl? PinmemberAlain Rist17-Mar-11 10:49 
QuestionUsing CContainedWindowT in a base class causes assert in conrete class PinmemberPhilipp Kursawe10-Mar-11 21:39 
AnswerRe: Using CContainedWindowT in a base class causes assert in conrete class PinmemberAlain Rist11-Mar-11 11:13 
GeneralRe: Using CContainedWindowT in a base class causes assert in conrete class PinmemberPhilipp Kursawe13-Mar-11 12:14 
QuestionHow to create an flicker free owner draw listbox using CDoubleBufferWindowImpl? PinmemberPhilipp Kursawe10-Mar-11 18:57 
AnswerRe: How to create an flicker free owner draw listbox using CDoubleBufferWindowImpl? PinmemberAlain Rist13-Mar-11 7:00 
GeneralRe: How to create an flicker free owner draw listbox using CDoubleBufferWindowImpl? PinmemberPhilipp Kursawe13-Mar-11 12:18 
QuestionQuestion about draw my own object in Word. Pinmemberwhiteclouds8-Mar-11 17: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.1411022.1 | Last Updated 12 Nov 2014
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid