BCB Mailing List
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[BCB] Win32 API function MoveFileEx
According to the MSDN information MoveFileEx is not supported
under Windows 9x, only under NT.
Mohammad Iqbal
----------
> From: Jim Dodd <jim_dodd@nospam.onsetcomp.com>
> To: bcb-list@nospam.orionlink.net
> Subject: [BCB] Win32 API function MoveFileEx
> Date: Tuesday, April 27, 1999 11:09 PM
>
> 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