MoveFileEx is failing

In one of our applications we are moving the contents of a text file to another text file using MoveFileEx command. The problem is it is not moving the source file contents to target file at our customer site. When we tested at our development center after receiving the complaint, it worked correctly. What could be the reason for the failure at the customer site?
[366 byte] By [S.Kannan] at [2007-12-16]
# 1
Were they able to reproduce the error? If so, impliment extended error reporting for that call with GetLastError and have them give you the info.
RITZ at 2007-9-9 > top of Msdn Tech,Visual C++,Visual C++ General...
# 2
Do make sure that the from and to locations are on the same volume.

If you verified that, do follow Rizt's suggestion of getting the error the function generates.

Ronald Laeremans
Visual C++ team

RonaldLaeremans at 2007-9-9 > top of Msdn Tech,Visual C++,Visual C++ General...