I have a problem with using DirectX 11 pixel shaders for image processing.
I am writting a image manipulation program, but I faced a problem.
I need a simple (and fast) way to use a bitmap as texture input for the shader and I need a way to render to a bitmap, or to render to a normal rendertargetview and convert this to a bitmap.
Which way is possible and how can I do this?
I have some problem in finding a bug in an example application, but I had this problem several times before, when I worked with C++ applications. I receive the error LNK1120, and as the error of the external the error LNK2019 (Error 1 error LNK2019: unresolved external symbol _main referenced in function ___tmainCRTStartup C:\Users\Simon\Programme\DirectX\DirectX11Framework\DirectX11Framework\MSVCRTD.lib(crtexe.obj) DirectX11Framework). The msdn documentation has several things, which could be the reason, but the main problem is, that I do not find the reason for this error. Is there any way to get more detailed information to an error and where it occurs. And perhaps anyone has an idea how to resolve it.
And a general question how can such "cryptic" errors be debugged, because the help on msdn is not that good in this aspect.
As the topic title indicates, I want to know which programming language is best for programming DirectX11? I know, that C++ in the most cases is the fastest, but I also read, that C# can also be used for DirectX programming. How much is the speed difference, or are there other advantages or disadvantages for C# / C++?