Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 177797
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T14:07:05+00:00 2026-05-11T14:07:05+00:00

I am making calls to a web service to get data from my dll.

  • 0

I am making calls to a web service to get data from my dll. I am getting the data in a char* object in parts.

I want to get the whole data into an IStream object. I am running a while loop and getting the data into char* object. Can someone please tell me how I can combine all this data into a single IStream or LPSTREAM object.

Thanks

Never got an answer for this one! Can someone please help!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. 2026-05-11T14:07:06+00:00Added an answer on May 11, 2026 at 2:07 pm

    Ok I thought I’d answer this one just to help out. You’re making calls to another computer so I’m assuming that you are reading in streams of data in char*’s. That’s what I get from a comment like ‘I am getting the data in a char* object in parts.’

    Therefore, as I understand it, you just want to append the char* string to the IStream object so that it holds the new data.

    My suggestion would be to do this:

    Create a streambuf object (http://msdn.microsoft.com/en-us/library/aa277891(VS.60).aspx) While you are recieving packets     append the packet to the streambuf object (http://msdn.microsoft.com/en-us/library/aa277883(VS.60).aspx) Create a IStream object and init it with the streambuf object (http://msdn.microsoft.com/en-us/library/aa277365(VS.60).aspx) 

    Now that should work I think. That will fill your IStream object with the stream you got from the website.

    I hope that helps, Robert

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Ok I am making a call to a web service to get policies back.
I'm making a RESTful web service call in my JavaScript page and get the
I'm making web service calls to one of Amazon's APIs using PHP. It takes
I am making a call to a web service, the results of the web
We're making some calls to some very simple JSON web services in .NET CF
I ran into the situation where my class is making one asynchronous web call
i am making ajax calls with jquery like this http://pastie.org/860837 and sometimes i get
I'm having a big problem when calling a web service from my WPF application.
I have a working PHP web service that returns data (if I input the
I have a WCF service which calls an STA Visual Basic 6.0 COM object.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.