Circular Dependency

Discussions about product bugs & problems!
Note: This is no replacement for the Official ETM Support!
2 posts • Page 1 of 1
blackout
Posts:12
Joined: Tue Jan 12, 2016 3:52 pm

Circular Dependency

Post by blackout »

Its causing problems when 2 seperate class uses each other in same or seperate ctl files.

How should I avoid this problem ?

Gertjan van Schijndel
Posts:634
Joined: Mon Aug 02, 2010 10:37 am

Re: Circular Dependency

Post by Gertjan van Schijndel »

Why do your classes depend on each other?

Because with the current information I could only answer, redesign your software.
Here are some suggestions, but (in your case) there could be better suggestions.
1. Move common code to a new class
2. Implement an 'interface' class, derive 1 class from this interface and use this interface in the other class

2 posts • Page 1 of 1