Click here to Skip to main content
15,887,027 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: MFC dosen't care about code quality? Pin
Naveen29-Apr-08 5:23
Naveen29-Apr-08 5:23 
GeneralRe: MFC dosen't care about code quality? Pin
toxcct29-Apr-08 5:30
toxcct29-Apr-08 5:30 
AnswerRe: MFC dosen't care about code quality? PinPopular
Randor 29-Apr-08 5:51
professional Randor 29-Apr-08 5:51 
GeneralRe: MFC dosen't care about code quality? Pin
BadKarma29-Apr-08 21:16
BadKarma29-Apr-08 21:16 
QuestionRe: MFC dosen't care about code quality? Pin
bob1697229-Apr-08 21:47
bob1697229-Apr-08 21:47 
QuestionImplementation of gmtime( ) in Windows mobile Pin
Mohanraj D29-Apr-08 2:17
Mohanraj D29-Apr-08 2:17 
QuestionRe: Implementation of gmtime( ) in Windows mobile Pin
David Crow29-Apr-08 3:06
David Crow29-Apr-08 3:06 
QuestionVC++ DLL - ? assign value to VARIANT type variable Pin
lgatcodeproject29-Apr-08 0:02
lgatcodeproject29-Apr-08 0:02 
Hi EveryOne,
I have added a class which contains a method that accepts a VARIANT type variable in an ActivexDll written in VC++. In one of sample code I found the a value is assigned to the VARIANT type variable using a SAFEARRAY. My question is how can a string value be assigned to VARIANT type variable(type casting in strcpy does't work). Can we achieve it only by using SAFEARRAY? if yes why is it so? Is there any other way to obtain the same? kindly explain. Thank you.

Regards,
LG.

lgatcodeproject

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 
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 

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.