logo back up home forward   further reading more topics »

mjbWorld program - .NET Specific

Use of ActiveX component

mjbWorld is written in Java, I find this the best programming environment. However it can be difficult to deploy, users have to muck about with class paths etc and have to do large downloads for Java2 and java3D.

In order to have a version that is easier for Microsoft users to deploy, I am also writing a .NET version of mjbWorld. This is in addition to the Java version, it is completely separate from it, and it does not replace it.

There is not yet a version of .NET which supports OpenGL yet, there is an open source wrapper for openGL (see message from Per Willenius). I had not discovered this when I wrote my program so I encapsulated openGL in an activeX control as shown on this page.

This control can then be called from a Managed C++, C# or Visual Basic NET as an AxHost class which can be included on your forms.

This is not a very efficient solution as it is only a 'thin' wrapper. Unlike Java3D it does not hold the complete scene. This means that, using this wrapper that, every OpenGL method called in every frame has to pass through the activeX interface.

Deploying the .NET application

Information at Microsoft website

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnnetdep/html/redistdeploy.asp
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dv_vstechart/html/vstchDeployment.asp

 


metadata block
see also:
Correspondence about this page Per Willenius

Book Shop - Further reading.

Where I can, I have put links to Amazon for books that are relevant to the subject, click on the appropriate country flag to get more details of the book or to buy it from them.

cover Introduction to 3D Game Engine Design Using DirectX 9 and C# (Net Developer)

cover This explains how to program using the managed extensions to C++.

other .NET books

Commercial Software Shop

Where I can, I have put links to Amazon for commercial software, not directly related to this site, but related to the subject being discussed, click on the appropriate country flag to get more details of the software or to buy it from them.

cover Visual C++ .NET for Microsoft Platforms only.

Can you help?

Please send me any improvements to here. I would appreciate ideas to make the pages more useful including error correction, ideas for new pages, improvements to wording. It helps if you quote the full URL of the page.

 

progam

I am working on a project which uses these principles, if you would like to help me with this you are welcome to join in, here:

http://sourceforge.net/projects/mjbworld/

This site may have errors. Don't use for critical systems.

Copyright (c) 1998-2008 Martin John Baker - All rights reserved - privacy policy.