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.

Can you send us how did you call MoveFileEx()?  Did you #include
<winbase.h>?

Mohammad Iqbal


W Komornicki's Home Page | Main Index | Thread Index