Preliminary support for MSYS/MinGW builds. Doesn't yet build

CSynergyHook as a DLL and does not compile or link in the
resources for the binaries.
This commit is contained in:
crs
2004-04-11 19:15:09 +00:00
parent 530be3ff9d
commit bf2879724f
20 changed files with 386 additions and 373 deletions

View File

@@ -387,7 +387,8 @@ void
CMSWindowsDesks::destroyClass(ATOM windowClass) const
{
if (windowClass != 0) {
UnregisterClass((LPCTSTR)windowClass, CMSWindowsScreen::getInstance());
UnregisterClass(reinterpret_cast<LPCTSTR>(windowClass),
CMSWindowsScreen::getInstance());
}
}
@@ -397,7 +398,7 @@ CMSWindowsDesks::createWindow(ATOM windowClass, const char* name) const
HWND window = CreateWindowEx(WS_EX_TOPMOST |
WS_EX_TRANSPARENT |
WS_EX_TOOLWINDOW,
(LPCTSTR)windowClass,
reinterpret_cast<LPCTSTR>(windowClass),
name,
WS_POPUP,
0, 0, 1, 1,