|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
vb.net and DirectXI 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. Poldie,
> Is it Because the Microsoft DirectX team is probably not able to do things for > 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? > ..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 Cor Ligthert [MVP] wrote:
> Poldie, ok, thanks. But can a programmer using vb or c# under the .net> > > 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. 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. 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 Show quoteHide quote > Cor Ligthert [MVP] wrote: > >> 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. >> > 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. > > Hello Poldie, Thanks, I'll take a look.> > 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. |
|||||||||||||||||||||||