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

C / C++ / MFC

 
AnswerRe: 890817 - what's wrong with clicking on a control in a dockable pane? Pin
Sauro Viti8-Nov-10 2:18
professionalSauro Viti8-Nov-10 2:18 
GeneralRe: 890817 - what's wrong with clicking on a control in a dockable pane? Pin
ilostmyid28-Nov-10 18:03
professionalilostmyid28-Nov-10 18:03 
QuestionHow to use get the image's URL from web page Pin
yu-jian6-Nov-10 6:24
yu-jian6-Nov-10 6:24 
AnswerRe: How to use get the image's URL from web page Pin
«_Superman_»6-Nov-10 6:48
professional«_Superman_»6-Nov-10 6:48 
GeneralRe: How to use get the image's URL from web page Pin
yu-jian7-Nov-10 14:55
yu-jian7-Nov-10 14:55 
GeneralRe: How to use get the image's URL from web page Pin
«_Superman_»7-Nov-10 15:26
professional«_Superman_»7-Nov-10 15:26 
GeneralRe: How to use get the image's URL from web page Pin
yu-jian7-Nov-10 16:44
yu-jian7-Nov-10 16:44 
QuestionCopying Variants Pin
softwaremonkey5-Nov-10 23:59
softwaremonkey5-Nov-10 23:59 
Hi,

I am having trouble with VariantCopy() when the source variant is a VT_ARRAY. I have used VariantInit() and VariantClear() on the destination variant as suggested on MSDN but VariantCopy still does not work. It works OK with non-arrays but then thats easy. In the code fragmet below, pValue points to a VARIANT containing array data.

VariantInit(&m_value);
VariantClear(&m_value);
HRESULT hr = VariantCopy(&m_value, pValue);
if(FAILED(hr))
{
    TRACE("Failed to copy variant\n");
}


I can't find any useful examples on MSDN. Anyone have any idea as to where I am going wrong?

Thanks

Tony
AnswerRe: Copying Variants Pin
softwaremonkey6-Nov-10 0:42
softwaremonkey6-Nov-10 0:42 
QuestionRegEnumValue not return the correct values Pin
Arnon A5-Nov-10 12:39
Arnon A5-Nov-10 12:39 
AnswerRe: RegEnumValue not return the correct values Pin
«_Superman_»5-Nov-10 14:41
professional«_Superman_»5-Nov-10 14:41 
AnswerRe: RegEnumValue not return the correct values Pin
krmed6-Nov-10 3:50
krmed6-Nov-10 3:50 
GeneralRe: RegEnumValue not return the correct values Pin
Arnon A7-Nov-10 21:25
Arnon A7-Nov-10 21:25 
QuestionRe: RegEnumValue not return the correct values Pin
David Crow6-Nov-10 17:58
David Crow6-Nov-10 17:58 
QuestionCompiler Error in Template Functions...? [modified] Pin
Joseph Dempsey5-Nov-10 7:41
Joseph Dempsey5-Nov-10 7:41 
AnswerRe: Compiler Error in Template Functions...? Pin
«_Superman_»5-Nov-10 7:52
professional«_Superman_»5-Nov-10 7:52 
GeneralRe: Compiler Error in Template Functions...? Pin
Joseph Dempsey5-Nov-10 8:01
Joseph Dempsey5-Nov-10 8:01 
GeneralRe: Compiler Error in Template Functions...? Pin
«_Superman_»5-Nov-10 8:02
professional«_Superman_»5-Nov-10 8:02 
GeneralRe: Compiler Error in Template Functions...? Pin
Joseph Dempsey5-Nov-10 8:17
Joseph Dempsey5-Nov-10 8:17 
GeneralRe: Compiler Error in Template Functions...? Pin
«_Superman_»5-Nov-10 8:56
professional«_Superman_»5-Nov-10 8:56 
GeneralRe: Compiler Error in Template Functions...? Pin
Aescleal5-Nov-10 9:12
Aescleal5-Nov-10 9:12 
AnswerRe: Compiler Error in Template Functions...? [modified] Pin
Aescleal5-Nov-10 9:08
Aescleal5-Nov-10 9:08 
AnswerRe: Compiler Error in Template Functions...? [modified] Pin
Paul Michalik6-Nov-10 1:42
Paul Michalik6-Nov-10 1:42 
QuestionUsing a Message-Only Window to Receive Device Change Notification Messages [modified] Pin
Jim Fell5-Nov-10 5:11
Jim Fell5-Nov-10 5:11 
AnswerRe: Using a Message-Only Window to Receive Device Change Notification Messages Pin
Luc Pattyn5-Nov-10 5:32
sitebuilderLuc Pattyn5-Nov-10 5:32 

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.