Monthly Archives: May 2008

Fastest IPC method on Windows XP/Vista

Problem: Find out a fastest method sending 1000 messages of 2MB size from one process to another process. Result table provide by Onega on XP SP2 and Vista. IPC method XP(seconds) Vista(seconds) Remote memory access (ReadProcessMemory) 5.5 5.75 — max … Continue reading

Posted in debug | Leave a comment

boost::interprocess::mapped_region can’t get size of boost::interprocess::windows_shared_memory

User has to pass size explicitly to ctor of mapped_region, otherwise mapped_region.get_size() return 0. The boost document mentioned it, but I think the mapped_region implementation should not allow user ignore size parameters when mapped_region is working with windows_shared_memory.

Posted in CPP | Leave a comment

no best mail client

Windows Live Mail can’t receive message body behind proxy, only subject is received. Thunderbird 2.0.14 can’t receive gmail behind proxy, it failed to access news.microsoft.com too with/without proxy.

Posted in Computers and Internet | Leave a comment

Patch another process

http://www.codeproject.com/KB/DLL/subhook.aspx Cross Process Subclassing   http://forum.mess.be/index.php?showtopic=11966 Hooking MSN Messenger 7 with VC++, A tutorial on how to hook MSN Messenger http://www.codeguru.com/cpp/w-p/dll/hooking/article.php/c3639/ Hijack Textout Calls From Notepad http://www.codeproject.com/KB/DLL/apihijack.aspx APIHijack – A Library for easy DLL function hooking.   http://www.codeproject.com/KB/system/hooksys.aspx API hooking … Continue reading

Posted in debug | Leave a comment

Visual Assist X 10.4.1638.0 causes VC++ 2008 crash

Just after upgraded to Visual Assist X 10.4.1638.0, my VC++ 2008 keeps crashing at startup. Restoring Visual Assist X 10.4.1626.0 fixed this problem.

Posted in IDE | Leave a comment

RegisterHotKey in wxWidgets

Register hotkey via main window, not child window. Some keys do not work. In one case RegisterHotKey(CapturePage::hotkey_id, wxMOD_CONTROL, ‘8’); worked but "F12" does not work. EVT_HOTKEY(CapturePage::hotkey_id, PathUtilDlg::OnHotkey)

Posted in GUI | Leave a comment