Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

Never tried directx programming before!

 

From conversations, there is the native code and managed directx right?

Perhaps, i cannot comprehend the difference between the native code and managed directx? Please tell me the differences.... and when to use?

 

From the articles in MSDN before in Visual Studio 6, I discovered that we only can have the native code through Visual C++. And i wonder in .net framework, can we write the native code by the use of C# or vb.net?

 

Cause i admit that programming in visual c++ is a pain in the brain, even i do write c++ programs before.... Thanks anyway....

  • Leaders
Posted

Managed DirectX is designed to be run by managed applications, i.e. applications that run on the .Net Framework: VB.Net, C#, J#, and Managed C++ applications. The native DirectX is intended to be run by other applications, which are compiled to native code, like C++ can be.

 

You can not compile to native code with a .Net language. I could be wrong, but I don't think that you can interop with native DirectX through a managed language. You wouldn't really want to anyways. Either stick with VB/C# and managed DirectX, or regular DirectX and C++.

[sIGPIC]e[/sIGPIC]
Posted

What about games like warcraft III, battle Realms, even diablo or like games?

Does this kind of games use the managed directx or ...?

 

Anyways, thanks, I'm still not into this yet, thanks anyway for the advise...

I'm just seeking for references for me to start with...

  • Administrators
Posted

As those games aren't written using managed code they will not be using managed DirectX.

If you are using unmanaged code then you would access directX through the non-managed interface. If you are using managed code then you would use the managed interface.

Posting Guidelines FAQ Post Formatting

 

Intellectuals solve problems; geniuses prevent them.

-- Albert Einstein

Posted

Thanks.... I hope that I could start with direct x programming the soonest... I'm looking forward for more advise and teaching from you...

 

Ieuan

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...