|
-
Nov 19th, 2002, 08:24 AM
#1
Thread Starter
New Member
.NET and Direct X
Anybody try programming any DirectX in VB .NET?
Just started with DirectX. Downloaded some sample code in VB6 which works fine. .NET will try to translate it into something it can use if you let it. Unfortunately, some of the methods don't seem to exist in .NET.
Does .NET even support DirectX?
-
Nov 19th, 2002, 10:39 AM
#2
I think your best bet will be to wait. Ms are releasing DX version 9 (the next one) which is built for the .net framework for you to use. No ideas when this is out at the moment - you might want to check their site for this...
-
Nov 19th, 2002, 10:44 AM
#3
Thread Starter
New Member
I appreciate that response. I'm a bit too shortsighted to realize that (of course!) a DX9 is coming, and that I should look for it.
I just assumed that .NET would support DirectX outright. Hmm...guess I should practice a bit with DirectX 8.1 with VB6 until then.
Thanks
-
Nov 19th, 2002, 11:33 AM
#4
PowerPoster
You can program with Direct X in .Net. Here is a C# link (you would have to convert from C# to VB.Net)
http://www.c-sharpcorner.com/Directx.asp
-
Nov 19th, 2002, 11:49 AM
#5
Sleep mode
hi , I was programming little stuff using DX.Well , VB.NET still support DX7 & DX8 .
here is a good example using DX in VB.NET
Microsoft Releases Beta Version 1 of DirectX 9.0 , if you want further reading concering this then Click here
Pirate
-
Nov 20th, 2002, 10:16 AM
#6
Thread Starter
New Member
Cudos to HellsWraith, for a very excellent site. Although it's written in C#, it would take time to port it to VB.NET, but not much brainwork. Furthermore, all the code works, unlike...
using VB.NET site, which I spent hours figuring out how to pre-compile the header (sunlight.DirectX.whatever), which still doesn't seem to work. Put the compiled .DLL right in the folder and .NET still can't seem to find it. Gets better. The #import <amvideo.h> statement or something just won't work....NET acts like there is no such thing, though there clearly are 2 instances of this file listed on a search of my system.
I think I had to comment that part out altogether to precompile the header without C++.NET screaming at me.
I notice LOTS of effort on both sides to put wrappers on DirectX. Guess it needed done.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|