Jump to content

Check out our Community Blogs

Register and join over 40,000 other developers!

Recent Status Updates

View All Updates

- - - - -

DLL Names in Visual Studio and Namespaces


  • Please log in to reply
No replies to this topic

#1 Drakken255


    CC Lurker

  • Just Joined
  • Pip
  • 4 posts

Posted 03 November 2010 - 11:16 AM

Hi, I want to have a library with a variety of uses across XNA, DirectX, and OpenGL. I figure you can't use multiple languages in one DLL, so I know to make multiple projects. What I don't know is how to modify the resulting DLL names to reflect their platform. For example: SCLibXNA.dll, SCLibDX.dll, and SCLibOGL.dll. Do I simply create a project named one of these? Then, can each platform project use the same namespace dispite the language difference? For example, my library's name is SCLib. Can I have SCLib.Xna, SCLib.DirectX, and SCLib.OpenGL, although XNA's language is C# while DX and OGL are C++?
  • 0

Also tagged with one or more of these keywords: namespace

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download