Jump to content

MatthiasPeters

Members
  • Content Count

    5
  • Joined

  • Last visited

Community Reputation

0 Neutral

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. MatthiasPeters

    Import .NET Assembly

    I know that my .net approach was a different thing. Still it is about the same goal: using the latest Halcon versions with Delphi. We were about to give up and start rewriting a very big software project in C# or C++ because we thought there would be no clean way to continue with Delphi. I'm so glad you proved me wrong. I hope I'll find the time in the next days to work with your sample projects a little. What I'd like to test is for example if the "draw" procedures (like " T_draw_rectangle1 " for example) work as well. We need those so that the user can define a ROI (Region Of Interest). You wrote: <quote> I used that tool, but to use it i had modified the include file (.h) of Halcon and after that i had manually adjust the pas file results of Chet. </quote> can you tell me more about what kind of adjustements were necessary in the created pas file? Thanks!
  2. MatthiasPeters

    Import .NET Assembly

    Have you created some bigger projects with this yet? No problem with memory leaks so far? A while ago I made an attempt with this tool: https://www.crystalnet-tech.com/RuntimeLibrary/RuntimeLibrary4Delphi to get the .net assembly working in Delphi. It worked somehow but there were big problems with memory holes. There have been some updates to that software in the meantime but I could not find the time yet to make another try.
  3. MatthiasPeters

    Import .NET Assembly

    Wow, that is really impressive. Thank you so much for sharing this with me. I hope we can use this to upgrade our software to Halcon 22.11 steady. One more question: did you create the HalconC_2011.pas and HalconC_2211.pas fully automatically with this tool https://github.com/neslib/Chet or did you make some manual adjustments to the file? Btw: indeed the com interface for Halcon 20.11 was not made public officially but MVTec generously created a special version for us - however they said it would be the last one....
  4. MatthiasPeters

    Import .NET Assembly

    Thank you very much for that quick reply on my call for help regarding using Halcon with Delphi. Are you using this method yourself? I see that it seems to be easy to use the calls to the Halcon C-library. The only thing I wonder about is how to create some output of images and regions? Or how about drawing regions? I am using Halcon 20.11 steady now, which is the last Halcon Version that had (inofficial) support for the COM interface and we had a component named HWinXCtrl for that.
  5. MatthiasPeters

    Import .NET Assembly

    I know this thing is more than 4 years old but it is really interesting for me. It seems this is about using the Halcon image library by MVTec with Delphi. If anyone has a solution how to use the latest halcon version with Delphi please contact me. Thank you!
×