Make sure the PATH and the LIBPATH statement in your CONFIG.SYS include the directory where you have installed the Domino or Notes system DLLs.