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. make COM dll or exe ??

make COM dll or exe ??

Scheduled Pinned Locked Moved COM
c++questionannouncementcom
3 Posts 2 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.
  • R Offline
    R Offline
    rohit dhamija 0
    wrote on last edited by
    #1

    Dear All, I am developing an application in MFC VC++ Version 6.0 for Windows 2000. The application consists of two modules : the application itself, and the other module is Autoupdate feature. I have to integrate the autoupdate application with the application, but at same time there is no major data exchange b/w the two modules. I need to pass only two parameters to the autoupdate : The url containing the new exe , the version number and the name of exe. The autoupdate feature is used to update the application exe. The autoupdate feature itself doesnot need any further upgradations So is my questions is that whether it is advisable to make ::: a) the autoupdate feature as a COM component. OR b) the autoupdate module as a seperate EXE which should be called on click of a button from the application OR c) put whole of the code of autoupdate in the application it self. OR d) any other way...which i am not thinking of. Please send your useful suggestions stating what is the most appropriate way . Feel free to ask any further queries in this regards, Thanks Rohit Dhamija

    I 1 Reply Last reply
    0
    • R rohit dhamija 0

      Dear All, I am developing an application in MFC VC++ Version 6.0 for Windows 2000. The application consists of two modules : the application itself, and the other module is Autoupdate feature. I have to integrate the autoupdate application with the application, but at same time there is no major data exchange b/w the two modules. I need to pass only two parameters to the autoupdate : The url containing the new exe , the version number and the name of exe. The autoupdate feature is used to update the application exe. The autoupdate feature itself doesnot need any further upgradations So is my questions is that whether it is advisable to make ::: a) the autoupdate feature as a COM component. OR b) the autoupdate module as a seperate EXE which should be called on click of a button from the application OR c) put whole of the code of autoupdate in the application it self. OR d) any other way...which i am not thinking of. Please send your useful suggestions stating what is the most appropriate way . Feel free to ask any further queries in this regards, Thanks Rohit Dhamija

      I Offline
      I Offline
      In At
      wrote on last edited by
      #2

      Why don't you opt for a normal Dll for Autoupdate.exe. Expose a function say "UpdateApp(...)" from that Dll, and it will have 2 parameters as you said. Whenever you have to update/upgrade/change the EXE/module, call that function of DLL. Please tell me whether my understanding is wrong.

      R 1 Reply Last reply
      0
      • I In At

        Why don't you opt for a normal Dll for Autoupdate.exe. Expose a function say "UpdateApp(...)" from that Dll, and it will have 2 parameters as you said. Whenever you have to update/upgrade/change the EXE/module, call that function of DLL. Please tell me whether my understanding is wrong.

        R Offline
        R Offline
        rohit dhamija 0
        wrote on last edited by
        #3

        Yeah,That will be fine.:) Rohit

        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