Hello all, im experimenting now with Direct2D, its prety simple but i realy cant figure out which is the most efficient and comfortable way to implement D2D within a WindowProc callback function, im coding small tools in C++, so im not always using Classes and resources. just a wWinMain and WindowProc.
is it better to wrap D2D functionality in a class? but where to initialize it? WM_CREATE? or in wWinMain and somehow control it from within WindowProc?
greets, Igor