Click here to Skip to main content
15,899,313 members
Home / Discussions / Graphics
   

Graphics

 
GeneralRe: Faster drawing in C# application than GDI+ Pin
MikeMarq22-Nov-08 7:48
MikeMarq22-Nov-08 7:48 
GeneralHere's some code Pin
MikeMarq22-Nov-08 7:51
MikeMarq22-Nov-08 7:51 
AnswerRe: Faster drawing in C# application than GDI+ Pin
Alan Balkany18-Nov-08 3:56
Alan Balkany18-Nov-08 3:56 
GeneralRe: Faster drawing in C# application than GDI+ Pin
User 1278220-Nov-08 15:33
User 1278220-Nov-08 15:33 
GeneralRe: Faster drawing in C# application than GDI+ Pin
Luc Pattyn22-Nov-08 9:42
sitebuilderLuc Pattyn22-Nov-08 9:42 
AnswerRe: Faster drawing in C# application than GDI+ Pin
ARon_10-Feb-09 8:19
ARon_10-Feb-09 8:19 
QuestionDirect3DCreate9 question Pin
Pedram Behroozi15-Nov-08 8:38
Pedram Behroozi15-Nov-08 8:38 
AnswerRe: Direct3DCreate9 question Pin
Baltoro16-Nov-08 10:40
Baltoro16-Nov-08 10:40 
In C#, you are using the NET Framework version of DirectX. I don't think you actually reference the DirectX DLLs, you just add the using namespace declarations at the beginning of your source version:

using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using System.Windows.Forms;
using System.Data;
using Microsoft.DirectX;
using Microsoft.DirectX.DirectDraw;


And, the path to the DirectX libraries must be known to the compiler. I program in C++, which allows you to use either managed or unmanaged versions of DirectX; the syntax is slightly different for C++ and C#. There are numerous tutorials for beginning DirectX using the NET Framework on the internet. The DirectX 9 SDK has numerous examples and that's probably the best place to start. Also, there are numerous C# DirectX tutorials right here at Codeproject.
A good introductory article on mamaged DirectX is : HERE at MSDN Magazine[^]
GeneralRe: Direct3DCreate9 question Pin
Pedram Behroozi16-Nov-08 11:22
Pedram Behroozi16-Nov-08 11:22 
GeneralRe: Direct3DCreate9 question Pin
Baltoro20-Nov-08 14:01
Baltoro20-Nov-08 14:01 
GeneralRe: Direct3DCreate9 question Pin
Pedram Behroozi20-Nov-08 22:02
Pedram Behroozi20-Nov-08 22:02 
GeneralRe: Direct3DCreate9 question Pin
Mark Churchill13-Jan-09 18:51
Mark Churchill13-Jan-09 18:51 
QuestionExport to Bitmap. Pin
vinay_K10-Nov-08 1:54
vinay_K10-Nov-08 1:54 
Question[please help]why i cannot render my pic?thks! Pin
kaviniswell7-Nov-08 16:19
kaviniswell7-Nov-08 16:19 
AnswerRe: [please help]why i cannot render my pic?thks! Pin
Baltoro8-Nov-08 9:39
Baltoro8-Nov-08 9:39 
GeneralRe: [please help]why i cannot render my pic?thks! Pin
kaviniswell12-Nov-08 19:30
kaviniswell12-Nov-08 19:30 
AnswerRe: [please help]why i cannot render my pic?thks! Pin
Mark Salsbery9-Nov-08 6:55
Mark Salsbery9-Nov-08 6:55 
QuestionHow to create water ripple in directx? Pin
Md. Ali Naser Khan5-Nov-08 23:00
Md. Ali Naser Khan5-Nov-08 23:00 
AnswerRe: How to create water ripple in directx? Pin
El Corazon7-Nov-08 14:54
El Corazon7-Nov-08 14:54 
QuestionHi there :) Please help me Pin
viashivan5-Nov-08 5:02
viashivan5-Nov-08 5:02 
QuestionSave metafile as bitmap Pin
kildareflare4-Nov-08 23:29
kildareflare4-Nov-08 23:29 
AnswerRe: Save metafile as bitmap Pin
kildareflare5-Nov-08 23:02
kildareflare5-Nov-08 23:02 
QuestionStereo Cameras and OpenCV Pin
MikeMarq4-Nov-08 7:30
MikeMarq4-Nov-08 7:30 
AnswerRe: Stereo Cameras and OpenCV Pin
Tim Craig4-Nov-08 20:01
Tim Craig4-Nov-08 20:01 
GeneralRe: Stereo Cameras and OpenCV Pin
MikeMarq5-Nov-08 5:58
MikeMarq5-Nov-08 5:58 

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.