Click here to Skip to main content
15,890,282 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralNewbie Question on C Pointers Pin
_NielsB12-Jan-08 10:55
_NielsB12-Jan-08 10:55 
GeneralRe: Newbie Question on C Pointers Pin
Chris Losinger12-Jan-08 11:03
professionalChris Losinger12-Jan-08 11:03 
GeneralRe: Newbie Question on C Pointers Pin
CPallini12-Jan-08 11:58
mveCPallini12-Jan-08 11:58 
GeneralRe: Newbie Question on C Pointers Pin
_NielsB12-Jan-08 21:29
_NielsB12-Jan-08 21:29 
GeneralRe: Newbie Question on C Pointers Pin
CPallini12-Jan-08 23:19
mveCPallini12-Jan-08 23:19 
GeneralRe: Newbie Question on C Pointers Pin
_NielsB12-Jan-08 23:45
_NielsB12-Jan-08 23:45 
Generalsearching web - automated Pin
Force Code12-Jan-08 10:34
Force Code12-Jan-08 10:34 
GeneralRe: searching web - automated Pin
Force Code12-Jan-08 10:46
Force Code12-Jan-08 10:46 
After the Stop statement above, here's how I process the returned page (as I guess that might be the bottleneck):

if (rsltDoc = IHTMLDocument2Ptr(brwsr->GetDocument())) {
       HRESULT hr = rsltDoc->get_body(&body);
   if (!FAILED(hr)) {
         BSTR bstr_b;
     hr = body->get_innerText(&bstr_b);
     if (!FAILED(hr)) {
           char* szBody = ConvertBSTRToString(bstr_b);
       if (!strstr(szBody,szNotFound)) {
         pf_fmt(szSrch);
         fprintf(f,"%s\n\n",szSrch);
         printf("%s\n\n",szSrch);
         bMatch = TRUE;
       }
       delete [] szBody;
       SysFreeString(bstr_b);
     }
   }
     }

GeneralSwitching off hibernation [modified] Pin
tibiz12-Jan-08 8:33
tibiz12-Jan-08 8:33 
GeneralRe: Switching off hibernation Pin
David Crow12-Jan-08 9:44
David Crow12-Jan-08 9:44 
GeneralRe: Switching off hibernation Pin
tibiz12-Jan-08 9:47
tibiz12-Jan-08 9:47 
GeneralRe: Switching off hibernation Pin
David Crow12-Jan-08 10:11
David Crow12-Jan-08 10:11 
GeneralOk, let's have a Working code Pin
tibiz12-Jan-08 11:10
tibiz12-Jan-08 11:10 
GeneralRe: Switching off hibernation Pin
Blake Miller22-Jan-08 11:44
Blake Miller22-Jan-08 11:44 
Generalcontext menu cause flicking Pin
followait12-Jan-08 5:51
followait12-Jan-08 5:51 
QuestionRe: context menu cause flicking Pin
Mark Salsbery12-Jan-08 7:34
Mark Salsbery12-Jan-08 7:34 
GeneralRe: context menu cause flicking [modified] Pin
followait12-Jan-08 15:19
followait12-Jan-08 15:19 
QuestionRe: context menu cause flicking Pin
Mark Salsbery14-Jan-08 6:15
Mark Salsbery14-Jan-08 6:15 
Questiondifference between stack & heap Pin
raaf12-Jan-08 4:57
raaf12-Jan-08 4:57 
GeneralRe: difference between stack & heap Pin
CPallini12-Jan-08 5:44
mveCPallini12-Jan-08 5:44 
GeneralRe: difference between stack & heap Pin
raaf12-Jan-08 16:13
raaf12-Jan-08 16:13 
GeneralRe: difference between stack & heap Pin
Maxwell Chen12-Jan-08 8:50
Maxwell Chen12-Jan-08 8:50 
GeneralRe: difference between stack & heap Pin
CPallini12-Jan-08 10:28
mveCPallini12-Jan-08 10:28 
GeneralRe: difference between stack & heap Pin
Maxwell Chen12-Jan-08 10:36
Maxwell Chen12-Jan-08 10:36 
QuestionHow Can Create a Project multimedia(video & Sound) Conclave To 3 Computer Pin
vahid akbari12-Jan-08 4:51
vahid akbari12-Jan-08 4:51 

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.