Delphi and c++ package

Home Forums CodeSite Delphi and c++ package

Viewing 2 reply threads
  • Author
    Posts
    • #440
      Don Rowe
      Participant

        Hi

        I’ve used Codesite for years with Delphi and c++ on Embarcadero Rad Studio 10.2.3, CodeSite Express 5.3.2 and Live Viewer. I’m working on a Delphi program that calls a c++ package. It runs fine without CodeSite. CodeSite works fine from the Delphi code. When I call (or step over) CodeSite->Send(“My message”) from the c++ package, it crashes with exception class $c0000005 access violation read of address 50. The Delphi code has “uses CodeSiteLogging”. The c++ code has
        #pragma comment(lib,”CodeSiteExpressPkg.lib”)
        #pragma link “CodeSiteLogging”
        #include “CodeSiteLogging.hpp”
        Both Delphi and c++ have the CodeSite package enabled in project options.
        I want everything to use Live Viewer. Do I need to do anything else in the c++ package? Thanks for any enlightenment you can offer.

      • #447
        Ray Konopka
        Keymaster

          Does the C++ Package include the CodeSiteExpressPkg package in the requires clause?

          Ray

        • #452
          Don Rowe
          Participant

            It does now. That fixed it. Thanks.

        Viewing 2 reply threads
        • You must be logged in to reply to this topic.