-
Apr 21st, 2006, 10:35 AM
#1
Thread Starter
Lively Member
Directx 9.0c in VB
Is there an easy way to use all of the functionality of the directx libraries in visual basic, i need information on how to do this urgently.
More specifically i need to be able to use rotation on objects and use vector opperations
if anyone could help me id be eternally greatfull
thanks
You fear me because I'm different, i pitty you because your all the same.
-
Apr 21st, 2006, 10:36 AM
#2
Re: Directx 9.0c in VB
Directx 9.0c works only in VB.NET
-
Apr 21st, 2006, 10:44 AM
#3
Thread Starter
Lively Member
Re: Directx 9.0c in VB
oh dear, whats the last version of direct x that works in vb?
You fear me because I'm different, i pitty you because your all the same.
-
Apr 21st, 2006, 10:56 AM
#4
-
Apr 21st, 2006, 11:14 AM
#5
Thread Starter
Lively Member
Re: Directx 9.0c in VB
Can you offer any advice on setting VB to work with directx 8 and rotation of objects using directx.
I wanna rotate a shape object by an angle or vector
You fear me because I'm different, i pitty you because your all the same.
-
Apr 21st, 2006, 12:09 PM
#6
Re: Directx 9.0c in VB
Sorry, your gonna have to rely one someone else to help you with that because I don't know any Direct3D... (Only DirectSound)
I only replied to your post because I saw you wanted to use DirectX 9 with VB6, and I know it does not work because I wanted to do use DirectSound with DirectX 9 in VB6, and I could not get it to work.
-
Apr 26th, 2006, 04:33 AM
#7
Addicted Member
Re: Directx 9.0c in VB
http://www.planet-source-code.com/vb...59767&lngWId=1
So its not impossible - just damned difficult. You will find that this won't work anymore because of Microsoft's DLL hell.
They've made countless versions of DX9 - this was made with the DX9 Feb 2005 release I think. I managed to get it working - so if you're actually desperate to get it working you can. You basically make an TypeLibrary yourself like DX8 - or try and get the older DX release.
Im starting to learn OpenGL now, its a lot easier to get working in VB6 than DX9.
Note: OpenGL doesn't support sound though - so you can either use DirectSound8 (supports most of which DS9 now supports) or OpenAL (which I will probably see if its possible to use in vb6). Here's a link to the stuff you need. http://natas8.com/files.html
Feel free to browse in natas8.com - which has several interesting projects going on - VBWolf, VBQuake, GLoom (Guess what, we are ID fans haha) , Monster Freestyle Racing all done with OpenGL & VB6 with some asm optimisations.
Cheers.
Ralph
-
Apr 26th, 2006, 05:42 AM
#8
Fanatic Member
Software languages known:
Qbasic - TI-Basic - Liberty Basic - Visual Basic 6
Software API's known:
Directx 7 and 8
Internet languages, in the process of learning:
HTML - JAVASCRIPT - PHP - CSS - MYSQL - AJAX
-
Apr 26th, 2006, 05:57 AM
#9
Re: Directx 9.0c in VB
How bout my massive DX 2D tutorial in my signature.
I got rotation in there.
-
May 14th, 2006, 05:42 PM
#10
Re: Directx 9.0c in VB
Originally Posted by CVMichael
Directx 9.0c works only in VB.NET
I think you'll find that Dx8vb.dll is the same filename in DirectX 8.0, 8.1 or 9.0c. I run 9.0c and it still works.
Keith
I've been programming with VB for 25 years. Started with VB4 16bit Pro, VB5 Pro, VB6 Pro/Enterprise and now VB3 Pro. But I'm no expert, I'm still learning.
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
|