Search:

Type: Posts; User: NightCode

Search: Search took 0.01 seconds.

  1. Replies
    1
    Views
    6,237

    I figured out what I was doing wrong. I...

    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". ...
  2. Replies
    1
    Views
    6,237

    Convert a local time to a timezone's bias

    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...
  3. Replies
    12
    Views
    3,254

    That will not work since strcat required a NULL...

    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>...
  4. Replies
    4
    Views
    1,002

    I moved the GetStatus to the...

    I moved the GetStatus to the CServer::RunStatusUpdate thread that was forcing the WM_PAINT. CServer::Paint() should be faster.
  5. Replies
    4
    Views
    1,002

    It was DeleteObject(SelectObject(hdc,...

    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...
  6. Replies
    4
    Views
    1,002

    Window and Taskbar becomes unresponsive

    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...
Results 1 to 6 of 6