Hi All,
I am facing a serious problem. I need help!
There are cases for QueryInterface method in MSDN one amoung them is, a call to QueryInterface for a pointer to a specified interface succeeds the first time, it must succeed again, and if it fails the first time, it must fail on all subsequent queries (http://msdn.microsoft.com/en-us/library/ms682521%28VS.85%29.aspx).
In my app this is not happening. My app tries to click 3 buttons in sequence.Button1,Button2's query interface returns valid pointers but Button3 pointer is null. But when i try to click the 3rd button alone the pointer returned by queryinterface is valid one and the button is clicked.
Do any one have come across such a scenario? Please share your Knowledege.
veroniclake 0 Newbie Poster
Frederick2 189 Posting Whiz
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.