Remote Desktop Manager - AddOn development forum
9/21/2010 12:56:11 AM
 oki Posts: 42
|
Hi, I'm trying to implement an AddOn for SAP Sessions. Can I write an AddOn which Inherits BaseSessionAddOn2 and also implements ISessionToolAddOn?
After testing the Addon, only the Session Addon is visible to RDM. The implemented ISessionToolAddOn isn't visible in menu entry. If I inherit from BaseSessionToolAddOn in a separate class, the menu entry is visible.
Here the Interface implementation which works on inheritance and not as implementation: #region ISessionToolAddOn Members public ToolExecuteResult Execute(ISession session) { System.Windows.Forms.MessageBox.Show("Test"); return null; }
public bool IsEnabled(ISession session) { return true; } public string MenuText { get {return "SAP NIPing"; } } #endregion
|
|
0
• permalink
|
9/21/2010 1:02:36 AM
 oki Posts: 42
|
got the same if I implement also ISessionImportAddOn in one class with RemoteDesktopManager.AddOn.BaseSessionAddOn2 any idea what's going wrong?
kind regards, olaf
|
|
0
• permalink
|
9/21/2010 12:38:36 PM
 David Hervieux Administrator Posts: 4241
|
I will do some test tonight and see if it's possible. I suspect that because you share the ID for two different addon, it's not loaded.
-- David Hervieux Devolutions inc.

|
|
0
• permalink
|
9/22/2010 6:02:48 PM
 David Hervieux Administrator Posts: 4241
|
Hi, Do you want to try this updated version:
http://remotedesktopmanager.com/download/Setup.RemoteDesktopManager.5.8.3.3.exe
-- David Hervieux Devolutions inc.

|
|
0
• permalink
|
9/23/2010 7:23:22 AM
 oki Posts: 42
|
Ok, I'm getting now a Duplicate AddOn ID error on start. I don't understand why a unique GUID is nessesary for each interface implementation. I've tried to implement one addon which implements all tree: an importer, a custom session and an connection check tool in one class. I'll implement now this in 3 classes in the same assembly.
|
|
0
• permalink
|
9/23/2010 7:40:08 AM
 David Hervieux Administrator Posts: 4241
|
Hi, Sorry about that, it's only an implementation problem. I sure that I can find a solution.
-- David Hervieux Devolutions inc.

|
|
0
• permalink
|