Click here to Skip to main content
15,886,873 members
Articles / Desktop Programming / MFC

Miner3D_viewer ActiveX control (for Miner3D game)

Rate me:
Please Sign up or sign in to vote.
4.33/5 (6 votes)
25 Feb 2004CPOL3 min read 72.2K   4.5K   24  
A solution for writing game 3D using VC combined with VB.
========================================================================
		ActiveX Control DLL : MINER3D_VIEWER
========================================================================

ControlWizard has created this project for your MINER3D_VIEWER ActiveX Control
DLL, which contains 1 control.

This skeleton project not only demonstrates the basics of writing an
ActiveX Control, but is also a starting point for writing the specific
features of your control.

This file contains a summary of what you will find in each of the files
that make up your MINER3D_VIEWER ActiveX Control DLL.

Miner3D_viewer.dsp
    This file (the project file) contains information at the project level and
    is used to build a single project or subproject. Other users can share the
    project (.dsp) file, but they should export the makefiles locally.

Miner3D_viewer.h
	This is the main include file for the ActiveX Control DLL.  It
	includes other project-specific includes such as resource.h.

Miner3D_viewer.cpp
	This is the main source file that contains code for DLL initialization,
	termination and other bookkeeping.

Miner3D_viewer.rc
	This is a listing of the Microsoft Windows resources that the project
	uses.  This file can be directly edited with the Visual C++ resource
	editor.

Miner3D_viewer.def
	This file contains information about the ActiveX Control DLL that
	must be provided to run with Microsoft Windows.

Miner3D_viewer.clw
	This file contains information used by ClassWizard to edit existing
	classes or add new classes.  ClassWizard also uses this file to store
	information needed to generate and edit message maps and dialog data
	maps and to generate prototype member functions.

Miner3D_viewer.odl
	This file contains the Object Description Language source code for the
	type library of your control.

/////////////////////////////////////////////////////////////////////////////
Miner3D_viewer control:

Miner3D_viewerCtl.h
	This file contains the declaration of the CMiner3D_viewerCtrl C++ class.

Miner3D_viewerCtl.cpp
	This file contains the implementation of the CMiner3D_viewerCtrl C++ class.

Miner3D_viewerPpg.h
	This file contains the declaration of the CMiner3D_viewerPropPage C++ class.

Miner3D_viewerPpg.cpp
	This file contains the implementation of the CMiner3D_viewerPropPage C++ class.

Miner3D_viewerCtl.bmp
	This file contains a bitmap that a container will use to represent the
	CMiner3D_viewerCtrl control when it appears on a tool palette.  This bitmap
	is included by the main resource file Miner3D_viewer.rc.

/////////////////////////////////////////////////////////////////////////////
Other standard files:

stdafx.h, stdafx.cpp
	These files are used to build a precompiled header (PCH) file
	named stdafx.pch and a precompiled types (PCT) file named stdafx.obj.

resource.h
	This is the standard header file, which defines new resource IDs.
	The Visual C++ resource editor reads and updates this file.

/////////////////////////////////////////////////////////////////////////////
Other notes:

ControlWizard uses "TODO:" to indicate parts of the source code you
should add to or customize.

/////////////////////////////////////////////////////////////////////////////

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Software Developer (Junior)
Vietnam Vietnam
My subject is Information technology. I like programming and learn more about everything.

Comments and Discussions