>I am compiling file name greeting.c in VC 5++ to create a DLL.
>And I keep getting the error:
>
>Linking...
>MSVCRT.lib(MSVCRT.dll) : error LNK2005: _memmove already defined in LIBCMTD.lib(memmove.obj)
>LINK : fatal error LNK1104: cannot open file "atls.lib"
>Error executing link.exe.
>
>I don't know what to do, please help.
Hi,
You have to have VC++ 7.0 in order to compile DLLs with use of VFP7 FoxAPI. But you could try to add "atls.lib" to list of ignored libraries (Project settings->Link->Input category). In fact this library is not required.
About first error. Make sure that you are using Mulithreaded DLL runtime library (Project settings->C/C++).