Announcement

Collapse
No announcement yet.

C++ to C#

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • C++ to C#

    Has anyone managed to convert the example code from c++ to C# and actually get it to work, or equivalent code?

  • #2
    I tried a quick C# app and it seemed to work fine. I didn't base it off the C++ sample app, just created it new from scratch.

    Comment


    • #3
      C#

      Is there any way for you to post C# example that you created?

      Thanks in advance

      Comment


      • #4
        I haven't tried to figure out the file sharing system yet, but if you want to you can PM me your email address and I can send you the project in a zip file. The C# project is very simple and just grabs a few days worth of daily history bars.

        Comment


        • #5
          I'm new to this forum and faced the same C++ to C# problem. I made a solution with two projects: a C# EXE and a C++ DLL. The DLL has two classes, one is a managed C++ wrapper for the other unmanaged C++ class. Had to do this so that the unmanaged class can call the DBC API functions, while the managed class makes the functions available to the C# GUI. Hope to eliminate the unmanaged class gradually by transferring API calls to the managed class. I am using the Standard API not the ActiveX control.

          Comment

          Working...
          X