I have been following this code from "Introduction to 3D Game Programming with Directx 10" and I am typing out the main class. While I was typing I noticed a few errors. I tryed googling them but there were no results. So I ask you if you can help me.
HR(md3dDevice->CreateTexture2D(&depthStencilDesc, 0, &mDepthStencilBuffer)); HR(md3dDevice->CreateDepthStencilView(mDepthStencilBuffer, 0, &mDepthStencilView)); HR(mSwapChain->ResizeBuffers(1, mClientWidth, mClientHeight, DXGI_FORMAT_R8G8B8A8_UNORM, 0));
where the error is: "argument type 'const wchar_t*' is incompatible with parameter of 'const char*'"
wcscpy(fontDesc.FaceName, L"Times New Roman");
where the error is:
"argument of type 'CHAR*' is incompatible with parameter of type 'wchar_t*'"
EDIT: The error is at