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. C#
  4. A question about async call of an assembly...

A question about async call of an assembly...

Scheduled Pinned Locked Moved C#
debugginghelpquestionworkspace
5 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.
  • O Offline
    O Offline
    Orkun GEDiK
    wrote on last edited by
    #1

    Hello, I would like to learn that is there any way to execute an assembly in an application domain, asynchron. I attached the sample source code that I want to execute; AppDomainSetup setup = new AppDomainSetup(); setup.ApplicationBase = @"C:\Lab\appdomainchildcs\appdomainchildcs\bin\Debug"; AppDomain domain = AppDomain.CreateDomain("RemoteDomain", null, setup); domain.ExecuteAssembly("appdomainchildcs.exe"); AppDomain.Unload(domain); In the above code, I would like to execute "appdomainchildcs.exe", asynchronus. I would be appreciated, if anybody help me about the trouble. Thank you...

    Orkun GEDiK SAP R/3 BASIS and Development Consultant ASTRON

    N 1 Reply Last reply
    0
    • O Orkun GEDiK

      Hello, I would like to learn that is there any way to execute an assembly in an application domain, asynchron. I attached the sample source code that I want to execute; AppDomainSetup setup = new AppDomainSetup(); setup.ApplicationBase = @"C:\Lab\appdomainchildcs\appdomainchildcs\bin\Debug"; AppDomain domain = AppDomain.CreateDomain("RemoteDomain", null, setup); domain.ExecuteAssembly("appdomainchildcs.exe"); AppDomain.Unload(domain); In the above code, I would like to execute "appdomainchildcs.exe", asynchronus. I would be appreciated, if anybody help me about the trouble. Thank you...

      Orkun GEDiK SAP R/3 BASIS and Development Consultant ASTRON

      N Offline
      N Offline
      Nader Elshehabi
      wrote on last edited by
      #2

      Hello Make a second thread and call your code from that thread.

      Regards:rose:

      O 1 Reply Last reply
      0
      • N Nader Elshehabi

        Hello Make a second thread and call your code from that thread.

        Regards:rose:

        O Offline
        O Offline
        Orkun GEDiK
        wrote on last edited by
        #3

        Thank you for your response, Nader. Is there any other way to do it, except calling an assembly in a thread? Regards,

        Orkun GEDiK SAP R/3 BASIS and Development Consultant ASTRON

        N 1 Reply Last reply
        0
        • O Orkun GEDiK

          Thank you for your response, Nader. Is there any other way to do it, except calling an assembly in a thread? Regards,

          Orkun GEDiK SAP R/3 BASIS and Development Consultant ASTRON

          N Offline
          N Offline
          Nader Elshehabi
          wrote on last edited by
          #4

          Well, this is what asynchronicity is all about. If you were looking for something like callback functions, I don't know any BeginLoad() methods. Yet this should work the same.

          Regards:rose:

          O 1 Reply Last reply
          0
          • N Nader Elshehabi

            Well, this is what asynchronicity is all about. If you were looking for something like callback functions, I don't know any BeginLoad() methods. Yet this should work the same.

            Regards:rose:

            O Offline
            O Offline
            Orkun GEDiK
            wrote on last edited by
            #5

            Thank you for your response.

            Orkun GEDiK SAP R/3 BASIS and Development Consultant ASTRON

            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