I am trying to port an application from TS to MC. The application uses a C++ wrapper to call a .NET com object (written in VB.NET). Everything works fine in TS and has for many months. But I crash MC when I try to run it and close a workspace/window. The MC development team says the problem is in my code (and I am sure they are right!) and has to do with releasing COM objects.
I am not a C++ programmer so I am sure I am doing something wrong there. Is there an example on the forum that I can use as a model?
Just to clarify, this is NOT using the MultiCharts.NET product; just the old fashion way with the SDK.
Example of C++ wrapper to .NET
- Henry MultiСharts
- Posts: 9165
- Joined: 25 Aug 2011
- Has thanked: 1264 times
- Been thanked: 2957 times
Re: Example of C++ wrapper to .NET
Hello Joe,
You can check this article MC.Net indicator referencing COM.DLL
I think it can be helpful.
You can check this article MC.Net indicator referencing COM.DLL
I think it can be helpful.
Re: Example of C++ wrapper to .NET
Thanks for the link. However what I am trying to do is Pre-"MC.NET" technology. In other words it uses C++ wrapper to call a .NET COM assembly.