CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    May 2002
    Location
    Canada
    Posts
    56

    FILE or stdout unconventional use

    Hello!

    I am developing a Win32 application and a MFC application that use a library that was originally as a console application (Qhull3.1)
    This library reads data from the memory, but writes its output to a FILE (or to the stdout).

    I am now working with the output to a text FILE that is saved in the HDD and it is doing great... however, I would like to avoid writing to the HDD since this is an slower process than reading/writing from the memory.

    Is there any way I can create a FILE that is not a HDD file, or to use the stdout in my Win32 and MFC applications without involving a Console?

    Thanks in advance for your help!

    Diego

  2. #2
    Join Date
    Sep 2001
    Location
    San Diego
    Posts
    2,147
    Try checking out CMemFile. It sounds like what you need.

    Hope this helps,

    - Nigel

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured