Example of C++ wrapper to .NET

Questions about MultiCharts .NET and user contributed studies.
Joe@DA
Posts: 10
Joined: 09 Sep 2011
Has thanked: 6 times

Example of C++ wrapper to .NET

Postby Joe@DA » 22 Oct 2012

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.

User avatar
Henry MultiСharts
Posts: 8394
Joined: 25 Aug 2011
Has thanked: 1201 times
Been thanked: 2682 times

Re: Example of C++ wrapper to .NET

Postby Henry MultiСharts » 24 Oct 2012

Hello Joe,

You can check this article MC.Net indicator referencing COM.DLL
I think it can be helpful.

Joe@DA
Posts: 10
Joined: 09 Sep 2011
Has thanked: 6 times

Re: Example of C++ wrapper to .NET

Postby Joe@DA » 24 Oct 2012

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.


Return to “MultiCharts .NET”