No, I am not talking about the point that there are no more VB.NET samples in the new 9.0c SDK. I even like the fact that they are now concentrating on one language to have more examples, so please keep up the good work and give us more manged DirectX stuff (I want to see more managed examples then C++ stuff).
I mean the following thing in the Font Class (Which is used also in GUI example) :
Public Function DrawText( _
ByVal sprite As Sprite, _
ByVal text As String, _
ByVal rect As Rectangle, _
ByVal format As DrawTextFormat, _
ByVal color As Color _
) As Integer
Or
Public Function DrawText( _
ByVal sprite As Sprite, _
ByVal text As String, _
ByRef rect As Rectangle, _
ByVal format As DrawTextFormat, _
ByVal color As Color _
) As Integer
Which differs only in the rect Value which is one time byval and one time byref so I am getting a "not most specific" error when I want to compile. I am still able to DrawText by another function call but then it is not possible to use the DrawTextFormat for formatting the text :-( .
So does anyone know a way to specify which way I want to call in VB.net or is it really a design flaw ?!?!