CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Sep 2009
    Posts
    32

    Unhappy Direct2D - What am I doing wrong?

    Hi, I'm a total noob so the answer may be very simple. I've attached a zip with a header and cpp file and just want to know what I'm doing wrong.

    I'm just trying to simply render "white" with Direct2D onto a GDI DC.

    It's compiles fine but crashes instantly.

    Thanks in advance.
    Attached Files Attached Files

  2. #2
    Join Date
    Sep 2009
    Posts
    32

    Re: Direct2D - What am I doing wrong?

    Don't worry, I fixed it. I just made my factory and render target stuff etc. in the global scope instead of being in a class. Seems fine, but it won't cause any issues later on will it?

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured