I have faced a peculiar problem today. My program gave linking error. It could not locate the strcpy or strncpy functions though I had included the string.h file. I then included the c51flp.lib file in my project. The error was removed and the hex file was generated. Then I removed the c51flp.lib file. This time on compiling, the errors didnot come. I am wondering why the errors didnot come again? Can anybody help! Mohit
Are you using in-line assembly or are you using the SRC directive? AND, are you using no other C files in your project? If that's the case, see the following: http://www.keil.com/support/docs/1646.htm Jon