CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 5 of 5

Thread: ActiveX

  1. #1
    Join Date
    May 1999
    Location
    France
    Posts
    61

    ActiveX

    How incorporated an ActiveX in a DLL ( MFC ).
    I have the source of OCX and DLL.

    Help me please.

    Arnaud


  2. #2
    Join Date
    Apr 1999
    Location
    Philadelphia, PA, US
    Posts
    138

    Re: ActiveX

    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 .



  3. #3
    Join Date
    May 1999
    Location
    France
    Posts
    61

    Re: ActiveX

    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++



  4. #4
    Join Date
    Apr 1999
    Location
    Philadelphia, PA, US
    Posts
    138

    Re: ActiveX

    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

  5. #5
    Join Date
    May 1999
    Location
    France
    Posts
    61

    Re: ActiveX

    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,


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured