Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Activex with vb examples
Message
De
10/08/2009 03:49:08
 
 
À
10/08/2009 03:28:06
Albert Beermann
Piepenbrock Service Gmbh & Cokg
Osnabrück, Allemagne
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Database:
MySQL
Divers
Thread ID:
01416493
Message ID:
01417063
Vues:
100
This message has been marked as a message which has helped to the initial question of the thread.
>Hello Sergey Hello Borislav
>Thank you for your answers.
>
>I changed the &H to 0x in the include file with no success.
>The debugger shows colornumbers with lenght 10. (4278190080 for black as example) and the error message is:
>Ole error 0x800 2000a ausserhalb des Bereichts (=outside the area (or array))
>
>Using color numbers with length 8 instead of rgb(x,y,z) works (.color = 16777088 for example)
>
>My special problem is "Transparent" which is defined as "FFFFFFFE" without an leading &H in the include file!!!
>Using .color = Tranparent shows error type conflict.
>Using .color = 4294967294 (=decimal FFFFFFFE) shows error
>Ole error 0x800 2000a ausserhalb des Bereichts (=outside the area (or array))
>
>Any more ideas??
>Best regards
>Albert

The problem is that anything above 0x7fffffff won't fit into a 4 byte integer anymore - says foxpro

The way around is to
change
#define Something 0xFFFFFFFE
into
#define Something bitor(0xFFFFFFFE,0)
Gregory
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform