-
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: October 2007
ACE test_cancel sample problem when remote peer close socket after sending data
When sending socket was closed before the socket is canceled, the program runs into endless loop. It is produced by the following steps: Build the ACE_wrappers\examples\Reactor\Proactor\test_cancel project on windows XP via VC8 SP1 and start it, Start up the following … Continue reading
Posted in Open Source
Leave a comment
Eclipse — another heavy platform
Eclipse is being strongly advocated by people NOT using it in their daily life. The real story is, once you move to it, most likely you’ll dislike it for various reason. At least for one thing, it is rather heavy. … Continue reading
Posted in Open Source
Leave a comment
wxWidgets-2.8.6 and VC8 on Windows XP
It seems that I have to enable USE_EXCEPTIONS when building wxWidgets via VC8 on Windows XP, otherwise the sample code(E:\opensource\wxWidgets-2.8.6\samples\except\except.dsp) got stack overflow problem. I also need to add a function to this sample project in order to fix the … Continue reading
Posted in GUI
Leave a comment
RPC_E_CANTCALLOUT_ININPUTSYNCCALL Error with Out-of-Proc COM Server
Steps to reproduce: Create an out-of-proc COM server, add one method STDMETHODIMP ExeMsg::Test(long process_id, long thread_id){ std::stringstream ss; ss << "ExeMsg::Test() Called from process " << process_id << " caller thread " << thread_id << " callee process " << … Continue reading
Posted in COM
Leave a comment
Use XPATH to filter “xml:lang” via MSXML in VC6
#include "stdafx.h"#include <TCHAR.H>#include <stdio.h>#include <time.h>#import "msxml4.dll"using namespace MSXML2; inline void EVAL_HR( HRESULT _hr ) { if FAILED(_hr) throw(_hr); } void printMSXMLError(const IXMLDOMDocument2Ptr& pXMLDoc){ try { IXMLDOMParseErrorPtr pError = NULL; EVAL_HR(pXMLDoc->get_parseError(&pError) ); _ftprintf(stderr, pError->reason); } catch(…) {//Exception handling }} int … Continue reading
Posted in XML
Leave a comment
build boost1.34.1
Using VC++ 2005 (vc80)Create a batch file with the following content to build boost 1.34.1 via VC8. The tricky thing is to clean PATH variable, otherwise MkDir1 may fail with strange error message "spawn: Invalid argument". REM clean PATH to … Continue reading
Posted in Open Source
Leave a comment