Recommendations

The following is a list of recommendations when programming using the ObjAsm to prevent conflicts with future releases:

Object IDs

User object IDs has to be greater than 80000000h. The range from 0 to 80000000h is reserved for ObjAsm objects.

Object Error constants

The object errors are constants that can be found in the ObjErrs.inc file. Following Microsoft recommendation about error codes, bit 29 of those values must be set to signal a user defined value.

If you add more errors constants for your own objects, avoid repetitions using the range above 30000000h. The range from 20000000h to 30000000h is reserved for internal use.

Files

Do not modify ObjIDs.inc nor ObjErrs.inc files. Create your own files to add more functionality since these files will be overwritten by future updates.

Last updated