473,651 Members | 3,011 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Managed C++ with DirectX

Hi to all,

I would just like to ask a simple question...
Could Managed DirectX 9 (SDK Summer 2004) be used in MVC++ 2003?
I ask this question coz, I get an error when using Managed DirectX in MVC++.
My routine is very basic, I tend to create a device object using managed
directX and im getting a compiler error:

error C3635:
'Microsoft.Dire ctX.PrivateImpl ementationDetai ls::IDirect3DDe vice9': undefined
native type used in 'Microsoft::Dir ectX::Direct3D: :Device'; imported native
types must be defined in the importing source code
did you forget to include a header file?

I tried using C# and it works perfectly.
Is this one of MVC++ limitiations?
Coz as i understand a .NET assembly (eg. ADO .NET) could be used in all the
VS .NET languages (VB .NET, C#, MVC++)...
If thats the case, then why isn't MVC++ supporting Managed DirectX???

cheers

--
Paul June A. Domag
nth geographics and geometrics
Nov 17 '05 #1
0 1211

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
2382
by: Tom | last post by:
The Microsoft update page scans my computer which has Windos XP Home Edition. The website recommends installing both DirectX 9.0A end-user runtime and Managed DirectX. The problem is I have successfully installed DirectX 9.0A end-user runtime after which the Microsoft update scan comes up with Managed DirectX as a final update needed. Managed DirectX fails to install. It gives a message
2
2921
by: Michael Mayer | last post by:
First of all, sorry for the cross-post. Seems like there should be a managed directx newsgroup. I'm trying to open the following sample application that comes with the DirectX SDK. C:\DXSDK\Samples\C#\AudioVideo\Bin\csAVPlayer.exe It will not play some of the samples shipped with the SDK. It either completey hangs the application (and I have to use Windows Task Manager to kill it) or sometimes it displays an error message. Below...
1
1933
by: The Real Andy | last post by:
This is probably not the most relevant NG for this topic, but if someone could point me to a more relevant NG I would be forever grateful. I am having some issues with the Managed DirectX AudioVideoPlayer namespace. All I am trying to do is play a video file on a secondary video device in full screen. However, as soon as the form on the secondary video looses focus, or as it would seem, the player sets Video.Fullscreen to false. I tried...
0
1966
by: Noel Cower | last post by:
This problem has been bugging me for a bit now: I recently purchased Visual C# 2003 Standard and installed the DirectX 9 SDK (Summer 2004), and got along fairly well looking over the samples and such, but no matter what I try I cannot reference the DirectX assemblies through the Add Reference dialog (I have them copied to another folder on my computer- they're also in 'C:\Windows\assembly\GAC\Microsoft.DirectX*\v*\' , but after reading for...
1
1454
by: Robert Ludewig | last post by:
Hello, I recently started to develop my own little high level, easy to use 3D API on top of managed directx for .net. The idea behind it is having a generic API that lets me create (simpler) 3D-applications in the shortest possible time in .net. It involves implementing things like a node structure for the scenegraph, a console, device configuration manager etc. Just like we know it from other APIs, like java3d or openinventor or from...
3
6267
by: John Hann | last post by:
Hi, A friend of mine is in the process of building a 3d game engine using native DirectX in C++. I would like to contribute to the development of an editor for this engine, but I would prefer to develop it in C#. We've discussed the possibility of creating a COM-based interface to the engine that the editor could use from C#, and I think that would work well for most tasks. However, I'm not quite sure how I would go about developing a...
3
2510
by: Aidan Fraser | last post by:
Hi, Can anyone recommend any decent .NET UI libraries that work Managed DirectX? Preferably with C# source available, but this isn't a must. I'm currently checking out a lib called 'MCDX', which looks relatively comprehensive at first glance. Any other suggestions would be very welcome.
12
1525
by: Greg | last post by:
For all new desktop apps is managed/CLR recommended? I.e. Native MFC/Win32 not recommended in general for new desktop apps? Speaking in general, not referring to exceptions (e.g. drivers) -- Greg McPherran www.McPherran.com
3
1984
by: Robert Hooker | last post by:
Does anyone have any information on when MDX2.0 will come out of Beta? It seems like its been in Beta for a looong time... Rob
0
8361
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8701
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8466
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8584
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
4144
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4290
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2701
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1912
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1588
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.