Oh, it's the \harbour\lib\nulsys.lib before rdd.lib in mak.bc link file caused the problem. Also, if you add all the unuseable libs to your link file , do not cause exe bigger but genarates the same size exe. you must add dbfntx.lib and dbfcdx.lib, even if you only use of dbfcdx .