Adding MSDEV Libraries|
I think this is a MSDEV only tip again.
Instead of adding libs and dll's tediously in the project settings (and
sometime forgetting them) you can easily add them like so:
#pragma comment(lib, "opengl32.lib")
#pragma comment(lib, "dinput8.lib")
#pragma comment(lib, "dxguid.lib")
A non-MSDEV (portable) tip is:
Instead of putting #ifdef _MYFILE_ \ #define _MYFILE_ \#endif in each
.h/.hpp file, by putting them around the actual #include "myfile.h" call in
the .cpp file saves you a bit of time since the file doesn't have to be
parsed by the compiler looking for the corresponding #endif statement.
You can do this with #pragma once in MSDEV.
The zip file viewer built into the Developer Toolbox made use
of the zlib library, as well as the zlibdll source additions.