Article # 261, added by Geoworks, historical record
| first |
previous |
index |
next |
last |
Compiler error "resource not found".
Q. I keep getting the compiler error 'resource not found' when I add the line 'resourceui-object' to my .GP file. A. That is because a resource (in GEOS) defines a segment of memory (which contains data or objects) used by your application, not a routine name (nor an object name). These resources are managed by the memory manager and can be moved around in memory or swapped out to storage if they are not being used. In the source code, you define a resource with the @start /@end directives (for example, Hello.goc has the resource AppResource). See section 5.4.3.2 of the Concepts book (Concepts\CCoding.txt) for more information on declaring segment resources and chunks (chunks define smaller sections of segment resources).