Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Is this a Bug or a
Message
De
16/05/2006 11:19:46
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
01122268
Message ID:
01122294
Vues:
21
>Hi Carlos,
>
>Probably the proper way is to use two aliases if you wish both to be used:
>
>
>Declare Integer GetDC In win32api As GetDC_Alias Integer HWnd
>Declare Integer GetDC In win32api As GetDC_Alias2 Integer HWnd
>display dlls
>
>
>or omit alias in the very first declaration:
>
>Declare Integer GetDC In win32api Integer HWnd
>Declare Integer GetDC In win32api As GetDC_Alias Integer HWnd
>display dlls
>
>
>

Yuri, thank you for you comments. I was trying to find a way to protect a class API declarations from other classes (not my own) that declare API functions and then clear them (some API functions that my class also uses), so I thought about using all aliases like GetDC_HQYTGDBE, but then I found this problem. I guess the only workaround is to declare with no alias first and then with an alias.

Carlos
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform