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. about dll and exe

about dll and exe

Scheduled Pinned Locked Moved COM
comquestion
2 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.
  • S Offline
    S Offline
    Shaileshvb
    wrote on last edited by
    #1

    When I created a project inATL/COM wizard...... First I have tried for DLL and after using EXE i.e. while creating component.. Now both the programs are running finely... so now whts the difference internaaly in both files???

    shailesh

    CPalliniC 1 Reply Last reply
    0
    • S Shaileshvb

      When I created a project inATL/COM wizard...... First I have tried for DLL and after using EXE i.e. while creating component.. Now both the programs are running finely... so now whts the difference internaaly in both files???

      shailesh

      CPalliniC Offline
      CPalliniC Offline
      CPallini
      wrote on last edited by
      #2

      They are: (1) in-process server (DLL). (2) out-of-process server (EXE). The difference between them is a rather big topic (though well documented, for instance: http://msdn2.microsoft.com/en-us/library/ms683835%28VS.85%29.aspx[^], http://www.amazon.com/Inside-Microsoft-Programming-Dale-Rogerson/dp/1572313498/ref=pd_sim_b_title_2[^], http://www.amazon.com/Essential-COM-DevelopMentor-Don-Box/dp/0201634465[^]) Roughly speaking you have (on the same local machine) a performance gain whenever you use in-process servers (DLL), while you gain reliability (client crashes doesn't make the server too and viceversa). :)

      If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
      [my articles]

      In testa che avete, signor di Ceprano?

      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