Update WINDREAM references and ensure session logout on close

- Updated Interop.WINDREAMLib and Interop.WMOTOOLLib references to new paths and set EmbedInteropTypes as needed in Global_Indexer.vbproj.
- Added logic to frmStart.vb to log out of windream session on form close if logged in, with appropriate logging.
- Marked frmSQL_Admin.resx as a Designer resource.
- No functional changes to frmSQL_DESIGNER.resx.
This commit is contained in:
OlgunR
2026-04-30 10:30:05 +02:00
parent b2242cb6a9
commit e5d364fb0f
3 changed files with 31 additions and 22 deletions

View File

@@ -157,6 +157,17 @@ Public Class frmStart
Catch ex As Exception
LOGGER.Error(ex)
End Try
If Not IsNothing(WINDREAM) AndAlso WINDREAM.SessionLoggedin = True Then
LOGGER.Debug("Closing frmStart - Now logging out of windream session...")
Try
WINDREAM.Session.Logout()
LOGGER.Debug("windream session logged out successfully.")
Catch ex As Exception
LOGGER.Warn("Error while logging out windream session: " & ex.Message)
LOGGER.Error(ex)
End Try
End If
End Sub
#End Region