> ViStatus viGpibControlREN(ViSession vi, ViUInt16 mode)
This function can change remote/local state of the instrument, but it is not directly related to closing I/O session, though it must be a smart behaviour to enforce local state before exiting the remote app. VISA close is the only function that closes the VISA session.
In NI-488.2M calls, I think there is no close function and you don't have to explicitly close the GPIB session. Although there is ibonl(ud, v) function in the 488 API, which takes the 2nd param zero for meaning OFFLINE, I am not sure if it is such related to closing operation.
As for the issue that other program can't work correctly beside your LabVIEW app, it may be a different issue such as resource locking of the same session. To clarify what is happening, capture the NI-SPY log for the 2 app programs and check to see what error is actually generated.