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

C / C++ / MFC

 
GeneralRe: VC++ DLL - ? assign value to VARIANT type variable Pin
CPallini29-Apr-08 0:14
mveCPallini29-Apr-08 0:14 
GeneralRe: VC++ DLL - ? assign value to VARIANT type variable Pin
lgatcodeproject29-Apr-08 0:29
lgatcodeproject29-Apr-08 0:29 
GeneralRe: VC++ DLL - ? assign value to VARIANT type variable Pin
CPallini29-Apr-08 0:38
mveCPallini29-Apr-08 0:38 
GeneralRe: VC++ DLL - ? assign value to VARIANT type variable Pin
lgatcodeproject29-Apr-08 0:50
lgatcodeproject29-Apr-08 0:50 
GeneralRe: VC++ DLL - ? assign value to VARIANT type variable Pin
CPallini29-Apr-08 1:02
mveCPallini29-Apr-08 1:02 
QuestionWhich type of string do you use in VC++ project? Pin
zengkun10028-Apr-08 22:55
zengkun10028-Apr-08 22:55 
AnswerRe: Which type of string do you use in VC++ project? Pin
Saurabh.Garg28-Apr-08 23:01
Saurabh.Garg28-Apr-08 23:01 
AnswerRe: Which type of string do you use in VC++ project? Pin
_AnsHUMAN_ 28-Apr-08 23:32
_AnsHUMAN_ 28-Apr-08 23:32 
STL's basic_string template class is much more flexible in this respect and allows you to create any kind of the strings suitable for specific scenarios.
You can use CString if the size of the project is going to be small. In case the project is a large one than I would rather prefer a wrapper class to encapsulate all the functionality and use it.
BSTR's are used in COM.It's better to convert the CString to a _bstr_t and then pass it to the COM interface if you are working with COM since they have to maintain compatibility with VB datatypes and components can be invoked from there.

Somethings seem HARD to do, until we know how to do them.
Wink | ;-) _AnShUmAn_

GeneralRe: Which type of string do you use in VC++ project? Pin
zengkun10028-Apr-08 23:50
zengkun10028-Apr-08 23:50 
AnswerRe: Which type of string do you use in VC++ project? Pin
CPallini28-Apr-08 23:48
mveCPallini28-Apr-08 23:48 
GeneralRe: Which type of string do you use in VC++ project? Pin
zengkun10028-Apr-08 23:51
zengkun10028-Apr-08 23:51 
GeneralRe: Which type of string do you use in VC++ project? Pin
CPallini29-Apr-08 0:01
mveCPallini29-Apr-08 0:01 
GeneralRe: Which type of string do you use in VC++ project? Pin
zengkun10029-Apr-08 0:12
zengkun10029-Apr-08 0:12 
AnswerRe: Which type of string do you use in VC++ project? Pin
Ozer Karaagac29-Apr-08 1:43
professionalOzer Karaagac29-Apr-08 1:43 
GeneralRe: Which type of string do you use in VC++ project? Pin
jhwurmbach29-Apr-08 5:42
jhwurmbach29-Apr-08 5:42 
GeneralIs STL ineffable itself? Pin
Ozer Karaagac29-Apr-08 11:02
professionalOzer Karaagac29-Apr-08 11:02 
AnswerRe: Which type of string do you use in VC++ project? Pin
Nemanja Trifunovic29-Apr-08 4:17
Nemanja Trifunovic29-Apr-08 4:17 
AnswerRe: Which type of string do you use in VC++ project? Pin
toxcct29-Apr-08 5:14
toxcct29-Apr-08 5:14 
GeneralTool Bar Pin
T.RATHA KRISHNAN28-Apr-08 22:49
T.RATHA KRISHNAN28-Apr-08 22:49 
GeneralRe: Tool Bar Pin
ShilpiP28-Apr-08 23:45
ShilpiP28-Apr-08 23:45 
GeneralRe: Tool Bar Pin
Hamid_RT29-Apr-08 4:06
Hamid_RT29-Apr-08 4:06 
GeneralRegarding HtmlView class in MFC Pin
H4u3228-Apr-08 21:32
H4u3228-Apr-08 21:32 
GeneralRe: Regarding HtmlView class in MFC Pin
Rajkumar R28-Apr-08 21:49
Rajkumar R28-Apr-08 21:49 
GeneralRe: Regarding HtmlView class in MFC Pin
H4u3228-Apr-08 22:20
H4u3228-Apr-08 22:20 
QuestionRe: Regarding HtmlView class in MFC Pin
David Crow29-Apr-08 3:08
David Crow29-Apr-08 3:08 

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.