-
Recent Posts
Recent Comments
Mike T. on Code snippet Using WMI via… Drew Canitz on minimal ATL window eskici on file transfer over synchronous… Rose on Purify reported error entry po… duongnguyenvan on file transfer over synchronous… Archives
- August 2018
- March 2018
- May 2017
- July 2012
- May 2012
- April 2012
- March 2012
- January 2012
- October 2011
- September 2011
- July 2011
- June 2011
- May 2011
- April 2011
- October 2010
- August 2010
- July 2010
- June 2010
- May 2010
- April 2010
- March 2010
- January 2010
- December 2009
- November 2009
- October 2009
- September 2009
- July 2009
- June 2009
- May 2009
- February 2009
- January 2009
- December 2008
- November 2008
- October 2008
- September 2008
- August 2008
- July 2008
- June 2008
- May 2008
- April 2008
- March 2008
- February 2008
- January 2008
- December 2007
- November 2007
- October 2007
- September 2007
- August 2007
- July 2007
- June 2007
- May 2007
- April 2007
- March 2007
- February 2007
- January 2007
- December 2006
- November 2006
- October 2006
- September 2006
- August 2006
- July 2006
- June 2006
- May 2006
- April 2006
- March 2006
- February 2006
- January 2006
- December 2005
- November 2005
Categories
Meta
Monthly Archives: January 2007
Build async_udp_echo_server.cpp of boost.asio library
Build it on Windows XP via VC8.0 C:\cpp\boost_1_33_1\libs\asio\example\echo>cl async_udp_echo_server.cpp Link Error: async_udp_echo_server.obj : error LNK2019: unresolved external symbol "void __cdecl boost::throw_exception(class std::exception const &)" (?throw_exception@boost@@YAXABVexception@std@@@Z) referenced in function "public: void __thiscall boost::asio::detail::win_iocp_io_service::run(void)" (?run@win_iocp_io_service@detail@asio@boost@@QAEXXZ)async_udp_echo_server.exe : fatal error LNK1120: 1 unresolved externals … Continue reading
Posted in Uncategorized
Leave a comment
build boost 1.33.1 on Windows XP Chinese
To fully build boost lirary on Chinese OS, I have to change default codepage to English(United States) before building with the following command line. C:\cpp\boost_1_33_1>bjam "-sTOOLS=vc-8_0" install Otherwise some libraries will not be build.(regex)
Posted in Uncategorized
Leave a comment
limitation of python
I am trying to create a build script in Python, so I want to redirect console output to Python. It seems to be an easy task on Linux platform, but not working on Windows Platform. Platform independent is the major … Continue reading
Posted in Uncategorized
Leave a comment
Delete read only file on windows
_chmod(dst_file.c_str(), _S_IWRITE); // does not work (Windows XP SP2)SetFileAttributes(dst_file.c_str(), FILE_ATTRIBUTE_NORMAL); // working!DWORD copyret = CopyFile(src_file.c_str(), dst_file.c_str(), FALSE);
Posted in Uncategorized
Leave a comment
install google toolbar 3.0beta
I like the features of bookmark in google toolbar 3.0beta, so I decided to upgrade by addon. Although I edit option of firefox to allow addon from tools.google.com and toolbar.google.com, it still prevent the addon being installed.OK, I am a … Continue reading
Posted in Uncategorized
Leave a comment
bookmark on network programming
ACE_WIN32_Proactor samplehttp://blog.csdn.net/hxzb7215191/archive/2006/02/11/596809.aspx http://budd.eecs.oregonstate.edu/~archive/opensource/ace/examples/Reactor/Proactor/test_proactor2.cpp Boost.ASIOhttp://asio.sourceforge.net/boost-asio-proposal-0.3.6/libs/asio/doc/tutorial/index.html Greate post on Reactor and Proactor patterns Comparing Two High-Performance I/O Design Patternsby Alexander Libman with Vladimir GilbourdNovember 25, 2005 Url: http://www.artima.com/articles/io_design_patterns.html TProactor (ACE compatible Proactor) – add-on to ACE class-libraries, which allows using of ACE … Continue reading
Posted in Computers and Internet
Leave a comment
empty base64Binary value in XML
MSXML4.0 reports error when an XML element has empty value of base64Binary type. The following url explained that empty value is validhttp://lists.w3.org/Archives/Public/xmlschema-dev/2004Aug/0132.html Furthermore, the Second Edition of XMLSchema [2] has a regular expression for base64Binary which explicitly allows empty (base64) … Continue reading
Posted in XML
Leave a comment
Kodak HI renamed to Onex HI
http://www.thestar.com/Business/article/169947Onex grabbing unit of Kodak
Posted in News and politics
Leave a comment
Book review:Imperfect C++
Imperfect C++Author: Matthew WilsonI thought I understand C++ well, because I know boost, and I have read effective and more effective C++, and I know loki, etc. But when I open this book, I hope I have not said those … Continue reading
Posted in Books
Leave a comment
Books wanted list
代码大全(第二版)(英文影印版) 7-121-03362-3 Steve McConnellI have read it, but it is nice to keep one for the convenience of communication with others.Python编程(第三版·英文影印版)(上、下册) Programming Python, 3e Mark Lutz Introduced python2.5Python seems popular, unfortunately it is beaten by lua and ruby during comparison, … Continue reading
Posted in Books
Leave a comment