Click here to Skip to main content
15,888,521 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: How to forward delare CArray class ? Pin
Nibu babu thomas26-Jun-07 22:39
Nibu babu thomas26-Jun-07 22:39 
AnswerRe: How to forward delare CArray class ? Pin
KarstenK26-Jun-07 21:28
mveKarstenK26-Jun-07 21:28 
QuestionEnumerating Installed Apps with MSI Pin
Akin Ocal26-Jun-07 20:13
Akin Ocal26-Jun-07 20:13 
QuestionBSTR in C++ Pin
Axonn Echysttas26-Jun-07 19:45
Axonn Echysttas26-Jun-07 19:45 
AnswerRe: BSTR in C++ Pin
Nibu babu thomas26-Jun-07 20:10
Nibu babu thomas26-Jun-07 20:10 
GeneralRe: BSTR in C++ Pin
Axonn Echysttas26-Jun-07 20:52
Axonn Echysttas26-Jun-07 20:52 
GeneralRe: BSTR in C++ Pin
Nibu babu thomas26-Jun-07 21:06
Nibu babu thomas26-Jun-07 21:06 
AnswerRe: BSTR in C++ Pin
Arman S.26-Jun-07 20:16
Arman S.26-Jun-07 20:16 
Your functions are wrong. Note that a bstr is not required to be null terminated. If you want to get the size of a BSTR, use for example wcslen. To convert between BSTR and C-style strings, use
W2A, OLE2A macros from <AtlBase.h>. Also see CComBSTR class.


--
=====
Arman

GeneralRe: BSTR in C++ Pin
Axonn Echysttas26-Jun-07 20:48
Axonn Echysttas26-Jun-07 20:48 
GeneralRe: BSTR in C++ Pin
CPallini26-Jun-07 21:06
mveCPallini26-Jun-07 21:06 
GeneralRe: BSTR in C++ Pin
CPallini26-Jun-07 21:03
mveCPallini26-Jun-07 21:03 
GeneralRe: BSTR in C++ Pin
Randor 27-Jun-07 8:38
professional Randor 27-Jun-07 8:38 
AnswerRe: BSTR in C++ Pin
Randor 27-Jun-07 8:48
professional Randor 27-Jun-07 8:48 
GeneralRe: BSTR in C++ Pin
Axonn Echysttas27-Jun-07 9:24
Axonn Echysttas27-Jun-07 9:24 
GeneralRe: BSTR in C++ Pin
Randor 27-Jun-07 17:03
professional Randor 27-Jun-07 17:03 
GeneralRe: BSTR in C++ Pin
Axonn Echysttas27-Jun-07 21:47
Axonn Echysttas27-Jun-07 21:47 
QuestionCPropertySheet::DoModal and focus problem Pin
rp_suman26-Jun-07 19:42
rp_suman26-Jun-07 19:42 
QuestionRe: CPropertySheet::DoModal and focus problem Pin
prasad_som27-Jun-07 0:53
prasad_som27-Jun-07 0:53 
AnswerRe: CPropertySheet::DoModal and focus problem Pin
rp_suman1-Jul-07 18:10
rp_suman1-Jul-07 18:10 
QuestionDocking Dialog Bar Pin
g_sandipan26-Jun-07 19:17
g_sandipan26-Jun-07 19:17 
AnswerRe: Docking Dialog Bar Pin
Nibu babu thomas26-Jun-07 19:34
Nibu babu thomas26-Jun-07 19:34 
GeneralRe: Docking Dialog Bar Pin
g_sandipan26-Jun-07 20:19
g_sandipan26-Jun-07 20:19 
QuestionMFC GUI on Windows Server 2003 runs slow like hell Pin
GameProfessor26-Jun-07 17:44
GameProfessor26-Jun-07 17:44 
AnswerRe: MFC GUI on Windows Server 2003 runs slow like hell Pin
Mark Salsbery27-Jun-07 6:19
Mark Salsbery27-Jun-07 6:19 
GeneralRe: MFC GUI on Windows Server 2003 runs slow like hell Pin
GameProfessor27-Jun-07 15:54
GameProfessor27-Jun-07 15:54 

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.