OSDN Git Service

Change the behavior of the reset
authorKazuhiro Fujieda <fujieda@users.sourceforge.jp>
Sun, 26 Aug 2012 06:52:59 +0000 (15:52 +0900)
committerKazuhiro Fujieda <fujieda@users.sourceforge.jp>
Sun, 26 Aug 2012 06:52:59 +0000 (15:52 +0900)
commitd735b48c0d0a95080e3c7f303a31b64d350f476c
tree98036f32fe336d5d89edd061c7425b666f042a3c
parent1d53267b8cd0f46ca034c7d9c6a9d4ec4370f6aa
Change the behavior of the reset

The reset restarts the 64bit process. This avoids the reset can't
cause any effect on the 64bit applications.

This commit includes the following changes.
- Make CMainFrame::TerminatePollThread wait until the thread really
  terminates.
- Make SendIPC64Message and IsWow64 in CXkeymacsApp static methods.
- Make IsWow64 invoke always IsWow64Process, remove the invocation
  from Start64bitProcess, and add Terminate64bitProcess in CXkeymacsApp.
- Delete InitDllData and make SetDllData public in CProfile.
- Remove IPC64_RESET of an IPC message.
- Change CMainFrame::OnReset as above.
xkeymacs/mainfrm.cpp
xkeymacs/profile.cpp
xkeymacs/profile.h
xkeymacs/xkeymacs.cpp
xkeymacs/xkeymacs.h
xkeymacs/xkeymacs64.cpp
xkeymacsdll/ipc.h