Command
QisLib_ReloadOASIS Function: int QisLib_ReloadOASIS(); Inputs: - Return: success: 0 failure: one of the following values : Errors: 3: No file has been opened. 30: Internal memory failure occurred while reloading the OASIS file. -1: File open in progress, operation not permitted. Description: - This function can be used to reload an OASIS file with a different QisLib_SetLoadMemory setting if an OASIS file has already been opened. If QisLib_SetLoadMemory is on, the OASIS file data entities will also be loaded into memory in addition to the load database. If QisLib_SetLoadMemory is off, only the load database will be loaded into memory. - Set_Load_Memory on is required for editing. - When an OASIS file is opened using QisLib_OpenMemoryMaps, this function does not do anything and returns success. - If the progress message callback function has been set using QisLib_SetProgressMessageCallback, the user's program will be updated with the latest progress percentage just like QisLib_OpenOASIS. - If this operation needs to be cancelled, use QisLib_Stop. This can only be done if QisLib_SetProcessEvents is turned on. Also, for Unix/Linux, the program's application context must be passed to QisLib_InitLib.References: QisLib_SetLoadMemory QisLib_OpenOASIS QisLib_SetProgressMessageCallback QisLib_Stop |