为什么我调用DeleteFile,CopyFile,MoveFile;没有出错 但是不执行?

解决方案 »

  1.   

    比如存在一个c:\aaa
    可是我DeleteFile("c:\\aaa");
    什么也没有发生
      

  2.   

    返回值?比如DeleteFile只是告诉你是否删除成功而已啊.跟问题没有什么关系啊!请说具体点
      

  3.   

    Return Values
    If the function succeeds, the return value is nonzero.If the function fails, the return value is zero. To get extended error information, call GetLastError.
      

  4.   

    谢谢楼上的 但是解决不了问题...return(!0) but the still there...
      

  5.   

    请你看看GetLastError返回的错误代码。