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?
April 17, 2019 at 3:13 pm
#1312
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