Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Connected to HTTPS
Message
 
To
11/10/2002 12:25:17
General information
Forum:
Visual FoxPro
Category:
Internet applications
Miscellaneous
Thread ID:
00709998
Message ID:
00710524
Views:
9
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.
Previous
Reply
Map
View

Click here to load this message in the networking platform