Click here to Skip to main content
15,910,277 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: A2WBSTR Pin
James R. Twine3-Apr-08 4:54
James R. Twine3-Apr-08 4:54 
GeneralRe: A2WBSTR Pin
George_George3-Apr-08 21:29
George_George3-Apr-08 21:29 
GeneralRe: A2WBSTR Pin
CPallini3-Apr-08 5:47
mveCPallini3-Apr-08 5:47 
GeneralRe: A2WBSTR Pin
George_George3-Apr-08 21:27
George_George3-Apr-08 21:27 
GeneralRe: A2WBSTR Pin
CPallini3-Apr-08 22:38
mveCPallini3-Apr-08 22:38 
GeneralRe: A2WBSTR Pin
George_George3-Apr-08 23:04
George_George3-Apr-08 23:04 
GeneralRe: A2WBSTR Pin
CPallini3-Apr-08 23:15
mveCPallini3-Apr-08 23:15 
GeneralRe: A2WBSTR Pin
George_George3-Apr-08 23:18
George_George3-Apr-08 23:18 
Thanks CPallini,


CPallini wrote:
A2BSTR do no more and no less then calling A2WBSTR, i.e. their effect is identical


I do not agree with you. I think for A2WBSTR you can specify the 2nd argument, which is the length of the ANSI string input, but for A2BSTR, you can not, you can only use the implicit default parameter -1.

Agree? Any comments?


regards,
George
GeneralRe: A2WBSTR Pin
CPallini3-Apr-08 23:29
mveCPallini3-Apr-08 23:29 
GeneralRe: A2WBSTR Pin
George_George3-Apr-08 23:32
George_George3-Apr-08 23:32 
Generalesoteric use of the "new" keyword Pin
Dave Calkins3-Apr-08 4:12
Dave Calkins3-Apr-08 4:12 
GeneralRe: esoteric use of the "new" keyword Pin
James R. Twine3-Apr-08 4:51
James R. Twine3-Apr-08 4:51 
QuestionRe: esoteric use of the "new" keyword Pin
David Crow3-Apr-08 4:56
David Crow3-Apr-08 4:56 
GeneralRe: esoteric use of the "new" keyword Pin
James R. Twine3-Apr-08 5:05
James R. Twine3-Apr-08 5:05 
GeneralRe: esoteric use of the "new" keyword Pin
Cedric Moonen3-Apr-08 5:10
Cedric Moonen3-Apr-08 5:10 
GeneralRe: esoteric use of the "new" keyword Pin
James R. Twine3-Apr-08 5:41
James R. Twine3-Apr-08 5:41 
GeneralRe: esoteric use of the "new" keyword Pin
Mark Salsbery3-Apr-08 6:10
Mark Salsbery3-Apr-08 6:10 
GeneralRe: esoteric use of the "new" keyword Pin
Dave Calkins3-Apr-08 11:18
Dave Calkins3-Apr-08 11:18 
GeneralRegCreateKeyEx failed in Vista Pin
dharani3-Apr-08 2:52
dharani3-Apr-08 2:52 
QuestionRe: RegCreateKeyEx failed in Vista Pin
Rajesh R Subramanian3-Apr-08 3:02
professionalRajesh R Subramanian3-Apr-08 3:02 
GeneralRe: RegCreateKeyEx failed in Vista Pin
Cedric Moonen3-Apr-08 3:14
Cedric Moonen3-Apr-08 3:14 
GeneralRe: RegCreateKeyEx failed in Vista Pin
David Crow3-Apr-08 3:18
David Crow3-Apr-08 3:18 
RantRe: RegCreateKeyEx failed in Vista Pin
James R. Twine3-Apr-08 5:43
James R. Twine3-Apr-08 5:43 
GeneralRe: RegCreateKeyEx failed in Vista Pin
Hamid_RT7-Apr-08 4:26
Hamid_RT7-Apr-08 4:26 
Generalerror C2664: '_access' : cannot convert parameter 1 from 'TCHAR [260]' to 'const char *' Pin
neha.agarwal273-Apr-08 2:03
neha.agarwal273-Apr-08 2: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.