On Windows, the command to link is cbllink:
cbllink -otemplate01.exe template01.obj cobwin2.obj
This will link in cobwin2.obj, which contains the required entry points for popup windows. Note that no space is allowed between the -o option and its argument, the output file name. After the -o option and its argument, list the object files in your project plus cobwin2.obj.