Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. COM
  4. activex control problem

activex control problem

Scheduled Pinned Locked Moved COM
comhelpquestionc++
3 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • E Offline
    E Offline
    emmatty
    wrote on last edited by
    #1

    hello firends, i am developing an activex control(MFC) that we are going to embed in webpage. But my question is Is it important to have a every clientmachine that downloads that webpage should have MFC dlls installed in them????? please help me. shankeran.com

    A J 2 Replies Last reply
    0
    • E emmatty

      hello firends, i am developing an activex control(MFC) that we are going to embed in webpage. But my question is Is it important to have a every clientmachine that downloads that webpage should have MFC dlls installed in them????? please help me. shankeran.com

      A Offline
      A Offline
      AssemblySoft
      wrote on last edited by
      #2

      Well the simple answer is yes. I have recently developed an activex control and found that some clients who were lacking mfc42(your letter here).dll and one or two other dependencies did not run. The solution: Use a cab utlility (cabarc.exe from Microsoft) to create a cab file of your activex control plus a .inf file. The inf file describes the contents of the cab file and any dependencies it requires. The line to add to the inf file for installing and running the latest mfc dlls is [mfc42installer] file-win32-x86=http://activex.microsoft.com/controls/vc/mfc42.cab run=%EXTRACT_DIR%\mfc42.exe There are loads of articles on MS site describing the complete procedure. hope this helps Carl

      1 Reply Last reply
      0
      • E emmatty

        hello firends, i am developing an activex control(MFC) that we are going to embed in webpage. But my question is Is it important to have a every clientmachine that downloads that webpage should have MFC dlls installed in them????? please help me. shankeran.com

        J Offline
        J Offline
        Jorgen Sigvardsson
        wrote on last edited by
        #3

        You can also statically link to MFC to avoid having to redistribute the MFC DLLs. Chances are that you're not using all of the MFC library, and thus you'd shorten download times by linking statically. Dead code is removed during link time. If you distributed the DLLs with the CAB, the user will have to download all the code - even that which is not used. -- I am looking for last year's snow between your legs.

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups