Jump to content

  • Log In with Google      Sign In   
  • Create Account

147

Member Since 19 Jul 2012
Offline Last Active Nov 17 2012 12:17 PM

Topics I've Started

Creating Texture2D with OpenCL

17 November 2012 - 12:20 PM

Hello everyone, I have a further question. Is it possible to Transfer a Image to the gpu with OpenCL and use it as a Texture2D with DirectX11? And if, who can I manage this?

Use of Bitmap with DirectX11

20 October 2012 - 09:53 AM

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?

Problem with Debugging of C++ Error

12 August 2012 - 12:02 PM

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.

DirectX11 which programming language?

31 July 2012 - 03:44 AM

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++?

Error when trying out a tutorial

28 July 2012 - 03:23 PM

I'm trying to learn the basics of DirectX and found a nice site for that (http://www.directxtutorial.com/Tutorial11/B-A/BA2.aspx).
The problem is, that the VS2010 compiler only returns strange errors (I have followed the steps to use DirectX with VS2010).

Here are some of these:

Error 1 error LNK2028: unresolved token (0A000074) "extern "C" void __stdcall PostQuitMessage(int)" (?PostQuitMessage@@$$J14YGXH@Z) referenced in function "long __stdcall WindowProc(struct HWND__ *,unsigned int,unsigned int,long)" (?WindowProc@@$$FYGJPAUHWND__@@IIJ@Z) C:\Users\Simon\Programme\DirectX\DirectXSample1\DirectXSample1\DirectXSample1.obj DirectXSample1

Error 2 error LNK2028: unresolved token (0A00007D) "extern "C" struct HICON__ * __stdcall LoadCursorW(struct HINSTANCE__ *,wchar_t const *)" (?LoadCursorW@@$$J18YGPAUHICON__@@PAUHINSTANCE__@@PB_W@Z) referenced in function "extern "C" int __stdcall WinMain(struct HINSTANCE__ *,struct HINSTANCE__ *,char *,int)" (?WinMain@@$$J216YGHPAUHINSTANCE__@@0PADH@Z) C:\Users\Simon\Programme\DirectX\DirectXSample1\DirectXSample1\DirectXSample1.obj DirectXSample1

Error 3 error LNK2028: unresolved token (0A00008D) "extern "C" int __stdcall TranslateMessage(struct tagMSG const *)" (?TranslateMessage@@$$J14YGHPBUtagMSG@@@Z) referenced in function "extern "C" int __stdcall WinMain(struct HINSTANCE__ *,struct HINSTANCE__ *,char *,int)" (?WinMain@@$$J216YGHPAUHINSTANCE__@@0PADH@Z) C:\Users\Simon\Programme\DirectX\DirectXSample1\DirectXSample1\DirectXSample1.obj DirectXSample1

I do not understand where the problem is. I tried to copy the code from the site and only change the property that allows software rendering.

Does anyone has a idea where this could be come from (the code is, besides this one changed flag, the same as on this site)?

PARTNERS