opensubscriber
   Find in this group all groups
 
Unknown more information…

m : mozilla-netlib@mozilla.org 19 December 2005 • 10:51AM -0500

nsIStringInputStream in C++
by zen

REPLY TO AUTHOR
 
REPLY TO GROUP




Hi all,

How can I use the nsIStringInputStream in C++?
Below is my code:

//****
nsCOMPtr<nsIStringInputStream> newPostStream;
char* aStream = "&key=123";
newPostStream->AdoptData(aStream, strlen(aStream));
//***

I'm not sure where my mistake was & I always get "the memory could not
be read" when run on firefox, please advice...

Thanks.
_______________________________________________
Mozilla-netlib mailing list
Mozilla-netlib@mozi...
http://mail.mozilla.org/listinfo/mozilla-netlib

Bookmark with:

Delicious   Digg   reddit   Facebook   StumbleUpon

Related Messages

opensubscriber is not affiliated with the authors of this message nor responsible for its content.