   [MDX] PC Crash when I set my index buffer to Integer
  It's weird... if i switch my prog from short to int, my computer freeze.. after it's blackscreen and finally, Reboot by itself or not.. some time i have to reset it myself.Anyone know why?[Edit]I tested with a small code and it crash on the line:device.DrawIndexedPrimitives(PrimitiveType.TriangleList, 0, 0, 5, 0, 2);I really don't understand...   
  Well, some more code on how you create your index buffers would help us understand your problem better, as the line you posted depends on that code. My guess is that either your Graphics card doesn't support 32bit indices (though I don't know if that is common) or that something is wrong with the indices themselves... I've had the latter happen on me a few times before, with the exact same results.Either way, more code and/or info on your video card would be useful.   ;  Video card on this computer is a Radeon 7000 ... The application need to work on low spec computers...I think it's the video card..Quote:ADEON 7000 SERIESCapabilities: PixelShaderCaps: NumberInstructionSlots: 0StaticFlowControlDepth: 0NumberTemps: 0DynamicFlowControlDepth: 0SupportsNoTextureInstructionLimit: FalseSupportsNoDependentReadLimit: FalseSupportsGradientInstructions: FalseSupportsArbitrarySwizzle: FalseSupportsPredication: FalseMaxDynamicFlowControlDepth: 24MinDynamicFlowControlDepth: 0MaxNumberTemps: 32MinNumberTemps: 12MaxStaticFlowControlDepth: 4MinStaticFlowControlDepth: 0MaxNumberInstructionSlots: 512MinNumberInstructionSlots: 96VertexShaderCaps: StaticFlowControlDepth: 0NumberTemps: 0DynamicFlowControlDepth: 0SupportsPredication: FalseMaxDynamicFlowControlDepth: 24MinDynamicFlowControlDepth: 0MaxNumberTemps: 32MinNumberTemps: 12MaxStaticFlowControlDepth: 4MinStaticFlowControlDepth: 1MaxPixelShader30InstructionSlots: 0MaxVertexShader30InstructionSlots: 0PixelShaderVersion: 0.0VertexShaderVersion: 1.1DeclTypes: SupportsFloat16Four: FalseSupportsFloat16Two: FalseSupportsDec3N: FalseSupportsUDec3: FalseSupportsUShort4N: FalseSupportsUShort2N: FalseSupportsShort4N: FalseSupportsShort2N: FalseSupportsUByte4N: FalseSupportsUByte4: TrueVertexProcessingCaps: SupportsNoTextureGenerationNonLocalViewer: FalseSupportsTextureGenerationSphereMap: FalseSupportsTweening: TrueSupportsLocalViewer: TrueSupportsPositionalLights: TrueSupportsDirectionalLights: TrueSupportsMaterialSource: TrueSupportsTextureGeneration: TrueVertexFormatCaps: SupportsPointSize: TrueSupportsDoNotStripElements: FalseSupportsTextureCoordinateCountMask: TrueTextureOperationCaps: SupportsLerp: TrueSupportsMultiplyAdd: TrueSupportsDotProduct3: TrueSupportsBumpEnvironmentMapLuminance: FalseSupportsBumpEnvironmentMap: TrueSupportsModulateInvColorAddAlpha: TrueSupportsModulateInvAlphaAddColor: TrueSupportsModulateColorAddAlpha: TrueSupportsModulateAlphaAddColor: TrueSupportsPreModulate: FalseSupportsBlendCurrentAlpha: TrueSupportsBlendTextureAlphaPM: TrueSupportsBlendFactorAlpha: TrueSupportsBlendTextureAlpha: TrueSupportsBlendDiffuseAlpha: TrueSupportsAddSmooth: TrueSupportsSubtract: TrueSupportsAddSigned2X: TrueSupportsAddSigned: TrueSupportsAdd: TrueSupportsModulate4X: TrueSupportsModulate2X: TrueSupportsModulate: TrueSupportsSelectArgument2: TrueSupportsSelectArgument1: TrueSupportsDisable: TrueStencilCaps: SupportsTwoSided: FalseSupportsDecrement: TrueSupportsIncrement: TrueSupportsInvert: TrueSupportsDecrementSaturation: TrueSupportsIncrementSaturation: TrueSupportsReplace: TrueSupportsZero: TrueSupportsKeep: TrueVolumeTextureAddressCaps: SupportsMirrorOnce: TrueSupportsIndependentUV: TrueSupportsBorder: FalseSupportsClamp: TrueSupportsMirror: TrueSupportsWrap: TrueTextureAddressCaps: SupportsMirrorOnce: TrueSupportsIndependentUV: TrueSupportsBorder: FalseSupportsClamp: TrueSupportsMirror: TrueSupportsWrap: TrueVolumeTextureFilterCaps: SupportsMinifyGaussianQuad: FalseSupportsMinifyPyramidalQuad: FalseSupportsMagnifyGaussianQuad: FalseSupportsMagnifyPyramidalQuad: FalseSupportsMagnifyAnisotropic: FalseSupportsMagnifyLinear: TrueSupportsMagnifyPoint: TrueSupportsMipMapLinear: FalseSupportsMipMapPoint: FalseSupportsMinifyAnisotropic: FalseSupportsMinifyLinear: TrueSupportsMinifyPoint: TrueCubeTextureFilterCaps: SupportsMinifyGaussianQuad: FalseSupportsMinifyPyramidalQuad: FalseSupportsMagnifyGaussianQuad: FalseSupportsMagnifyPyramidalQuad: FalseSupportsMagnifyAnisotropic: FalseSupportsMagnifyLinear: TrueSupportsMagnifyPoint: TrueSupportsMipMapLinear: FalseSupportsMipMapPoint: FalseSupportsMinifyAnisotropic: FalseSupportsMinifyLinear: TrueSupportsMinifyPoint: TrueTextureFilterCaps: SupportsMinifyGaussianQuad: FalseSupportsMinifyPyramidalQuad: FalseSupportsMagnifyGaussianQuad: FalseSupportsMagnifyPyramidalQuad: FalseSupportsMagnifyAnisotropic: FalseSupportsMagnifyLinear: TrueSupportsMagnifyPoint: TrueSupportsMipMapLinear: TrueSupportsMipMapPoint: TrueSupportsMinifyAnisotropic: TrueSupportsMinifyLinear: TrueSupportsMinifyPoint: TrueVertexTextureFilterCaps: SupportsMinifyGaussianQuad: FalseSupportsMinifyPyramidalQuad: FalseSupportsMagnifyGaussianQuad: FalseSupportsMagnifyPyramidalQuad: FalseSupportsMagnifyAnisotropic: FalseSupportsMagnifyLinear: FalseSupportsMagnifyPoint: FalseSupportsMipMapLinear: FalseSupportsMipMapPoint: FalseSupportsMinifyAnisotropic: FalseSupportsMinifyLinear: FalseSupportsMinifyPoint: FalseStretchRectangleFilterCaps: SupportsMinifyGaussianQuad: FalseSupportsMinifyPyramidalQuad: FalseSupportsMagnifyGaussianQuad: FalseSupportsMagnifyPyramidalQuad: FalseSupportsMagnifyAnisotropic: FalseSupportsMagnifyLinear: FalseSupportsMagnifyPoint: FalseSupportsMipMapLinear: FalseSupportsMipMapPoint: FalseSupportsMinifyAnisotropic: FalseSupportsMinifyLinear: FalseSupportsMinifyPoint: FalseTextureCaps: SupportsNoProjectedBumpEnvironment: FalseSupportsVolumeMapPower2: TrueSupportsCubeMapPower2: TrueSupportsMipCubeMap: FalseSupportsMipVolumeMap: FalseSupportsMipMap: TrueSupportsVolumeMap: TrueSupportsCubeMap: TrueSupportsProjected: TrueSupportsNonPower2Conditional: TrueSupportsAlphaPalette: FalseSupportsTextureRepeatNotScaledBySize: TrueSupportsSquareOnly: FalseSupportsAlpha: TrueSupportsPower2: TrueSupportsPerspective: TrueNumberOfAdaptersInGroup: 1AdapterOrdinalInGroup: 0MasterAdapterOrdinal: 0MaxVertexShaderConst: 192MaxSimultaneousTextures: 3MaxTextureBlendStages: 8ShadeCaps: SupportsFogGouraud: TrueSupportsAlphaGouraudBlend: TrueSupportsSpecularGouraudRgb: TrueSupportsColorGouraudRgb: TrueLineCaps: SupportsAntiAlias: TrueSupportsFog: TrueSupportsAlphaCompare: TrueSupportsBlend: TrueSupportsZBufferTest: TrueSupportsTextureMapping: TrueNumberSimultaneousRts: 1PixelShader1xMaxValue: 0MaxStreamStride: 252MaxStreams: 12MaxVertexIndex: 65535MaxPrimitiveCount: 65535MaxPointSize: 256MaxVertexBlendMatrixIndex: 37MaxVertexBlendMatrices: 4MaxUserClipPlanes: 6MaxActiveLights: 8ExtentsAdjust: 0GuardBandBottom: 0GuardBandRight: 0GuardBandTop: 0GuardBandLeft: 0MaxVertexW: 1E+10MaxAnisotropy: 16MaxTextureAspectRatio: 2048MaxTextureRepeat: 2048MaxVolumeExtent: 256MaxTextureHeight: 2048MaxTextureWidth: 2048DestinationBlendCaps: SupportsBlendFactor: FalseSupportsBothInverseSourceAlpha: TrueSupportsBothSourceAlpha: TrueSupportsSourceAlphaSat: FalseSupportsInverseDestinationColor: TrueSupportsDestinationColor: TrueSupportsInverseDestinationAlpha: TrueSupportsDestinationAlpha: TrueSupportsInverseSourceAlpha: TrueSupportsSourceAlpha: TrueSupportsInverseSourceColor: TrueSupportsSourceColor: TrueSupportsOne: TrueSupportsZero: TrueSourceBlendCaps: SupportsBlendFactor: FalseSupportsBothInverseSourceAlpha: TrueSupportsBothSourceAlpha: TrueSupportsSourceAlphaSat: TrueSupportsInverseDestinationColor: TrueSupportsDestinationColor: TrueSupportsInverseDestinationAlpha: TrueSupportsDestinationAlpha: TrueSupportsInverseSourceAlpha: TrueSupportsSourceAlpha: TrueSupportsInverseSourceColor: TrueSupportsSourceColor: TrueSupportsOne: TrueSupportsZero: TrueAlphaCompareCaps: SupportsAlways: TrueSupportsGreaterEqual: TrueSupportsNotEqual: TrueSupportsGreater: TrueSupportsLessEqual: TrueSupportsEqual: TrueSupportsLess: TrueSupportsNever: TrueZCompareCaps: SupportsAlways: TrueSupportsGreaterEqual: TrueSupportsNotEqual: TrueSupportsGreater: TrueSupportsLessEqual: TrueSupportsEqual: TrueSupportsLess: TrueSupportsNever: TrueRasterCaps: SupportsMultisampleToggle: FalseSupportsDepthBias: TrueSupportsSlopeScaleDepthBias: TrueSupportsScissorTest: TrueSupportsColorPerspective: FalseSupportsZFog: FalseSupportsWFog: FalseSupportsWBuffer: FalseSupportsAnisotropy: TrueSupportsFogRange: TrueSupportsZBufferLessHsr: FalseSupportsMipMapLevelOfDetailBias: TrueSupportsFogTable: FalseSupportsFogVertex: TrueSupportsZBufferTest: TrueSupportsDither: TruePrimitiveMiscCaps: HasFogVertexClamped: TrueSupportsMultipleRenderTargetsPostPixelShaderBlending: FalseSupportsMultipleRenderTargetsIndependentBitDepths: FalseSupportsSeparateAlphaBlend: FalseSupportsFogAndSpecularAlpha: FalseSupportsPerStageConstant: FalseSupportsIndependentWriteMasks: FalseIsNullReference: FalseSupportsBlendOperation: FalseSupportsTextureStageStateArgumentTemp: TrueSupportsClipTransformedVertices: FalseSupportsClipPlaneScaledPoints: FalseSupportsColorWrite: TrueSupportsCullCounterClockwise: TrueSupportsCullClockwise: TrueSupportsCullNone: TrueSupportsMaskZ: TrueDeviceCaps: VertexElementScanSharesStreamOffset: TrueCanStretchRectangleFromTextures: TrueSupportsAdaptiveTessellateNPatch: FalseSupportsAdaptiveTessellateRtPatch: FalseSupportsDMapNPatch: FalseSupportsStreamOffset: TrueSupportsPreSampledDMapNPatch: FalseSupportsNPatches: FalseSupportsRtPatchHandleZero: FalseSupportsRtPatches: FalseSupportsQuinticRtPatches: FalseSupportsPureDevice: TrueSupportsHardwareRasterization: TrueCanDrawSystemToNonLocal: TrueSupportsHardwareTransformAndLight: TrueSupportsDrawPrimitives2Ex: TrueSupportsSeparateTextureMemories: FalseSupportsDrawPrimitives2: TrueSupportsTextureNonLocalVideoMemory: TrueCanRenderAfterFlip: TrueSupportsDrawPrimitivesTransformedVertex: TrueSupportsTextureVideoMemory: TrueSupportsTextureSystemMemory: FalseSupportsTransformedVertexVideoMemory: TrueSupportsTransformedVertexSystemMemory: TrueSupportsExecuteVideoMemory: TrueSupportsExecuteSystemMemory: TrueCursorCaps: SupportsLowResolution: FalseSupportsColor: TruePresentationIntervals: -2147483647DriverCaps: SupportsCopyToSystemMemory: TrueSupportsCopyToVideoMemory: TrueSupportsLinearToSrgbPresentation: FalseSupportsAlphaFullscreenFlipOrDiscard: TrueCanAutoGenerateMipMap: TrueSupportsDynamicTextures: TrueCanManageResource: FalseCanCalibrateGamma: FalseSupportsFullscreenGamma: TrueReadScanLine: TrueAdapterOrdinal: 0DeviceType: HardwareMaxNPatchTessellationLevel: 0My code:private int[] indices;private IndexBuffer ib;private void IndicesDeclaration(){ib = new IndexBuffer(typeof(int), 6, device, Usage.WriteOnly, Pool.Default);indices = new int[6];indices[0]=3;indices[1]=1;indices[2]=0;indices[3]=4;indices[4]=2;indices[5]=1;ib.SetData(indices, 0, LockFlags.None);}protected override void OnPaint(System.Windows.Forms.PaintEventArgs e){device.Clear(ClearFlags.Target, Color.DarkSlateBlue , 1.0f, 0); device.BeginScene();device.VertexFormat = CustomVertex.PositionColored.Format;device.SetStreamSource(0, vb, 0);device.Indices = ib;//device.DrawIndexedPrimitives(PrimitiveType.TriangleList, 0, 0, 5, 0, 2);device.EndScene();device.Present();this.Invalidate();angle += 0.05f;};  I confirm.. it's the video card!MaxVertexIndex: 65535MaxPrimitiveCount: 65535= 16 bit!!! DamnIs there a way to see wich video cards support 32 bits ?   ;Quote:Is there a way to see wich video cards support 32 bits ?Check out the "Graphics Card Capabilities" sample in the SDK Samplebrowser... Unforunately it got hidden away in the C++ section as a sample, so you'll have to check 'C++' and 'Samples' in the browser to see it. This contains a list of much hardware available today with all the capabilities it has for DirectX.   ;  Ok! Thanks :)   