from http://www.iosart.com/firefox/xpcom/
http://www.lewislv.org/mozilla-ext/mozilla-ext.html
https://developer.mozilla.org/en/How_to_build_a_binary_XPCOM_component_using_Visual_Studio
Creating a C++ XPCOM component
About
This is a step-by-step tutorial on creating, buildin...
#define EVENT_NAME "EVENT_NAME"HANDLE g_Event = NULL;#define WM_hThreaEnd (WM_USER+101)extern CPraDesktopApp theApp;
创建信号:
g_Event = CreateEvent(NULL, FALSE, FALSE, EVENT_NAME);
发送信号:
_SetEvent(EVENT_NAME);
BOOL WINAPI _SetEvent(char* pszEventName){ if (!pszEventName) r...