Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Connected to HTTPS
Message
 
À
11/10/2002 12:25:17
Information générale
Forum:
Visual FoxPro
Catégorie:
Applications Internet
Divers
Thread ID:
00709998
Message ID:
00710524
Vues:
10
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.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform