Is now I put the class A, in A public folder includes all join in the class B and class C class A header and source files, compiled separately, but I don't think so the same class A needs to be compiled twice, in both the use of its class B and class C are present, feel so not is very reasonable, if can be optimized to do?
CodePudding user response:
This need should use bales (packages) and is A special kind of DLL, package and the main program to share the same set of RTL, can avoid many problems, such as your case is compiled A as two problems