Click to See Complete Forum and Search --> : FILE or stdout unconventional use


Timur3D
May 22nd, 2002, 09:35 AM
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

NigelQ
May 22nd, 2002, 03:45 PM
Try checking out CMemFile. It sounds like what you need.

Hope this helps,

- Nigel