Skip to main content
gamedev.net
🔒 Locked

SharpDevelop & DX9?

Started by aker_jus 4 replies 250+ views
Original Post
aker_jus
aker_jus
Is it possible? I don''t have the whole Visual Studio 7, I have VS6, but I have the NET Framework So could I use the above combination to try DX9 and C#?
GraphicsWare|RenderTechhttp://www.graphicsware.com3D Graphics & Solutions
yzzid
yzzid
Yes.

I am using Sharp Develop at work since I only have Visual Studio .NET at home and it works pretty well. The only thing I found is I had to comment out the line where it creates the Icon in the C# DX9 tutorials to get them to work. There may be other problems too but that is the only one I have encountered so far.

-dizzy

[edited by - yzzid on January 11, 2003 6:43:09 PM]
-dizzyGame Institute InternPlease rate me. :)
aker_jus
aker_jus
Cool then. I have a question, which will probably be wrong, but anyway:

Lets say I have created a Win32 dll in vc++6, can I use this from C# or VB.NET??
GraphicsWare|RenderTechhttp://www.graphicsware.com3D Graphics & Solutions
yzzid
yzzid
I believe that only works if you are using COM objects in your DLL.

-dizzy
-dizzyGame Institute InternPlease rate me. :)
Arild Fines
Arild Fines
You can also use standard C-style exported functions through P/Invoke. Look into the DllImport attribute.

Using C++ classes is pretty much a no-go, though.



"The fact that a believer is happier than a skeptic is no more to the point than the fact that a drunken man is happier than a sober one." -- George Bernhard Shaw
--AnkhSVN - A Visual Studio .NET Addin for the Subversion version control system.[Project site] [IRC channel] [Blog]
aker_jus
aker_jus
K, thats what I needed to know
GraphicsWare|RenderTechhttp://www.graphicsware.com3D Graphics & Solutions

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.