PC Review


Reply
Thread Tools Rate Thread

Application wrapper issues

 
 
Jerry Camel
Guest
Posts: n/a
 
      14th May 2004
I've written an application that wraps another in order to facilitate some
config and data file copying before and after the application runs.

i.e... User thinks they are running WinFax, but they are really launching
my wrapper. I then copy some files into place and launch the real WinFax.
No problems yet. I wait for WinFax to exit and then backup the changed
files to the network. All works well.

The problem comes in when the user doesn't close the app, but instead just
logs off. Then I get this:

..NET-BroadcastEventWindow.1.0.5000.0.3 etc.... And the user has the option
of ending the app...

While the system is waiting for my app to close, I'm waiting for WinFax to
close. (Process.WaitForExit(0)) It's a standoff - If WinFax is closed
while this error/dialog is on the screen the machine will then logiff, but
my copying code never runs.

How can I detect this situation in my code so I can close WinFax for them
and do my file copying before the logoff?

It's a windows app, but no UI. It appears that I have no close events to
respond to... Any thoughts are greatly appreciated.

Jerry


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
.Net packaging/wrapper application? jim Microsoft C# .NET 62 29th Dec 2007 07:04 PM
.Net packaging/wrapper application? jim Microsoft VB .NET 42 29th Dec 2007 07:04 PM
wrapper.exe - Application Error... tenzan Windows XP General 1 25th Jan 2006 05:04 AM
DataSet Wrapper - DataGrid.MappingName Issues =?Utf-8?B?QXNwbm90?= Microsoft Dot NET Framework Forms 2 5th Oct 2005 03:56 PM
RDP client as an application wrapper PaulB Microsoft Windows 2000 Terminal Server Applications 5 23rd Nov 2003 02:41 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 01:16 PM.