Library code snippets
DX Beginners Direct Draw using sample
- ReadMe
- Own implementation
ReadMe
I was searching how to make Direct Draw running in windowed mode quite long, so finally when it is complete, I think that it can be useful to show it. It is prepared code, ready to run, when you have installed newest version of .NET, DX, If you have older, you should probably change it's references on your libraries (in Properties of project :). I'm not sure about back compatibility.
Last problem that stays still, and made me to stop developing in dd windowed mode is repainting form under render area: it causes blinking of output, and I couldn't get rid of it, tried override onpaint, onivalidate, tried validate from user32.dll...tried to set other mode of dd... no success. If you have DirectX SDK, there is only windowed example of not cyclic rendering (understand static image, no animation), so SDK doesn't solve this problem.
If you find this resource usefull, have luck, if you find out how to get rid of this last problem with invalidating of form, let me please know, there is an adress of main inside. This demo is the best I screw from resources all over net, and It's minimally week of searching, learning, asking.
Created on DX9, .NET 2, VB Express 2005
Related articles
Related discussion
-
Sharepoint : GroupBy results according to custom property
by sampadasanjay (0 replies)
-
i have struck with my project in vb.net
by jetski (4 replies)
-
Error in VB code
by glib162002 (0 replies)
-
Very slow inserts using SqlCommand.ExecuteNonQuery()
by porchelvi (1 replies)
-
Datagridview Setting datasource property of datagridviewcomboboxcell at run time
by sairfan1 (2 replies)
Related jobs
-
Microsoft .Net Architect
in AMSTERDAM (€50K-€90K per annum)
Events coming up
-
Dec
6
Developing AJAX Web Applications with Castle Monorail
London, United Kingdom
Monorail is the model-view-controller engine of the Castle Project, bringing many of the best ideas of Ruby on Rails to the .NET world. In this talk, David De Florinier and Gojko Adzic show how Monorail makes it easy to develop .NET based AJAX applications, and how to use the Castle Project to build Web 2.0 applications effectively. Come to this session if you are a .NET web developer. Everyone is welcome!
anyway,-
wish you luck with usa. it is *ed situation. i hope it will overgo without dead.
Iran is very nice country.
Hi Matej Kasper,
That was 2 years ago, that I posted the comment. In that time there was just a link in the left of the page (that never worked!) :
But now I see a new link for that file, in 'ReadMe' page of your CodeSample, and it works
:
DOWNLOAD
U updated DDraw demo. Link is ok, file is valid. You can check it if it has some value after two years :)
have a nice day
This thread is for discussions of DX Beginners Direct Draw using sample.