Click here to Skip to main content
15,890,741 members
Home / Discussions / C#
   

C#

 
GeneralRe: Using Reflection to walk the Object Model Pin
Nick Parker8-Aug-04 6:24
protectorNick Parker8-Aug-04 6:24 
GeneralRe: Using Reflection to walk the Object Model Pin
Tony Antonucci8-Aug-04 6:43
Tony Antonucci8-Aug-04 6:43 
GeneralRe: Using Reflection to walk the Object Model Pin
leppie8-Aug-04 9:37
leppie8-Aug-04 9:37 
GeneralRe: Using Reflection to walk the Object Model Pin
Anonymous8-Aug-04 10:55
Anonymous8-Aug-04 10:55 
GeneralRe: Using Reflection to walk the Object Model Pin
leppie8-Aug-04 11:48
leppie8-Aug-04 11:48 
QuestionSetting Property Classification - Attributes? Pin
Tristan Rhodes8-Aug-04 3:22
Tristan Rhodes8-Aug-04 3:22 
AnswerRe: Setting Property Classification - Attributes? Pin
leppie8-Aug-04 4:28
leppie8-Aug-04 4:28 
GeneralManaged Direct3D won't work Pin
NhImF8-Aug-04 2:53
NhImF8-Aug-04 2:53 
I'm trying to begin programming Managed Direct3D with C#.
But whatever I do it won't work.
Not even the sample projects wich come with the SDK won't run.

The error i get is the following:
An unhandled exception of type 'System.NullReferenceException' occurred in microsoft.directx.direct3d.dll

Additional information: Object reference not set to an instance of an object.

It gives the error on the following statment:
device = new Device(0, DeviceType.Hardware, this, CreateFlags.SoftwareVertexProcessing, presentParams);

If i catch the NullReferenceException and make the program continue as if everything is fine, then i get the message that the program was unable to create a device.

I have installed the managed framework and directx.
DirectDraw seems to work fine cause i can run the sample project wich is included with: Managed DirectX Tutorial Part 1 - The Title Screen (Managed Metroid)

I'm running Windows XP sp2 rc1 with the latest Managed DirectX SDK (summer 2004) and visual studio.net 2003
GeneralRe: Managed Direct3D won't work Pin
leppie8-Aug-04 4:30
leppie8-Aug-04 4:30 
GeneralRe: Managed Direct3D won't work Pin
NhImF8-Aug-04 5:00
NhImF8-Aug-04 5:00 
GeneralRe: Managed Direct3D won't work Pin
leppie8-Aug-04 5:25
leppie8-Aug-04 5:25 
GeneralRe: Managed Direct3D won't work Pin
Alex Korchemniy8-Aug-04 11:50
Alex Korchemniy8-Aug-04 11:50 
GeneralSaving Time from a DataGrid Pin
CarpyDog8-Aug-04 1:41
CarpyDog8-Aug-04 1:41 
GeneralLocation is not a variable Pin
Anonymous7-Aug-04 23:16
Anonymous7-Aug-04 23:16 
GeneralRe: Location is not a variable Pin
leppie7-Aug-04 23:33
leppie7-Aug-04 23:33 
GeneralRe: Location is not a variable Pin
Anonymous8-Aug-04 0:44
Anonymous8-Aug-04 0:44 
GeneralRe: Location is not a variable Pin
leppie8-Aug-04 1:36
leppie8-Aug-04 1:36 
Generalfiltered error Pin
Member 11412667-Aug-04 21:21
Member 11412667-Aug-04 21:21 
GeneralRe: filtered error Pin
leppie7-Aug-04 23:02
leppie7-Aug-04 23:02 
GeneralPointers, Objects, Classes ... Pin
Tambi Ashmoz7-Aug-04 20:36
Tambi Ashmoz7-Aug-04 20:36 
GeneralRe: Pointers, Objects, Classes ... Pin
leppie7-Aug-04 23:29
leppie7-Aug-04 23:29 
GeneralRe: Pointers, Objects, Classes ... Pin
t3rmin4t0r8-Aug-04 1:50
t3rmin4t0r8-Aug-04 1:50 
GeneralRe: Pointers, Objects, Classes ... Pin
softp_vc8-Aug-04 18:50
softp_vc8-Aug-04 18:50 
General.net help for mobole computing Pin
happyshub7-Aug-04 20:36
happyshub7-Aug-04 20:36 
QuestionHow to set display of a column according to its value in DataGrid? Pin
mkomasi7-Aug-04 20:02
mkomasi7-Aug-04 20:02 

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.