General discussion

Locked

NPN_NewStream and MIME-data

By info4us ·
I use Adobe Acrobat Reader 4.0 together with Netscape Communicator 4.7 (further NC).
At development plugin for NC it is necessary to me in a final stage to output the pdf-document. For this purpose I tried to take advantage of functions NPN_NewStream, NPN_Write, NPN_DestroyStream as follows:
err = NPN_NewStream (This- > instance, "application/pdf", "_blank", &stream);
err = NPN_Write (This- > instance, stream, myLength, myData);
err = NPN_DestroyStream (This- > instance, stream, NPRES_DONE);
The analysis of a value 'err' has shown, that errors at execution does not arise also information is transmitted completely. Nevertheless at execution of the program there is a following:
1. The new window NC opens
2. There is a loading AcrobatReader
3. The new window NC remains empty
If the information of sort text/html is output and image/gif the data in the new window are successfully shown.
Can offer solution of a problem of output of pdf-documents from plugin?
noNPN_GetURL

This conversation is currently closed to new comments.

5 total posts (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Comments

Collapse -

NPN_NewStream and MIME-data

by PrinterManager In reply to NPN_NewStream and MIME-da ...
Collapse -

NPN_NewStream and MIME-data

by info4us In reply to NPN_NewStream and MIME-da ...

The question was auto-closed by TechRepublic

Collapse -

NPN_NewStream and MIME-data

by gutridgesj In reply to NPN_NewStream and MIME-da ...

is there a patch to install?

Collapse -

NPN_NewStream and MIME-data

by info4us In reply to NPN_NewStream and MIME-da ...

The question was auto-closed by TechRepublic

Collapse -

NPN_NewStream and MIME-data

by info4us In reply to NPN_NewStream and MIME-da ...

This question was auto closed due to inactivity

Back to Networks Forum
5 total posts (Page 1 of 1)  

Hardware Forums