Win32 Programming Tutorials

Purely Win32 Windows API tutorials, Articles and Examples using C Programming.
  Title / Author Reverse Sort Order Replies
There are 2 ways to make your Application Single Instance. 1. Close the previously running executable 2. Close the new instance with passing necessary info from the older version. First option is not preferred because you may have lots of information already accumulated in the running...
The purpose of this tutorial is to give you an idea on how to create a COM Server using ATL, and then being able to call the server from both a Visual C++ program, and a Visual Basic program. I am not gonna go into the depths of COM details or burden you down with IDL, this tuorial is designed to...
Consider a simple EXE COM server, FooServer. Let's assume FooServer exposes an object Foo that has a method Bar: IFoo = interface procedure Bar; end; Let's also assume that FooServer has no clue what multithreading is and is therefore single-threaded just like any normal application....