DirectX with other languages
Since Ive only tried to code DirectX with C/C++, Im a bit curious of how you approach it using other languages like C# and VB.
I mean, do you use the exact same COM-objects, but access them differently somehow (since there are no pointers in VB, for instance, and using C++ with COM you use pointers heavily)?
Or do they have some sort of watered-down version the COM-objects, with limited usability?
--------------------
“Beware the leader who bangs the drums of war in order to whip the citizenry into a patriotic fervor, for patriotism is indeed a double-edged sword. It both emboldens the blood, just as it narrows the mind. And when the drums of war have reached a fever pitch and the blood boils with hate and the mind has closed, the leader will have no need in seizing the rights of the citizenry. Rather, the citizenry, infused with fear and blinded by patriotism, will offer up all of their rights unto the leader and gladly so. How do I know? For this is what I have done.
And I am Caesar.”
— Julius Caesar
------------------------Why of course the people don’t want war. ... That is understood. But after all it is the leaders of the country who determine the policy, and it is always a simple matter to drag the people along, whether it is a democracy, or a fascist dictatorship, or a parliament, or a communist dictatorship ...Voice or no voice, the people can always be brought to the bidding of the leaders. That is easy. All you have to do is to tell them they are being attacked, and denounce the pacifists for lack of patriotism and exposing the country to danger. It works the same in any country. [Herman Goering]
in C# or VB.NET you use Managed DirectX which is just a fancy word for the DirectX .NET class library. The .NET classes are slightly different than the COM interfaces. I think they look a bit more polished overall but they are severely lacking documentation on this release.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement