Article # 424, added by Geoworks, historical record
| first |
previous |
index |
next |
last |
Static object trees spread across multiple source files.
Q. In Goc I have a primary and one of it's children is defined in a separate file. When I launch the program, that child has no link (GI_link = null). This hoses the program when one of it's siblings tries to find their parent. Is there something special I have to do to make this work? A. Goc will only create links between statically declared objects if they are within the same source file. So, you can either put all of the objects that are in your generic object tree into the same source file, or you can call MSG_GEN_ADD_CHILD to dynamically add the child when you open the application.