Click here to Skip to main content
15,922,166 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Questiongetline help Pin
arbster116-Apr-07 10:56
arbster116-Apr-07 10:56 
AnswerRe: getline help Pin
toxcct16-Apr-07 11:08
toxcct16-Apr-07 11:08 
GeneralRe: getline help Pin
arbster116-Apr-07 11:10
arbster116-Apr-07 11:10 
GeneralRe: getline help Pin
toxcct16-Apr-07 11:14
toxcct16-Apr-07 11:14 
AnswerRe: getline help Pin
Stephen Hewitt16-Apr-07 18:08
Stephen Hewitt16-Apr-07 18:08 
GeneralRe: getline help Pin
toxcct16-Apr-07 20:28
toxcct16-Apr-07 20:28 
GeneralRe: getline help Pin
Stephen Hewitt16-Apr-07 20:34
Stephen Hewitt16-Apr-07 20:34 
AnswerRe: getline help Pin
wucy121316-Apr-07 18:12
wucy121316-Apr-07 18:12 
QuestionVS2005 Component Gallery Pin
DRHuff16-Apr-07 10:55
DRHuff16-Apr-07 10:55 
AnswerRe: VS2005 Component Gallery Pin
Arman S.16-Apr-07 20:36
Arman S.16-Apr-07 20:36 
QuestionAccessing windows user account properties Pin
ramesh_hp200616-Apr-07 10:22
ramesh_hp200616-Apr-07 10:22 
QuestionRe: Accessing windows user account properties Pin
sthotakura16-Apr-07 11:19
sthotakura16-Apr-07 11:19 
QuestionCOM classes and pointers Pin
prithaa16-Apr-07 8:47
prithaa16-Apr-07 8:47 
AnswerRe: COM classes and pointers Pin
sthotakura16-Apr-07 8:50
sthotakura16-Apr-07 8:50 
GeneralRe: COM classes and pointers Pin
prithaa16-Apr-07 9:11
prithaa16-Apr-07 9:11 
AnswerRe: COM classes and pointers Pin
sthotakura16-Apr-07 9:29
sthotakura16-Apr-07 9:29 
GeneralRe: COM classes and pointers Pin
prithaa16-Apr-07 18:57
prithaa16-Apr-07 18:57 
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

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.