Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Is this a Bug or a
Message
From
16/05/2006 11:19:46
 
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
01122268
Message ID:
01122294
Views:
14
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform