12/20/2009 9:22:25 PM
 jskuby Posts: 75
|
Using the OpenVPN AddOn I can launch a session and connect without issue, but I can't get the Close session option to work properly If I leave up the prompt for auth after launching an OpenVPN session, then use Close session, it will close the auth prompt but not the OpenVPN GUI application. Is there something I can do (wrap the OpenVPN GUI launch in another exe) to work around or fix this issue? How does the Close session option work with the AddOns? Is there something I'm missing (in code) that will fix this issue?
EDIT: Closing a session seems to work OK with your SQL AddOn, so I'm wondering what the difference is other than OpenVPN GUI is a tray app? Is RDM looking for a window to close, as opposed to a process?
Thanks edited by jskuby on 12/20/2009
-- AddOns: MS Telnet, MySQL GUI Tools, NX Client, OpenVPN, Shrew Soft VPN, TheGreenBow VPN
Need AddOn support?
|
|
permalink
• reply with quote
|
12/21/2009 4:00:24 AM
 dhervieux Administrator Posts: 1349
|
Hi, The close is not exposed, by default a Window message is sent to the process, maybe it's not enough for OpenVPN. I will check if I can expose a close API.
Thank you
David Hervieux Devolutions inc.
-- David Hervieux Devolutions inc.
|
|
permalink
• reply with quote
|
12/23/2009 11:41:39 PM
 jskuby Posts: 75
|
That would be great. I've been working like crazy trying to refine this plugin so I can go into "maintenance mode" on it and start up another addon or two (I've already got some ideas), and this is the last thing that will make the addon completely automated
-- AddOns: MS Telnet, MySQL GUI Tools, NX Client, OpenVPN, Shrew Soft VPN, TheGreenBow VPN
Need AddOn support?
|
|
permalink
• reply with quote
|
12/24/2009 6:59:26 AM
 dhervieux Administrator Posts: 1349
|
Hi, I released an unofficial beta and it's already available, maybe you can give me some feedback:
http://remotedesktopmanager.com/download/Devolutions.RemoteDesktopManager.Bin.5.7.0.10.zip
I'm uploading the the binaries with the code for the after close. Just override this method from "BaseSessionAddOn2":
public override void AfterClose(string aParams) { }
You receive your original parameters.
I hope this help.
David Hervieux Devolutions inc.
-- David Hervieux Devolutions inc.
|
|
permalink
• reply with quote
|
12/24/2009 9:01:50 AM
 jskuby Posts: 75
|
Thanks David! That means I should be able to force quit OpenVPN and perform some temp file cleanup (imported connections are written to a temp dir for OpenVPN to read). I'll let you know how it goes later tonight.
-- AddOns: MS Telnet, MySQL GUI Tools, NX Client, OpenVPN, Shrew Soft VPN, TheGreenBow VPN
Need AddOn support?
|
|
permalink
• reply with quote
|
12/24/2009 5:31:17 PM
 jskuby Posts: 75
|
Success! I've got the addon killing OpenVPN and cleaning up temp files using the AfterClose method. Thanks again David!
-- AddOns: MS Telnet, MySQL GUI Tools, NX Client, OpenVPN, Shrew Soft VPN, TheGreenBow VPN
Need AddOn support?
|
|
permalink
• reply with quote
|
12/24/2009 7:56:32 PM
 dhervieux Administrator Posts: 1349
|
Hi, Great news, thank to you.
David Hervieux Devolutions inc.
-- David Hervieux Devolutions inc.
|
|
permalink
• reply with quote
|