Technical Notes Database TN456D.txt LINKER STRIPS UNUSED STATIC METHODS Category :Pascal Platform :All Product :Turbo Pascal 5.5 Description: Q. It appears that my static methods are getting stripped from my program by the smart linker when they are unused. Yet, my virtual methods are not. How come? A. Static methods can be stripped because it can be determined at link time what methods will be called. Virtual methods can not be stripped because the program will not know what methods will be used, and what will not, until run time. This is because of late binding. Reference: 7/16/98 4:35:32 PM
Last Modified: 01-SEP-99