I figured out what I was doing wrong. I shouldn't have been checking to see if the time is within the timezone daylight time. I renamed "iCal::InDaylightTime" to "iCal::GetTimeZoneBias". ...
Type: Posts; User: NightCode
I figured out what I was doing wrong. I shouldn't have been checking to see if the time is within the timezone daylight time. I renamed "iCal::InDaylightTime" to "iCal::GetTimeZoneBias". ...
I'm going mad here! I know this is simple, but I'm just not seeing what I'm doing wrong. I have a iCal data that has the timezone information and the start and end date time along with the timezone...
That will not work since strcat required a NULL terminated string. The address of c does not contain the NULL terminated string. Most likely, your code will crash.
#include <iostream>...
I moved the GetStatus to the CServer::RunStatusUpdate thread that was forcing the WM_PAINT. CServer::Paint() should be faster.
It was DeleteObject(SelectObject(hdc, CreateFontIndirect(&lf))); that was leaking the GDIs, never thought of checking that before. And also you mentioned that lf was not initialized and that line...
I have made a RPC server that displays that status of what the client is doing with the application. The RPC server is a simple windows app that draw the text with DrawText along with the task bar...