> 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...
is my declaration proper? how can i create an instance of the
nsIStringInputStream? compiler complaints 'do_CreateInstance' is