I have a simple Window class and I use a function for WM_PAINT that clears the render target view and presents the final image.so there\'s not much into it but I get a crash on