Re: InternetReadFile error

From: Cheri Reed (CheriReed_at_discussions.microsoft.com)
Date: 01/06/05


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/>
>
>



Relevant Pages

  • Re: InternetReadFile error
    ... > and I thought HttpWebRequest didn't have this capability. ... You can try to specify the port in the URL: ...
    (microsoft.public.dotnet.languages.vb)
  • Re: Bug with instanceName property?
    ... If you specify a portnumber attempt to connect using port number. ... I installed SQL Server 2005 on a ... > you get a more efficient connection since it doesn't need to connect to ...
    (microsoft.public.sqlserver.jdbcdriver)
  • Re: To allow inbound traffic from a specific ip
    ... create a new protocol for ... specify in the Primary connection in the Protocol field TCP ... TCP, and the direction as inbound, and the port range that you seen, note ...
    (microsoft.public.isa.configuration)
  • Re: SELECTED_REAL_KIND clarification plse
    ... The Fortran standard doesn't directly provide a way to specify that ... that C capability. ... > precision vs exponent range issues for reals, ... it is mostly a matter of making things simpler for the user ...
    (comp.lang.fortran)
  • Re: Why does printk helps PCMCIA card to initialise?
    ... and can also specify how many IO address lines they ... restriction for a card; if it only decodes 3 lines, ... port boundary. ... are specified that the meaning is complicated. ...
    (Linux-Kernel)