If your program calls the Fileshare Manager, you need to link in the Fileshare manager object file (fsmgr.objwhen you create an executable file.