Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Dark GDK .NET / The DarkGDK.Net FAQ

Years of Service
User Offline
Joined: 4th Nov 2005
Location: Norway
Posted: 9th Feb 2009 18:29 Edited at: 10th Feb 2009 16:12

Just tought it would be a good idea to have a FAQ for both, beginners and advanced users. So I'll update this thread when we get a "FQ" and add a "A" to it


1. Workaround for the keyboard-input.

Thanks to code master.

2. Does DarkGDK.Net support DarkPhysics, DarkAI, and other TGC DLLs?
- No, not yet, but it hopefully will in the future.

3. Getting a pointer to the DirectX Device in DarkGDK.Net
- VB.Net

- C#.Net

Remember to add a reference to the DirectX lib or it dosn't work.

Thanks to MoomanFL

4. How to extend DarkGDK.Net
- If you want to extend it with using DirectX directly you should use SlimDX. Thus for two reasons;
1. Managed DirectX is no longer supported by Microsoft.
2. SlimDX is pretty easy to use.
3. XNA does not have a IntPtr constructor to use this.

Thanks to kBessa

Is it possible to have DarkGDK.Net in a application without using a viewport?
Yes, the template can be found here. EMail me if the server is slow(peder[ at ]

Thanks to Niels Henriksen


- Usefull plugins like support for XBox 360 controllers, and more.

Got a idea for what more that needs to be added?
Tell me [b]

Years of Service
User Offline
Joined: 8th Nov 2006
Location: Manaus, Amazonas, Brazil
Posted: 9th Feb 2009 21:13
One thing to mention though, is that Managed DirectX has been deprecated and is not supported by MS anymore. Unfortunately, XNA does not have a IntPtr constructor to use this.

Anyone wanting to extend DarkGDK.NET may use SlimDX as it is getting far more advanced everyday and, IMHO, may be used instead of MDX.

Niels Henriksen
Years of Service
User Offline
Joined: 27th Sep 2004
Location: Behind you breathing heavely
Posted: 10th Feb 2009 12:05
DarkGDK.NET application without viewport.... only in VB so far.

Niels Henriksen
if Microsoft can sell software with bugs, so can I.


Login to view attachments
Years of Service
User Offline
Joined: 4th Nov 2005
Location: Norway
Posted: 10th Feb 2009 21:53
Is that okey? Tell me if you want me to do something differently.

Years of Service
User Offline
Joined: 16th Feb 2009
Location: USA
Posted: 17th Feb 2009 01:20

I am a beginner C# programmer. I am familiar enough with Visual C# Express Edition 2008 to make a simple Windows Form or WPF Application (nothing too grandiose). And I know how to use 3DS Max.

I want to make a very simple 3D game for my daughter. I can't find a book on how to use DarkGDK.NET C# anywhere! No tutorials. Nothing. Someone please help! I am not at all familiar with Game creation or how to use the DarkGDK.NET libraries for C#. Is there a website I could go to, or book I could purchase?

~ Mr. Not Sure How to Start

~PFC Wedekind

Login to post a reply

Server time is: 2023-09-25 05:18:25
Your offset time is: 2023-09-25 05:18:25