Mail Archives: djgpp/1999/04/23/05:45:31
From: | "Li Hongwei" <hwli AT cnn DOT corp DOT fedex DOT com>
|
Newsgroups: | comp.os.msdos.djgpp
|
Subject: | DJGPP programme on Win NT
|
Date: | Fri, 23 Apr 1999 17:28:20 +0800
|
Organization: | Federal Express
|
Lines: | 27
|
Message-ID: | <7fpeki$o194@is1.network.fedex.com>
|
NNTP-Posting-Host: | 155.161.201.139
|
X-Newsreader: | Microsoft Outlook Express 4.72.2106.4
|
X-MimeOLE: | Produced By Microsoft MimeOLE V4.72.2106.4
|
To: | djgpp AT delorie DOT com
|
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp
|
Reply-To: | djgpp AT delorie DOT com
|
Hi, experts,
I have a programme coded in DJGPP. Within the programme I use the link() and
unlink() function to remove some files from one place to anothe place. I
have the following problem with this programme.
If I run this programme in Dos prompt on WinNT, it runs fine. Everything is
ok.
If I call this programe in another application (may be written by Delphi,
may be written by Perl). Everything is fine except the link() and unlink()
can't function properly. The error massage says: Unproper Link ...and the
error code is EXDEV, means trying to move files between different file
systems.
I grant everyone the full control of the directories which I will move files
between. I log in as administrator, run the programme, it is fine. Call
it whithin another application, then can't link or unlink. Tell me the
soluntion.
Thank you in advance.
Li Hongwei
hongwei-li AT rocketmail DOT com
- Raw text -