Reply To: Why could I write log send by delphi dll and call by c# exe?

Home Forums CodeSite Why could I write log send by delphi dll and call by c# exe? Reply To: Why could I write log send by delphi dll and call by c# exe?

#1312
Ray Konopka
Keymaster

    Hi Carl,
    Glad you have it working again. I do have a couple comments regarding the code you posted. In your code, you are creating a new Destination object and you are assigning it to both the CodeSite global logger and the CodeSiteManager. By default, each logger instance uses the destination that is defined in the CodeSiteManager. This happens when the logger’s Destination property is nil. By assigning the CodeSite.Destination to a new TCodeSiteDestination instance, you are disconnecting it from the CodeSiteManager.

    Ray