Windows timers are mechanisms that let you set one or more timers to be triggered at a specific number of milliseconds. If you set a timer to be triggered at a 1,000 millisecond interval, it triggers every second. When a timer triggers, it sends a WM_TIMER message to …

Unicode characters are invented to accommodate additional international characters  part from English. Earlier characters were represented in ASCII formats with each character occupying 1 byte of memory. But with Unicode, each character is represented with 2 bytes. There is one more type of character set using 2 bytes i.e.MBCS (Multi …

A worker thread in MFC is used for many background tasks like printing, computations, network servers etc.,  Unlike User Interface threads, worker threads do not have their own Message Maps. A worker thread in an MFC program can be implemented with a simple controlling function of the following declaration type. …

A thread is the path of execution of a process. A thread by itself, uses only a part of the memory and address space of the process in which it is getting executed. MFC provides two kinds of threads viz.Worker threads and User Interface threads. …

    C++ by itself does not have a feature for dynamic runtime class information. But Microsoft solved this problem by providing a CRuntimeClass. This structure can be used for dynamic runtime class information, extra type checking of function arguments or when we have to write some special purpose code …

  This article does not try to cover all possible details about debugging VC ++. It tries to add some knowledge to the VC++ programmers who are already exposed to some amount of VC++ programming and debugging. Memory dump:    Large arrays(esp. character), won’t be able …

   There are instances when some application errors occur in our program, it will be best to raise a generic message. This might send an e-mail message or give a beep sound or any kind of notifications. This is where user event comes into picture. …

1 35 36 37