fifamvp
V2EX  ›  问与答

请教下 SetFilePointerEx, ReadFileEx 的用法

  •  
  •   fifamvp · Jun 23, 2020 · 1075 views
    This topic created in 2185 days ago, the information mentioned may be changed or developed.

    接到个任务是将 fopen,fseek,fread 改成 WIN32 的 api,想请教下 SetFilePointerEx, ReadFileEx 的用法。 目前遇到的问题是,SetFilePointerEx 之后,ReadFileEx 读的一直是文件开头。

    1 replies    2020-06-23 20:51:25 +08:00
    ysc3839
        1
    ysc3839  
       Jun 23, 2020 via Android
    怀疑是 X-Y Problem https://coolshell.cn/articles/10804.html
    为什么要改呢?
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   914 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 129ms · UTC 20:51 · PVG 04:51 · LAX 13:51 · JFK 16:51
    ♥ Do have faith in what you're doing.