Originally Posted by Elysia #include <windows.h>? Why it wasn't included in the example? Now I have other "include" errors: Error 1 error C2065: 'COINIT_MULTITHREADED' : undeclared identifier