On Windows, if your program calls the Fileshare Manager, you need to link in the Fileshare manager object file (fsmgr.obj when you create an executable file.