2 /******************************************************************************/
4 /* Purpose: Dummy routine to simulate UNIX's 'symlink'. */
5 /* Author: PLOTNIKOV Eugeny */
7 /* Warning: Symbolic links are not supported on Windows NT yet. So, in this */
8 /* case simple copying of file is performing. */
9 /* Copyright: MATRA Datavision (C)1996 */
10 /******************************************************************************/
17 extern "C" int symlink ( const _TCHAR*, const _TCHAR* );
18 #endif /* __cplusplus */
20 /******************************* symlink **************************************/
22 __declspec( dllexport ) int symlink ( const _TCHAR* name1, const _TCHAR* name2 ) {
24 return CopyFile ( name1, name2, FALSE ) == TRUE ? 0 : -1;
28 /******************************************************************************/