PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK

  • Tip
Products
WINDEVWEBDEV - Server codeWEBDEV - Browser codeWINDEV MobileReports and Queries
Platforms
WindowsLinuxWindows MobileUniversal Windows 10 AppAndroidAndroid Widget iPhone/iPadApple Watch
Languages
JavaPHPAjaxUser code (UMC)External language
Databases
HFSQLHFSQL Client/ServerStored proceduresOLE DBODBCNative Accesses
Error 121: Masking the structure
A structure was declared: a structure with the same name already exists in the current window or in the project.
If you keep this name, the "global" structure will no longer be visible in the current process: the local structure will be used instead.
Caution: If a structure global to the project is redefined in the initialization code of the window, the new structure will be used in all the processes of the window and window controls.
Reminder: Scope of structures
  • The structures declared in the initialization code of the project are visible in the entire project.
  • The structures declared in the opening code of the windows are visible in all the processes of the window and window controls.
  • The structures declared in the declaration code of the classes are visible in all the methods of the class.
Differences with version 5.5:
In WINDEV 5.5, a structure remains public as soon as it is declared. If a structure is declared in the opening process of a window, it remains public and it is recognized by all the other processes even if the window where it was declared is closed.
From WINDEV 11, this affirmation is no longer true: a structure declared in the opening code of the window is accessible as long as the window is opened.
Tip
Avoid using the same identifiers for different structures.
Minimum version required
  • Version 0
This page is also available for…
Comments
Click [Add] to post a comment