vb.net and DirectX

P

Poldie

I thought it would be fun to try and learn about vb.net by writing a
DirectX game. It seems that the .net languages should compile to very
similar code, so that there'd be little difference which language to
use in terms of speed of execution. But it seems that there's some
problem with using vb, and that only c# has samples in the SDK. Is it
possible to use the 2005 version of VB to write a directx game, and if
so, why are there so few references to this on the net?

Cheers.
 
C

Cor Ligthert [MVP]

Poldie,
Is it
possible to use the 2005 version of VB to write a directx game, and if
so, why are there so few references to this on the net?
Because the Microsoft DirectX team is probably not able to do things for
..Net, what I have seen in that is in my idea from a very low level.

They do still everything in C++, the samples I have seen for C# are as well
not in the same amount as for C++ while the C# samples are easily to throw
in a converter to make it (very bad) VBNet code.

Cor
 
P

Poldie

Cor said:
Poldie,

Because the Microsoft DirectX team is probably not able to do things for
.Net, what I have seen in that is in my idea from a very low level.

They do still everything in C++, the samples I have seen for C# are as well
not in the same amount as for C++ while the C# samples are easily to throw
in a converter to make it (very bad) VBNet code.

ok, thanks. But can a programmer using vb or c# under the .net
framework access all of DirectX? Or is some of it out of bounds? If
..net sort of wraps the underlying OS so that all of Windows is
accessible from it then the answer would be yes, but I'm not sure if
that's the case, or that even if it were the case whether it would be
true for DirectX.
 
G

GhostInAK

Hello Poldie,

Of the samples that come with the DX9 SDK ~80% are written in VB.NET as well
as C#. There is an option in the samples explorer application to filer for
VB and/or c# samples.

-Boo
 
P

Poldie

Hello Poldie,
Of the samples that come with the DX9 SDK ~80% are written in VB.NET as well
as C#. There is an option in the samples explorer application to filer for
VB and/or c# samples.

Thanks, I'll take a look.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top