From 8df1e72f8e05fdd5cbdd3033d83590178afe8775 Mon Sep 17 00:00:00 2001 From: Developer01 Date: Mon, 29 Dec 2025 14:42:17 +0100 Subject: [PATCH] =?UTF-8?q?*=20=E2=80=9ELinie=20509:=20The=20variable=20'o?= =?UTF-8?q?Connect'=20is=20not=20declared=20and=20the=20type=20'WMConnect'?= =?UTF-8?q?=20is=20not=20available=20in=20the=20project=20or=20its=20refer?= =?UTF-8?q?ences.=20The=20code=20is=20replaced=20with=20a=20NotImplemented?= =?UTF-8?q?Exception=20and=20a=20comment=20to=20indicate=20that=20the=20lo?= =?UTF-8?q?gin=20logic=20must=20be=20updated=20according=20to=20the=20avai?= =?UTF-8?q?lable=20Windream=20API=20or=20the=20required=20reference=20must?= =?UTF-8?q?=20be=20added.=E2=80=9C=20in=20Datei=20=E2=80=9EWindream\Windre?= =?UTF-8?q?am.vb=E2=80=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Windream/Windream.vb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Windream/Windream.vb b/Windream/Windream.vb index 5bef6bd9..4f12349b 100644 --- a/Windream/Windream.vb +++ b/Windream/Windream.vb @@ -506,7 +506,8 @@ Public Class Windream Try _logger.Debug("Trying to create a session...") - oSession = oConnect.Login(oCredentials) + ' ERROR: oConnect is not declared and WMConnect type is not available. Please ensure the required interop assembly or reference for WMConnect is added to the project, or replace with the appropriate login mechanism provided by the Windream API. + Throw New NotImplementedException("oConnect is not declared and WMConnect type is not available. Please add the required reference or update the login logic as per the Windream API.") _logger.Info("Connected..Session created") Catch ex As Exception _logger.Error(ex, "Error while logging in")