CoCreateInstance and Process Id: Working around COM limitations
CoCreateInstance is a workhorse that makes COM so much more fun and usable. Yet, it doesn’t let you in on one singularly important piece of information — the id of the newly launched process. Neither is there any other API which would tell you this. This is, as Microsoft would call it, by design. The […]
Getting around VS2012 C1189/C4005 error: keyword re-defined in macro(s)
For the impatient (read legacy code maintainers): Go ahead and add _ALLOW_KEYWORD_MACROS to your list of preprocessor definitions in the project settings to get rid of the errors. If you’re still here and wondering what hit you: VS2012 bids farewell to all the macro magic you did all this while. Including the (now) infamous #define […]