Monthly Archives: May 2011

Using C++ decltype to ease implementation of “late” binding to a DLL

You can just include the file with the prototype of the function exported by the DLL you’ll load with LoadLibrary. Then use decltype on it: #include <iostream> #include <UserEnv.h> int wmain() { auto h = LoadLibrary(L”Userenv.dll”); if (!h) return -1; … Continue reading

Posted in Computers and Internet | Leave a comment

Herb Sutter again on Lambda tonight

As usual, his talk delivered to the Northwest C++ Users Group was excellent and very entertaining. It’s very enjoyable to be surrounded by people who love the language and are passionate about it. I hope he and Scott Meyers are working on new … Continue reading

Posted in Computers and Internet | Leave a comment