Click here to Skip to main content
15,896,153 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: COM classes and pointers Pin
sthotakura16-Apr-07 21:03
sthotakura16-Apr-07 21:03 
QuestionBitmaps to video Pin
bankai12316-Apr-07 6:58
bankai12316-Apr-07 6:58 
AnswerRe: Bitmaps to video Pin
Mark Salsbery16-Apr-07 7:12
Mark Salsbery16-Apr-07 7:12 
GeneralRe: Bitmaps to video Pin
bankai12316-Apr-07 8:04
bankai12316-Apr-07 8:04 
GeneralRe: Bitmaps to video Pin
Mark Salsbery16-Apr-07 8:15
Mark Salsbery16-Apr-07 8:15 
GeneralRe: Bitmaps to video Pin
bankai12317-Apr-07 3:03
bankai12317-Apr-07 3:03 
GeneralRe: Bitmaps to video Pin
Mark Salsbery17-Apr-07 5:09
Mark Salsbery17-Apr-07 5:09 
QuestionIID_IHTMLElement Failing Pin
Abhi Lahare16-Apr-07 5:51
Abhi Lahare16-Apr-07 5:51 
Hi,

I am trying to get IID_IHTMLElement but its failing, in few cases. The GetlastError function returns 0 for these cases.

I am using following function call to achive this,


IHTMLElement * pElement = NULL;
IHTMLDocument2 * pHTMLDoc = NULL;
HRESULT hr;
IServiceProvider * pSP = NULL;


hr = pAccWindow->QueryInterface(IID_IServiceProvider, (void **)&pSP);
hr = pSP->QueryService(IID_IHTMLElement, IID_IHTMLElement, (void **)&pElement);


I do not get any exception, bur I getting pElement as NULL.
I got these failure when I press the Browser BACK button in MSIE 6.0.

Any pointer will be helpful,

Thanks in Advance
ARLahare
AnswerRe: IID_IHTMLElement Failing Pin
led mike16-Apr-07 9:09
led mike16-Apr-07 9:09 
GeneralRe: IID_IHTMLElement Failing Pin
Abhi Lahare16-Apr-07 21:55
Abhi Lahare16-Apr-07 21:55 
GeneralRe: IID_IHTMLElement Failing Pin
Mark Salsbery17-Apr-07 5:15
Mark Salsbery17-Apr-07 5:15 
GeneralRe: IID_IHTMLElement Failing Pin
Abhi Lahare19-Apr-07 2:59
Abhi Lahare19-Apr-07 2:59 
AnswerRe: IID_IHTMLElement Failing Pin
Mark Salsbery16-Apr-07 10:26
Mark Salsbery16-Apr-07 10:26 
AnswerRe: IID_IHTMLElement Failing Pin
Stephen Hewitt16-Apr-07 14:23
Stephen Hewitt16-Apr-07 14:23 
GeneralRe: IID_IHTMLElement Failing [modified] Pin
Abhi Lahare16-Apr-07 19:51
Abhi Lahare16-Apr-07 19:51 
QuestionTBSTYLE_EX_DRAWDDARROWS Pin
bob1697216-Apr-07 5:50
bob1697216-Apr-07 5:50 
QuestionMBCS - Character range generation Pin
John R. Shaw16-Apr-07 5:36
John R. Shaw16-Apr-07 5:36 
AnswerRe: MBCS - Character range generation Pin
Michael Dunn16-Apr-07 9:57
sitebuilderMichael Dunn16-Apr-07 9:57 
GeneralRe: MBCS - Character range generation Pin
John R. Shaw16-Apr-07 12:28
John R. Shaw16-Apr-07 12:28 
Questionwhere are my attributes Pin
zqueezy16-Apr-07 5:33
zqueezy16-Apr-07 5:33 
AnswerRe: where are my attributes Pin
toxcct16-Apr-07 5:36
toxcct16-Apr-07 5:36 
GeneralRe: where are my attributes Pin
zqueezy16-Apr-07 5:46
zqueezy16-Apr-07 5:46 
GeneralRe: where are my attributes Pin
Hamid_RT16-Apr-07 9:28
Hamid_RT16-Apr-07 9:28 
GeneralRe: where are my attributes Pin
toxcct16-Apr-07 9:55
toxcct16-Apr-07 9:55 
AnswerRe: where are my attributes Pin
Mark Salsbery16-Apr-07 5:56
Mark Salsbery16-Apr-07 5:56 

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.