DirectX

Moderators: Sephiroth
Number of threads: 113
Number of posts: 184

This Forum Only
Post New Thread
Single Post View       Linear View       Threaded View      f

Report
DirectX and WPF Posted by ramya987 on 15 Dec 2009 at 10:34 AM
Hi,

I am trying to develop an application where the UI part is designed by WPF and the engine is developed using C++.
I am trying to render a scene using DirectX in native code by getting the window's handle from WPF using WindowsFormsHost method.

Though i do not get any error, no image renders on the screen.

As far as the handle is concerned, I dont see a problem because when i render the scene using OpenGL using the same handle in native code, it works properly.

As far as the initialization part and rendering part is concerned, I dont see a problem because the same part of code works fine in a separate Win32 project.

What might be the cause of this problem?
The version of DirectX being used is DirectX10 and OS used is Vista.

Thanks in advance.



 

Recent Jobs

Official Programmer's Heaven Blogs
Web Hosting | Browser and Social Games | Gadgets

Popular resources on Programmersheaven.com
Assembly | Basic | C | C# | C++ | Delphi | Flash | Java | JavaScript | Pascal | Perl | PHP | Python | Ruby | Visual Basic
© Copyright 2011 Programmersheaven.com - All rights reserved.
Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
Operated by CommunityHeaven, a BootstrapLabs company.