none
Converting FILE * to CMemFile (or retrieving void* from FILE *) RRS feed

  • General discussion

  • Hi, I'm currently working with a function call that uses FILE *, but I need to get data from the FILE * into a buffer without letting the data touch the HDD.  My first idea was to convert FILE * to a CMemFile, but I cannot find a way to do this.  Any ideas?

    Using MFC...

    Monday, July 1, 2013 3:39 PM

All replies

  • Hi,

    It seems not a MSBuild issue. I am moving this thread to related forum for further support.

    Best regards,


    Ego [MSFT]
    MSDN Community Support | Feedback to us
    Develop and promote your apps in Windows Store
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.

    Tuesday, July 2, 2013 8:07 AM
  • This is definitely not a kernel question.  


    Don Burn Windows Filesystem and Driver Consulting Website: http://www.windrvr.com Blog: http://msmvps.com/blogs/WinDrvr

    Tuesday, July 2, 2013 11:24 AM
  • Your question doesn't make any sense.  If you're reading from a FILE*, then the data is COMING from a hard disk.

    Tim Roberts, VC++ MVP Providenza & Boekelheide, Inc.

    Wednesday, July 3, 2013 6:48 AM