>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