Click to See Complete Forum and Search --> : ActiveX


Chainard Arnaud
June 24th, 1999, 01:56 AM
How incorporated an ActiveX in a DLL ( MFC ).
I have the source of OCX and DLL.

Help me please.

Arnaud

maheshbeniwal
July 2nd, 1999, 08:15 AM
Do u hav any dialog in ur dll ? If yes then Insert your component from component gallery and called create method of ocx and pass dialog as parent window. If you don't have any dialog then create dummy window and pass that as a parent window of ocx .

Chainard Arnaud
July 6th, 1999, 05:27 AM
Thank you, but it's don't work !

I add the ActiveX with Component Gallery and i have an assertion faillure, so i have the activeX container support from the same way and the assertion faillure stop, but the create fonction return FALSE !

Have you an other idea ?

Arnaud,

A++

maheshbeniwal
August 20th, 1999, 01:33 PM
sorry but i could not understand your point here. Let me make it clear here. When u insert activeX into your dll project ( you are using MFC%2

Chainard Arnaud
August 23rd, 1999, 01:18 AM
I create an application base on Dialogue Box ( MFC )
I create a dll ( MFC ) call by the application, in the dll i have a dialog box.
I create Active X ( MFC ), i incorporat it in the dll's dialog box.

I can put all active x in want in the dialog box of the dll by when i create an display the dll's dialog box it's don't work.

I try with microsoft active x, i have the same probleme.

I don't undestand ?

Arnaud,