Archive: Section Index


Section Index
Is it possible to assign the section index to a variable, e.g. change the section index in runtime?

Vytautas


No, it's a unique identifier of the section. Why would you want to change that?


I'm trying to make a dynamic section system which depends on the availability of some files on the target system. This was an idea of how to achieve a part of that system.

Is there a way to get the section index of the currently running section?

Vytautas


It is really a pity, that it is impossible to change parameters of sections at run-time.
For example, disable some section or change of section indexes using callback .onInit.


I was mistaken. Unfortunately I cannot remove the previous message any more.
For section management it is necessary to use simply SectionGetFlags and SectionSetFlags