Hi there,
I got some code that I share with another developer. I have a nice debugging module which I leave through out the unit tests but he doesn't have this, so it's a battle of adding and remove the code constantly.
Would be nice if there was a way we could use a condition (much like Delphi version or Unicode) like
{$IfDef MYComponent}
MyComponent := TMyComponent.Create;
MyComponent.Logging := true;
{$EndIf}
I guess I could set my ide to Define something, but I wonder if there is a way to detect if the component is installed.....