You can not just include wininet.h from a Visual Foxpro prg,
this is a Visual C++ include file.
You can copy the constants that are required for the
API functions that you are going to use, and paste then
in your prg.
As indicated by Ed Rauh in the previous message, some
contants declaration must be adapted for use in VFP
(values equal or greater than 0x80000000).
Ex.
in wininet.h
#define INTERNET_FLAG_RELOAD 0x80000000
in .prg
#define INTERNET_FLAG_RELOAD bitor(0x80000000,0)
>Hi Ramon F.,
>
>
>The datatype for INTERNET_FLAG_SECURE is INTERGER. The values for declare for
>INTERNET_FLAG_SECURE is 0x00800000
>
>There is an error of datatype mismatch when I declare as below.
>#define INTERNET_FLAG_SECURE 0x00800000
>Pls help.
>
>****************************************************
>procedure test
>DO decl
>
>#include WinINet.h
>...
Just an opinion... Not a fact.