FCGX_PutStr() GPFs yet FCGX_PutS() works fine

Derek Developer <derekdeveloper-/[email protected]>
Newsgroups gmane.comp.web.fastcgi.devel
Message-ID <[email protected]>
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

_______________________________________________
FastCGI-developers mailing list
FastCGI-developers-xGejAJT2w6xVgU18Zptdi0EOCMrvLtNR@public.gmane.org
http://mailman.pins.net/mailman/listinfo.cgi/fastcgi-developers
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.