Just posted working source code for C# .NET client to call C++ managed wrapper DLL to call unmanaged C++ static library
I have found a really good online resource to accomplish. There was even a comment from someone where they worked on this solution for over a week. Wow! This is why you should join the QuantLabs.net Premiium Membershipnow to save yourself this amount of time. Not only that, it prevents you going down rabbit holes like my recent venture with Multicharts.net. Bleh.
Anyhow, I have created a Static Library which is native C++ unmanaged code. Then you need to write a C++ managed wrapper DLL to call the static library. After that, you want a C# client to call the managed C++ DLL. Get it?
I placed working code of this for myQuantLabs.net Premium Membership.
You may want to stand by to what I do with this. Join now for it or get my FREE newsletter what I plan to do with this.