![]() |
FindProgramVar | Function (tigcc.a) |
vat.h |
SYM_ENTRY *FindProgramVar (void); |
Finds the running program's variable.
FindProgramVar returns a pointer to the SYM_ENTRY
structure of the running program, or NULL
in case it is not found (e.g. if the program was compressed).
Note: Do not call anything which may cause a heap compression between
when this function is called and when the pointer to it is used. Otherwise,
the pointer may become invalid, causing a crash or other random, unexpected
behavior. You can also use FolderOp to avoid
this problem.