Click here to Skip to main content
15,910,118 members
Home / Discussions / Managed C++/CLI
   

Managed C++/CLI

 
GeneralRe: problem Pin
Anonymous5-Oct-04 15:27
Anonymous5-Oct-04 15:27 
GeneralRe: problem Pin
Christian Graus5-Oct-04 15:38
protectorChristian Graus5-Oct-04 15:38 
GeneralRe: problem Pin
toxcct5-Oct-04 21:13
toxcct5-Oct-04 21:13 
GeneralRe: problem Pin
Anonymous6-Oct-04 4:11
Anonymous6-Oct-04 4:11 
GeneralRe: problem Pin
R.Pincince13-Oct-04 5:10
R.Pincince13-Oct-04 5:10 
GeneralProject settings Pin
Jose Vicente5-Oct-04 5:41
Jose Vicente5-Oct-04 5:41 
GeneralA CHALLENGE Pin
tobermori4-Oct-04 15:36
tobermori4-Oct-04 15:36 
GeneralDirectX 9 SDK (Summer 2004) Pin
pauldomag3-Oct-04 6:23
pauldomag3-Oct-04 6:23 
Hi to All,

I have a program in Managed VC++ and I want to add some Graphical Routine to
it. I have seen the C# code and its quite similar to Managed C++. All
functionalities in C# i could use in MVC++ except Managed DirectX. I always
get a compiler error, when all im just trying to do is create a device eg:

Microsoft::DirectX::Direct3D::Device* device;
...
PresentParameters* dxParams = new PresentParameters();
dxParams->SwapEffect = SwapEffect::Discard;
dxParams->Windowed = true;
device = new Device(0, DeviceType::Hardware, this, CreateFlags::SoftwareVertexProcessing, dxParams);

Can Managed DirectX SDK Summer 2004 be used in MVC++ 2003?

Please help me out on this coz im quite desperate...

Here's the error code:
error C3635:
'Microsoft.DirectX.PrivateImplementationDetails::IDirect3DDevice9': undefined
native type used in 'Microsoft::DirectX::Direct3D::Device'; imported native
types must be defined in the importing source code
did you forget to include a header file?

(NOTE: I've already included all the necessary assemblies)

cheers Smile | :)

--
Paul June A. Domag
nth geographics and geometrics

GeneralRe: DirectX 9 SDK (Summer 2004) Pin
Christian Graus5-Oct-04 15:41
protectorChristian Graus5-Oct-04 15:41 
GeneralRe: DirectX 9 SDK (Summer 2004) Pin
pauldomag5-Oct-04 22:59
pauldomag5-Oct-04 22:59 
GeneralRe: DirectX 9 SDK (Summer 2004) Pin
Christian Graus6-Oct-04 9:33
protectorChristian Graus6-Oct-04 9:33 
GeneralRe: DirectX 9 SDK (Summer 2004) Pin
pauldomag7-Oct-04 6:41
pauldomag7-Oct-04 6:41 
GeneralRe: DirectX 9 SDK (Summer 2004) Pin
Christian Graus7-Oct-04 9:55
protectorChristian Graus7-Oct-04 9:55 
GeneralRe: DirectX 9 SDK (Summer 2004) Pin
pauldomag8-Oct-04 7:36
pauldomag8-Oct-04 7:36 
GeneralDirectX bouncing cube Pin
guissella2-Oct-04 19:44
guissella2-Oct-04 19:44 
Generalautoselect in another List box Pin
PankajMishra2-Oct-04 17:26
PankajMishra2-Oct-04 17:26 
GeneralThreading Pin
jblau2-Oct-04 14:54
jblau2-Oct-04 14:54 
GeneralRe: Threading Pin
David Moody7-Oct-04 4:13
David Moody7-Oct-04 4:13 
QuestionListbox: How to ensure that last item added is visible? Pin
jblau2-Oct-04 12:53
jblau2-Oct-04 12:53 
AnswerRe: Listbox: How to ensure that last item added is visible? Pin
BAIJUMAX3-Oct-04 1:35
professionalBAIJUMAX3-Oct-04 1:35 
GeneralRe: Listbox: How to ensure that last item added is visible? Pin
jblau3-Oct-04 7:43
jblau3-Oct-04 7:43 
AnswerRe: Listbox: How to ensure that last item added is visible? Pin
AnsGe4-Oct-04 3:03
AnsGe4-Oct-04 3:03 
GeneralRe: Listbox: How to ensure that last item added is visible? Pin
jblau4-Oct-04 4:10
jblau4-Oct-04 4:10 
Generalwindows forms Pin
BlackDice1-Oct-04 6:21
BlackDice1-Oct-04 6:21 
GeneralRe: windows forms Pin
BAIJUMAX1-Oct-04 20:46
professionalBAIJUMAX1-Oct-04 20:46 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.