DWF Viewer (Read Only)
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Reply
Message 1 of 2
Anonymous
295 Views, 1 Reply

Load from Memory

How does one get Express Viewer to load a DWF from memory? I thought that
you might have to construct an IStream to pass to _ReadSourceStream, but
it GPF's. If I need to I can write out the DWF to a file, but I'm trying
to avoid that scenario. Thanks.

P.S. - This is a C++ app.

--
Joel Lucsy (jjl@cadfx.com) http://www.cadfx.com
1 REPLY 1
Message 2 of 2
Anonymous
in reply to: Anonymous

At this point, you should go for the temp file, we'd have to do some
additional API work to get it to do what you want. On the bright side, if I
recall propertly, there's a CreateFile setting that tells the OS to keep the
file in memory if possible. For downstream consumers of said file, it
appears as though the file were on your disk. Good luck.

"Joel Lucsy" wrote in message
news:Xns934B725C56C26jjlucsy@64.124.46.110...
> How does one get Express Viewer to load a DWF from memory? I thought that
> you might have to construct an IStream to pass to _ReadSourceStream, but
> it GPF's. If I need to I can write out the DWF to a file, but I'm trying
> to avoid that scenario. Thanks.
>
> P.S. - This is a C++ app.
>
> --
> Joel Lucsy (jjl@cadfx.com) http://www.cadfx.com

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report