Grasshopper_NET
Newcomer
- Joined
- Jul 27, 2004
- Messages
- 6
I tried to compile my project in Visual studio .NET with managed c++ and I get this compile error when I try to create my device.
I have checked all the parameters and made sure they are in the correct place. What is wrong?
Thanks, in advance!
I have checked all the parameters and made sure they are in the correct place. What is wrong?
Thanks, in advance!
Code:
Form1.h(100): error C2664: 'Device (int, DeviceType, System::IntPtr, CreateFlags, PresentParameters __gc * __gc[])' : cannot convert parameter 5 from 'Microsoft::DirectX::Direct3D::PresentParameters __gc *' to 'Microsoft::DirectX::Direct3D::PresentParameters __gc * __gc[]'
Last edited by a moderator: