hexagon logo

Got Visual Studio and the Interop.PCDLRN.dll... Now what?

As I upgraded one CMM to Windows 7 64-bit, my small VBS helpers died in the process (still kickin' butt on XP though).
So, I have begun re-coding them in Visual Studio 2010 (I think). I have gotten so far in the coding where I need to connect to PC-DMIS and start interfacing with it. Now, I managed to find the DLL that is supposed to expose some interfaces and methods and I have successfully added it to my project.

Then what? How do I use the DLL to connect to PC-DMIS and expose the PartPrograms collection for instance?

Oh, I am using C# for this...

Any and all input, examples or suggestions are VERY welcome!

TIA!
Parents
  • It might be useful for you to show the actual error from the Exception object, instead of just showing a text of your own.

    Note that your problem can still be that PCDLRN.Application in the Registry has not been updated (as I mentioned in other threads) and points to an older version of PC-DMIS. It is not clear from your post if PC-DMIS is already running when you try the script, or if you expect the script to start PC-DMIS.
Reply
  • It might be useful for you to show the actual error from the Exception object, instead of just showing a text of your own.

    Note that your problem can still be that PCDLRN.Application in the Registry has not been updated (as I mentioned in other threads) and points to an older version of PC-DMIS. It is not clear from your post if PC-DMIS is already running when you try the script, or if you expect the script to start PC-DMIS.
Children
No Data