Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Foxypreviewer BUG in RDP session

Status
Not open for further replies.

Mimmo M.

Programmer
Sep 17, 2000
8
IT
Hello.
I discovered a problem with using foxypreviewer in an RDP session on a Windows 2008 server.
When I start the user session, the application starts automatically;
when I close the application, the user session closes.
This is the normal process.
If in the application I use foxypreviewer (DO foxypreviewer.app), it happens that when closed, the user session remains on hold and then closes after a few minutes ...
Has anyone had a similar experience?
I show you a simple test code I wrote to demonstrate the problem.
Thank you.

*************************************************
frmMain=CREATEOBJECT("frmForm0")
frmMain.visible = .T.
READ EVENTS

CLEAR RESOURCES
CLEAR PROGRAM
CLEAR MEMORY
CLEAR ALL
CLOSE ALL
RELEASE ALL EXTENDED
MESSAGEBOX("Bye")
QUIT

DEFINE CLASS frmForm0 AS Form

PROCEDURE INIT
MESSAGEBOX("Init")
DO FoxyPreviewer.App
ENDPROC

PROCEDURE UNLOAD
DO FoxyPreviewer.App WITH "Release"
CLEAR EVENTS
ENDPROC

ENDDEFINE
*************************************************

The init event of the form starts foxypreviewer.app and displays an "Init" message
When the form is closed Foxypreviewer is released and the message "Bye" is shown. The program closes, but the user session remains hanging.
If i don't use foxypreviewer this problem doesn't occur. The session closes regularly.

I downloaded the latest version of foxypreviewer here: I compiled with VFP 9sp2
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top