activex control problem
-
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
-
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
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
-
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
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.