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

C / C++ / MFC

 
AnswerRe: Usage of IHTMLElement Pin
Stephen Hewitt27-Jun-10 19:09
Stephen Hewitt27-Jun-10 19:09 
AnswerRe: Usage of IHTMLElement Pin
ThatsAlok27-Jun-10 19:14
ThatsAlok27-Jun-10 19:14 
AnswerRe: Usage of IHTMLElement Pin
«_Superman_»27-Jun-10 19:23
professional«_Superman_»27-Jun-10 19:23 
GeneralRe: Usage of IHTMLElement Pin
Pk.j27-Jun-10 21:39
Pk.j27-Jun-10 21:39 
GeneralRe: Usage of IHTMLElement Pin
«_Superman_»27-Jun-10 22:16
professional«_Superman_»27-Jun-10 22:16 
GeneralRe: Usage of IHTMLElement Pin
Pk.j27-Jun-10 22:48
Pk.j27-Jun-10 22:48 
GeneralRe: Usage of IHTMLElement Pin
«_Superman_»27-Jun-10 22:51
professional«_Superman_»27-Jun-10 22:51 
GeneralRe: Usage of IHTMLElement Pin
Pk.j27-Jun-10 23:54
Pk.j27-Jun-10 23:54 
I have modified as per your suggestion.My modified lines are in block letter .Please have a look on below & guide me--

=======================================================================
IHTMLElement *pElement;
IDispatch *pDispInput = NULL;
HRESULT hr;
TCHAR tChrID[500];
BSTR bStrID;

if ( pDispInput->QueryInterface(IID_IHTMLElement, (void **)&pElement)== S_OK)
{
hr = pElementLitu->get_id(&bStrID);
if (SUCCEEDED(hr))
{
CString StrS;
if (bStrID)
{
WideCharToMultiByte(CP_ACP, 0, bStrID, -1, tChrID, 500, NULL, NULL);
SysFreeString (bStrID);
}

StrS = tChrID;
WriteToLog(StrS); // Creating LOG of 'id'values
}
pElement ->Release();
}
pDispInput->Release();

========================================================================================
GeneralRe: Usage of IHTMLElement Pin
«_Superman_»28-Jun-10 0:07
professional«_Superman_»28-Jun-10 0:07 
GeneralRe: Usage of IHTMLElement Pin
Pk.j28-Jun-10 1:31
Pk.j28-Jun-10 1:31 
GeneralRe: Usage of IHTMLElement Pin
CMalcheski28-Aug-10 10:09
CMalcheski28-Aug-10 10:09 
QuestionSuggestions on Development on Multi Platform Communcation App [modified] Pin
Greg Mort27-Jun-10 11:16
Greg Mort27-Jun-10 11:16 
AnswerRe: Suggestions on Development on Multi Platform Communcation App Pin
Richard MacCutchan27-Jun-10 21:24
mveRichard MacCutchan27-Jun-10 21:24 
GeneralRe: Suggestions on Development on Multi Platform Communcation App Pin
Greg Mort28-Jun-10 2:18
Greg Mort28-Jun-10 2:18 
QuestionPropertySheet Button Pin
john563227-Jun-10 5:54
john563227-Jun-10 5:54 
AnswerRe: PropertySheet Button Pin
ThatsAlok27-Jun-10 19:18
ThatsAlok27-Jun-10 19:18 
QuestionUse Manifest to identifies the privilege level. Pin
aangerma27-Jun-10 2:13
aangerma27-Jun-10 2:13 
AnswerRe: Use Manifest to identifies the privilege level. Pin
KarstenK27-Jun-10 21:29
mveKarstenK27-Jun-10 21:29 
GeneralRe: Use Manifest to identifies the privilege level. Pin
aangerma27-Jun-10 21:54
aangerma27-Jun-10 21:54 
GeneralRe: Use Manifest to identifies the privilege level. Pin
KarstenK27-Jun-10 22:51
mveKarstenK27-Jun-10 22:51 
QuestionIs it harmful to delete IMPLEMENT_DYNCREATE of CPropertyPage? Pin
includeh1026-Jun-10 18:12
includeh1026-Jun-10 18:12 
AnswerRe: Is it harmful to delete IMPLEMENT_DYNCREATE of CPropertyPage? Pin
KarstenK27-Jun-10 21:43
mveKarstenK27-Jun-10 21:43 
AnswerBarcode Application Usage [was: Re: Is it harmful to delete IMPLEMENT_DYNCREATE of CPropertyPage?] Pin
gvMadhav24-Jul-10 17:54
gvMadhav24-Jul-10 17:54 
QuestionA RichEdit without any borders [Solved] Pin
Rozis26-Jun-10 6:50
Rozis26-Jun-10 6:50 
AnswerRe: A RichEdit without any borders Pin
Niklas L26-Jun-10 10:36
Niklas L26-Jun-10 10:36 

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.