in vc++.net i found that i could add an activex control from the toolbox
while in the design mode in an
mfc project. the control is brought in alright but neither the classes nor
the header files are generated.
in addition, this seems to work only in the design mode meaning one cannot
use the controls in a
non mfc project!
i will really appreciate any help in this regard as i am currently dead in
the water till i figure this out.
thanks in advance.
kamesh kompella
-k
"kamesh kompella" <kkom...@hotmail.com> wrote in message
news:r7aV8.405238$352.52879@sccrnsc02...
I have used an activex control in my managed vc++ project (with some help
from this list). I had to do this because managed VC++ does not support
OpenGL or Direct3D. Anyway I have explained I how I did it at the following
link:
http://www.martinb.com/mjbWorld/programmersGuide/netSpecific/includeActivex/
index.htm
Martin
"kamesh kompella" <kkom...@hotmail.com> wrote in message
news:r7aV8.405238$352.52879@sccrnsc02...
Whether you are compiling codee as managed code or not, in C++ you can
always directly use any unmanaged C++ header file, DLL and library. Just
include the header file and link with the (import) library and you are good
to go. Including all MS shipped (and third party) OpenGL and FDirectX
libraries that I know of.
If I am misinterpreting your statement as to not being able to use these
technologies in MC++, please give me some more details so we can help you.
Ronald Laeremans
Visual C++ compiler and libraries team
"Martin Baker" <bak...@btinterner.com> wrote in message
news:ag3it7$hm9$1...@helle.btinternet.com...
Yes please, I would appreciate some guidance on the best way to do this.
My program is a VRML editor, it is written in mc++ and uses the .NET
framework class library.
The program uses System::ComponentModel::Container and this contains many
Forms windows containing TreeView, ListView, and also 1 or more 3D windows.
The only way I could find to implement this is to encapsulate the 3D window
as a separate activeX program as described at:
http://www.martinb.com/mjbWorld/programmersGuide/netSpecific/createATL/
I have then added this component to the Form as an AxHost and put this into
the Container.
This is not ideal, as it does not seem very efficient to pass big meshes and
textures through an activeX interface. I would like some other way to mix 3D
windows (OpenGL or direct3D) with .NET forms.
What would you suggest?
Martin
"Ronald Laeremans [MSFT]" <ron...@online.microsoft.com> wrote in message
news:ux01SnSJCHA.2748@tkmsftngp13...