| 192 | } |
| 193 | |
| 194 | bool LibraryManager::FindLibraries() |
| 195 | { |
| 196 | #if defined(OSI_EOCAPP) |
| 197 | if (FindEoCApp(moduleStart_, moduleSize_)) { |
| 198 | coreLibStart_ = nullptr; |
| 199 | coreLibSize_ = 0; |
| 200 | FindMemoryManagerEoCApp(); |
| 201 | FindLibrariesEoCApp(); |
| 202 | FindServerGlobalsEoCApp(); |
| 203 | FindEoCGlobalsEoCApp(); |
| 204 | FindGlobalStringTableEoCApp(); |
| 205 | FindNetworkFixedStringsEoCApp(); |
| 206 | FindErrorFuncsEoCApp(); |
| 207 | return !CriticalInitFailed; |
| 208 | } |
| 209 | #else |
| 210 | if (FindEoCPlugin(moduleStart_, moduleSize_)) { |
| 211 | FindMemoryManagerEoCPlugin(); |
| 212 | FindLibrariesEoCPlugin(); |
| 213 | FindServerGlobalsEoCPlugin(); |
| 214 | FindEoCGlobalsEoCPlugin(); |
| 215 | FindGlobalStringTableCoreLib(); |
| 216 | return !CriticalInitFailed; |
| 217 | } |
| 218 | #endif |
| 219 | else { |
| 220 | Debug("LibraryManager::FindLibraries(): Unable to determine application type."); |
| 221 | return false; |
| 222 | } |
| 223 | } |
| 224 | |
| 225 | bool LibraryManager::PostStartupFindLibraries() |