Dynamic expanding method of computer software function

The present invention is technology of modifying and replacing software function while executing computer software. During some application program is executed, one connection function is injected tocall dynamic linkage program base. One primary program code is provided without need of calling interrupt and modifying application program, so as to make up software function of application program.