[FASTCGI] FCGX_PutStr() GPFs yet FCGX_PutS() works fine
Derek Developer
derekdeveloper at yahoo.com
Wed Nov 12 07:21:47 EST 2008
Sorry to hit you all with so many questions, I have a deadline and I am behind for a simple project.
I am able to recover bytes from the input stream with
DLLAPI int FCGX_GetStr(char *str, int n, FCGX_Stream *stream)
I am able to write bytes to the output stream with
DLLAPI int FCGX_PutS(const char *str, FCGX_Stream *stream)
yet using
DLLAPI int FCGX_PutStr(const char *str, int n, FCGX_Stream *stream)
GPFs my app everytime.
I have doube and triple checked my call's. I am simply sending a pointer to a location in memory where I have created a string/array that can hold n Bytes... just as i do with the GetStr()
I have worked on this for four hours tonite trying all kinds of things in case there is an "undocumented feature" with this function. I just cant get it to work.
I need it to write binary data so I would greatly appreciate any pointers (pun intended)
Kind Regards
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.pins.net/mailman/private.cgi/fastcgi-developers/attachments/20081112/123eaf1e/attachment.html>
More information about the FastCGI-developers
mailing list