There are also some regex library in c++.
shilianghui2
Posts
-
url from the html data -
url from the html datayou can use regular expression to extract the url from the html data.i have done this before but not in c++,just in java.
-
Window activationtry to use the SetForegroundWindow.
-
Window activationmaybe you can use SetFocus.
-
Window activationare you sure?that means your window is active.
-
Window activationyou should get the return value of SetActiveWindow.if the return value is null,it means failure.then you can call GetLastError and get the error code.you can use the error lookup tool to get the reason for the failure.
-
Help File vc++you can put the help file into the same directory of the application file,then you can use some api such as GetModuleFileName to get the path of application file.now you can get the directory of the help file by parsing the path of application file simply.
-
MFC: Easy way to download XML & HTML files to disk?you can use a crawler to fetch those xml files.There are many xml parsers available.microsoft has provided a toolkit called msxml which is able to parse xml files.
-
Timers in VC++you don't have to use killtimer function to kill the timer.The statement for that function in the msdn shows that if you use an id that is existed,the old timer will be replaced.
-
help??About mshtml and ie.when i use a IHTMLDOMNode pointer which points to a #text node in the dom tree to get a IHTMLElement pointer,it fails. is there anyone who knows how to solve the problem?the purpose for getting the IHTMLElement pointer is that i want to get the bounding rect of the text node.