pc-dmis & Object Library C#

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • pc-dmis & Object Library C#

    ciao! I would like to integrate my program of measures in c #.
    Where can I find the PcdmisSession.dll and the Object Library -> PCDLRN
    thanks a lot in advance
    giuseppe

  • #2
    I know nothing about the PcdmisSession.dll - have never used it - but the object library can be found where PC-DMIS is installed - PCDLRN.TLB. The OL is (partly) documented in the Help, under PC-DMIS BASIC Language.


    Edit: A quick Google search gave this link for pcdmissession.dll - https://www.pcdmisforum.com/forum/pc...p-2010-express

    OL.PNG
    Attached Files
    Last edited by AndersI; 02-28-2018, 07:12 AM.
    AndersI
    SW support - Hexagon Metrology Nordic AB

    Comment


    • #3
      Thanks for you reply. Can I unpack the library to use it with my pc? pcdmis is installed on the computer of the measuring machine but I would like to work (with Visul studio) on my pc. You know if you can export the library and how you can start from PCDLRN.TLB

      giuseppe

      Comment


      • #4
        A Type Library is just a catalog of entry points and names. You normally import it to your development tool. For example in Excel you go to Visual Basic for Applications editor, select Tools -> References... in the main menu, and import the type library. Then you can write code calling that library.
        AndersI
        SW support - Hexagon Metrology Nordic AB

        Comment


        • #5
          I'm curious on this one also. If you're crunch for time and have a dongled license...Install it on your non CMM PC and then reference your library then put your dongle back on the CMM. Never tried it but in theory it should work.
          PcDmis 2015.1 SP10 CAD++
          Global 7-10-7 DC800S

          Comment


          • #6
            Ah, I missed that part (working offline) - you need PC-DMIS installed to have the type library available, as far as I know. But you could always test with a copy of the pcdlrn.tlb file.
            AndersI
            SW support - Hexagon Metrology Nordic AB

            Comment

            Working...
            X