The j-Interop is the DCOM configuration automatically?

Help
2013-08-21
2013-09-04
  • Jhonathan  Camacho

    I'm sorry if this is a silly question, but I wonder if the library j-Interop is necessary settings in DCOM. These settings are available to manually here http://www.j-interop.org/quickstart.html
    The j-Interop is the Settings altomaticamente?

    Thank you.

     
    • Vikram Roopchand

      Hi,

      These settings are even required for a native DCOM client (when accessed
      from a different machine) and not only for j-Interop.

      thanks,
      best regards,
      Vikram

      On Thu, Aug 22, 2013 at 2:23 AM, Jhonathan Camacho
      jccamacho@users.sf.netwrote:

      I'm sorry if this is a silly question, but I wonder if the library
      j-Interop is necessary settings in DCOM. These settings are available to
      manually here http://www.j-interop.org/quickstart.html
      The j-Interop is the Settings altomaticamente?

      Thank you.

      The j-Interop is the DCOM configuration automatically?https://sourceforge.net/p/j-interop/discussion/600730/thread/dac48a0b/?limit=25#a16e

      Sent from sourceforge.net because you indicated interest in
      https://sourceforge.net/p/j-interop/discussion/600730/

      To unsubscribe from further messages, please visit
      https://sourceforge.net/auth/subscriptions/

      --
      The Mind is a place of its own. It can make a heaven out of hell or a hell
      out of heaven. Attitude is everything. No matter how adverse conditions
      maybe, one has the capacity to turn things around by one's Determination,
      Perseverance and Hardwork.

      John Milton
      (Paradise Lost)

       
      • Jhonathan  Camacho

        Thank you for answering my question, but did not quite understand your answer. Maybe I have to clear my doubts evil. So I'll rephrase it.
        I need to do the setup described in that link that I reported. I wonder if the j-Interop is that step by step for me automatically.
        I work with a simulation project. In this project I need to do these settings, because I need that my simulation program to communicate with an OPC database. As the simulation system we created is available for people who do not know much of the computing area, then make these manual settings would not be very appropriate. To solve this problem, I was proposed to make this setting automatically. I wonder if some kind of j-Interop, or some part of it is that the DCOM configuration automatically. If do, could you tell me which class or part that makes this configuration automatically? If it do not, do you know if configure DCOM automatically via programming would be possible?
        Thank you.

         
        • Vikram Roopchand

          Hi,

          I am not sure if it is possible to configure the settings manually. Though
          as far as I understand everything ultimately goes into the Windows
          Registry. So theoretically, one should be able to do it via any registry
          manipulating library (even j-interop for example). But you will have to
          find the right keys and these may differ from OS to OS.

          best regards,
          Vikram

          On Sat, Aug 24, 2013 at 3:55 AM, Jhonathan Camacho
          jccamacho@users.sf.netwrote:

          Thank you for answering my question, but did not quite understand your
          answer. Maybe I have to clear my doubts evil. So I'll rephrase it.
          I need to do the setup described in that link that I reported. I wonder if
          the j-Interop is that step by step for me automatically.
          I work with a simulation project. In this project I need to do these
          settings, because I need that my simulation program to communicate with an
          OPC database. As the simulation system we created is available for people
          who do not know much of the computing area, then make these manual settings
          would not be very appropriate. To solve this problem, I was proposed to
          make this setting automatically. I wonder if some kind of j-Interop, or
          some part of it is that the DCOM configuration automatically. If do, could
          you tell me which class or part that makes this configuration
          automatically? If it do not, do you know if configure DCOM automatically
          via programming would be possible?
          Thank you.


          The j-Interop is the DCOM configuration automatically?https://sourceforge.net/p/j-interop/discussion/600730/thread/dac48a0b/?limit=25#a16e/06f1/48b1

          Sent from sourceforge.net because you indicated interest in
          https://sourceforge.net/p/j-interop/discussion/600730/

          To unsubscribe from further messages, please visit
          https://sourceforge.net/auth/subscriptions/

          --
          The Mind is a place of its own. It can make a heaven out of hell or a hell
          out of heaven. Attitude is everything. No matter how adverse conditions
          maybe, one has the capacity to turn things around by one's Determination,
          Perseverance and Hardwork.

          John Milton
          (Paradise Lost)

           
          • Jhonathan  Camacho

            Make setting using the registry is quite complicated because you have to know the right key to move. And it is not only a key. So do manually is bad. Do you know if the library j-interop makes this setting automatically?

             
            • Vikram Roopchand

              Hi,

              No it doesn't. It expects like an ordinary native dcom client all settings
              to be present. What I meant was you can perhaps use j-interop itself to
              make the registry changes provided you know the right keys to change.
              Though all in all I would not recommend going in for this "automatic"
              behaviour.

              best regards,
              Vikram

              On Tue, Aug 27, 2013 at 7:09 PM, Jhonathan Camacho
              jccamacho@users.sf.netwrote:

              Make setting using the registry is quite complicated because you have to
              know the right key to move. And it is not only a key. So do manually is
              bad. Do you know if the library j-interop makes this setting automatically?


              The j-Interop is the DCOM configuration automatically?https://sourceforge.net/p/j-interop/discussion/600730/thread/dac48a0b/?limit=25#a16e/06f1/48b1/4ff7/db49

              Sent from sourceforge.net because you indicated interest in
              https://sourceforge.net/p/j-interop/discussion/600730/

              To unsubscribe from further messages, please visit
              https://sourceforge.net/auth/subscriptions/

              --
              The Mind is a place of its own. It can make a heaven out of hell or a hell
              out of heaven. Attitude is everything. No matter how adverse conditions
              maybe, one has the capacity to turn things around by one's Determination,
              Perseverance and Hardwork.

              John Milton
              (Paradise Lost)

               
              • Jhonathan  Camacho

                I thought I'd like because of that phrase is the Frequently Asked Questions:

                Easiest Way: -

                Let the j-Interop library do this for you. You can Set the "autoRegistration" flag in the JISystem class. When the library encounters a "Class not registered" exception, it will perform all the registry changes if the flag is autoRegistration September And then re-attempt loading the COM Server. Please have a look at MSSysInfo, msWMI examples.

                why I thought the library was jinterop configuring DCOM automatically!

                 
                • Vikram Roopchand

                  Hi,

                  Ahh, yes that is for registering the CLSID and not configuring DCOM
                  settings. Sorry about the confusion.

                  best regards,
                  Vikram

                  On Wed, Sep 4, 2013 at 1:59 AM, Jhonathan Camacho jccamacho@users.sf.netwrote:

                  I thought I'd like because of that phrase is the Frequently Asked
                  Questions:

                  Easiest Way: -

                  Let the j-Interop library do this for you. You can Set the
                  "autoRegistration" flag in the JISystem class. When the library encounters
                  a "Class not registered" exception, it will perform all the registry
                  changes if the flag is autoRegistration September And then re-attempt
                  loading the COM Server. Please have a look at MSSysInfo, msWMI examples.

                  why I thought the library was jinterop configuring DCOM automatically!

                  The j-Interop is the DCOM configuration automatically?https://sourceforge.net/p/j-interop/discussion/600730/thread/dac48a0b/?limit=25#a16e/06f1/48b1/4ff7/db49/74e8/f04f

                  Sent from sourceforge.net because you indicated interest in
                  https://sourceforge.net/p/j-interop/discussion/600730/

                  To unsubscribe from further messages, please visit
                  https://sourceforge.net/auth/subscriptions/

                  --
                  The Mind is a place of its own. It can make a heaven out of hell or a hell
                  out of heaven. Attitude is everything. No matter how adverse conditions
                  maybe, one has the capacity to turn things around by one's Determination,
                  Perseverance and Hardwork.

                  John Milton
                  (Paradise Lost)

                   

Log in to post a comment.