I have a Mobilepro 780 running CE 2.11 (HPC/Pro) and am trying to get
the wininet InternetOpen API function working. The same API function
declaration and function call works just fine on CE 3.0 (HPC2000) and
WM2003.

Here is my function declaration:

Declare "Function InternetOpen Lib ""wininet"" Alias ""InternetOpenW""
(ByVal sAgent As String, ByVal lAccessType As Long, ByVal sProxyName
As String, ByVal sProxyBypass As String, ByVal lFlags As Long) As Long"

Here is the call I am doing:

hOpen = InternetOpen("Foo", INTERNET_OPEN_TYPE_DIRECT, vbNullString,
vbNullString, 0)

hOpen equals zero every time. Calling GetLastError() right after
InternetOpen reveals 87 (or ERROR_INVALID_PARAMETER).

Has anyone out there successfully used this function (and the other
Internet* and/or Http* functions) on CE 2.11?


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"nsb-ce" group.
To post to this group, send email to nsb-ce@googlegroups.com
To unsubscribe from this group, send email to 
nsb-ce+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/nsb-ce?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to