BCB Mailing List
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[BCB] Win32 API function MoveFileEx
I am trying to use the Win32 function MoveFileEx() in a BCB3 application.
I want to use this function rather than the simpler MoveFile() because
MoveFile() does not let you move a file to a different volume.
MoveFileEx() does allow this. Unfortunately, when I execute MoveFileEx(),
I get an error #120 which means that this function can only be used in
Win32 mode! Well, I'm running this on Windows 95. The simpler MoveFile()
does not return this error. I don't have Windows 98 nor Windows NT to try
this on.
Has anyone else seen this behavior? Is this a bug in Borland's interface
to the Win32 libraries or a bug in the MS Win32 library? I only have the
original version of Windows 95 and not SR1 or SR2 installed. Perhaps this
is the problem.
Eventually, I will use the more capable SHFileOperation() function ( if
I'm allowed <g> ) but for quick and dirty work, MoveFileEx would be easier
to deal with.
Jim Dodd
Onset Computer Corp.
jim_dodd@nospam.onsetcomp.com
W Komornicki's Home Page |
Main Index |
Thread Index