Click here to Skip to main content
16,011,805 members
Home / Discussions / ATL / WTL / STL
   

ATL / WTL / STL

 
GeneralRe: About IE 7 Tabs Pin
HunterNet19-Aug-06 5:16
HunterNet19-Aug-06 5:16 
QuestionCoCreateInstance() return E_OUTOFMEMORY Pin
chenxiujie26-Jul-06 19:43
chenxiujie26-Jul-06 19:43 
NewsRe: CoCreateInstance() return E_OUTOFMEMORY Pin
Anonymuos28-Jul-06 12:06
Anonymuos28-Jul-06 12:06 
QuestionHow to convert *string to _bstr_t and *BSTR Pin
agarunk26-Jul-06 4:38
agarunk26-Jul-06 4:38 
AnswerRe: How to convert *string to _bstr_t and *BSTR Pin
Lim Bio Liong27-Jul-06 8:00
Lim Bio Liong27-Jul-06 8:00 
GeneralRe: How to convert *string to _bstr_t and *BSTR Pin
agarunk27-Jul-06 19:43
agarunk27-Jul-06 19:43 
GeneralRe: How to convert *string to _bstr_t and *BSTR Pin
Steve S27-Jul-06 21:55
Steve S27-Jul-06 21:55 
GeneralRe: How to convert *string to _bstr_t and *BSTR Pin
agarunk27-Jul-06 22:07
agarunk27-Jul-06 22:07 
Hi Steve,
Below is the implementation which I'm using now....

BSTR* TargetBSTR ;<br />
string *SourceStr=new string;<br />
string StrBuff;<br />
const char *CharBuff;<br />
<br />
StrBuff=*SourceStr;<br />
CharBuff=StrBuff.c_str();<br />
*TargetBSTR = _com_util::ConvertStringToBSTR(CharBuff); 


Is this what you are asking me to do???
It is working fine for me for time being... I would like to know if I'm doing any mistake.
Is there any issues with it???



-Arun
GeneralRe: How to convert *string to _bstr_t and *BSTR Pin
Zac Howland28-Jul-06 10:01
Zac Howland28-Jul-06 10:01 
GeneralRe: How to convert *string to _bstr_t and *BSTR Pin
Zac Howland28-Jul-06 9:59
Zac Howland28-Jul-06 9:59 
GeneralRe: How to convert *string to _bstr_t and *BSTR Pin
Steve S2-Aug-06 3:57
Steve S2-Aug-06 3:57 
GeneralRe: How to convert *string to _bstr_t and *BSTR Pin
Zac Howland2-Aug-06 4:22
Zac Howland2-Aug-06 4:22 
AnswerRe: How to convert *string to _bstr_t and *BSTR Pin
Michael Dunn28-Jul-06 6:22
sitebuilderMichael Dunn28-Jul-06 6:22 
QuestionReturning Class Pointer From ATL component.. [modified] Pin
Mahesh Kulkarni24-Jul-06 2:29
Mahesh Kulkarni24-Jul-06 2:29 
AnswerRe: Returning Class Pointer From ATL component. Pin
Stephen Hewitt24-Jul-06 23:50
Stephen Hewitt24-Jul-06 23:50 
GeneralRe: Returning Class Pointer From ATL component. Pin
Mahesh Kulkarni25-Jul-06 18:41
Mahesh Kulkarni25-Jul-06 18:41 
GeneralRe: Returning Class Pointer From ATL component. Pin
Justin Tay25-Jul-06 20:52
Justin Tay25-Jul-06 20:52 
GeneralRe: Returning Class Pointer From ATL component. Pin
Stephen Hewitt26-Jul-06 0:40
Stephen Hewitt26-Jul-06 0:40 
GeneralRe: Returning Class Pointer From ATL component. Pin
Steve S25-Jul-06 22:03
Steve S25-Jul-06 22:03 
QuestionHow the component knows it has been Advise for connection from Client? Pin
Amar Sutar24-Jul-06 0:39
Amar Sutar24-Jul-06 0:39 
AnswerRe: How the component knows it has been Advise for connection from Client? Pin
Steve S25-Jul-06 22:08
Steve S25-Jul-06 22:08 
GeneralRe: How the component knows it has been Advise for connection from Client? Pin
sudeesh26-Jul-06 2:53
sudeesh26-Jul-06 2:53 
Questioninterview questions on ATL COM Pin
pathakr21-Jul-06 3:49
pathakr21-Jul-06 3:49 
QuestionHope this works ! Pin
nvatia21-Jul-06 3:41
nvatia21-Jul-06 3:41 
AnswerRe: Hope this works ! Pin
Stephen Hewitt21-Jul-06 4:04
Stephen Hewitt21-Jul-06 4:04 

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.