Re: InternetReadFile error
From: Cheri Reed (CheriReed_at_discussions.microsoft.com)
Date: 01/06/05
- Next message: Joseph MCAD: "RE: RaiseEvent... vs Calling Sub directly?"
- Previous message: Alex Clark: "Problems reading network stream"
- In reply to: Herfried K. Wagner [MVP]: "Re: InternetReadFile error"
- Next in thread: Herfried K. Wagner [MVP]: "Re: InternetReadFile error"
- Reply: Herfried K. Wagner [MVP]: "Re: InternetReadFile error"
- Messages sorted by: [ date ] [ thread ]
Date: Thu, 6 Jan 2005 11:25:11 -0800
I'll try replacing Long with Int32. I need to specify the port being used
and I thought HttpWebRequest didn't have this capability.
"Herfried K. Wagner [MVP]" wrote:
> "Cheri Reed" <CheriReed@discussions.microsoft.com> schrieb:
> > I've looked through several newsgroups and have yet to find help with this
> > problem. We have a device we can access through IE, using a URL, that
> > returns an XML string.
>
> Your declares are incorrect, 'Long' has to be replaced by 'Int32', and some
> other changes need to be applied. Is there any reason why you are not using
> the .NET class 'HttpWebRequest' instead of the p/invoke solution?
>
> --
> M S Herfried K. Wagner
> M V P <URL:http://dotnet.mvps.org/>
> V B <URL:http://dotnet.mvps.org/dotnet/faqs/>
>
>
- Next message: Joseph MCAD: "RE: RaiseEvent... vs Calling Sub directly?"
- Previous message: Alex Clark: "Problems reading network stream"
- In reply to: Herfried K. Wagner [MVP]: "Re: InternetReadFile error"
- Next in thread: Herfried K. Wagner [MVP]: "Re: InternetReadFile error"
- Reply: Herfried K. Wagner [MVP]: "Re: InternetReadFile error"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|