This is an article in my original blog, but I won't write it at the time.
Recently, you often have some very beautiful pictures, especially in some BBS and post, there are a lot of pictures, including some mobile phones. Downloads are more troublesome, and some of them save and affect the viewing, so write a program to handle.
The functionality of the program is approximately as follows:
2 Browse content in the Internet cache. 2 Support date, size, and URL regular expressions (Perl style) flags to query. 2 Support for previewing files: images, Flash, MP3, MID and other files can display. 2 Convenient choices and copy. 2 The interface is as friendly as possible.
Problems encountered during implementation:
1
2, ATL's regexp speed is slow, Greta's speed is fast.
3, the use of the chtmleditctrl control, its Destructor is protected, so it must be used to use it, or use New to allocate on the heap and delete (its Destructor is Virtual) through the base class CWnd.
4, the problem that has not been resolved, due to the lack of HTML knowledge, can not effectively generate browsing HTML documents, continue to enhance in the future version.
how to download:
Since the executable is relatively large, it is compressed by WinRAR, and divided into two parts in the March 2005 album. Please note that there is UltraEdit to open according to the second mechanism, and remove the first 67 bytes, ie Two files can be obtained, and the corresponding name is snapurl.part1.rar and snapurl.part2.rar, can be used with WinRAR until it can be used.
In addition, this executable program requires gdiplus.dll to be able to run.
Specifically, how is it relatively simple, not explained here, everyone is interested in seeing yourself.
The interface is as follows: