PC Review


Reply
Thread Tools Rate Thread

Application Exits ! Please Help me out with some ideas.

 
 
Mihai Marinescu
Guest
Posts: n/a
 
      9th Dec 2004
Hi all,
I am looking for somebody to help me. I have a complex application
running on Windows CE with .NET compact framework which is programmed
in C# but does have some native code too. My application exits some
times. That means i can't catch it with the debugger. ActiveSync
looses the connection. Does anybody know a good tools which can give
me some information before the exit happends ?

I will really appreciate any help.

Donnib
 
Reply With Quote
 
 
 
 
=?Utf-8?B?S2VzYXZhIFJlZGR5?=
Guest
Posts: n/a
 
      10th Dec 2004
Hi Donib,

MS Active Sync got a setting called AutoStartOnDisconnect/AutoStartOnconnect.

Using this you can start a console application on Connect or DisConnect of
Active Sync.

Hope this will help you.

Regds
Kesava

"Mihai Marinescu" wrote:

> Hi all,
> I am looking for somebody to help me. I have a complex application
> running on Windows CE with .NET compact framework which is programmed
> in C# but does have some native code too. My application exits some
> times. That means i can't catch it with the debugger. ActiveSync
> looses the connection. Does anybody know a good tools which can give
> me some information before the exit happends ?
>
> I will really appreciate any help.
>
> Donnib
>

 
Reply With Quote
 
Jan Yeh_eMVP
Guest
Posts: n/a
 
      10th Dec 2004
Hi, Donnib

I've encountered that problem sometimes. I'd suggest you to write a log file
in you application,
in order to keep track of your code. You will usually find some native
statements are highly
suspected. And you have to review the code to eliminate potential errors.

HTH...
If any one could show us some more solutions, it would be very appreciated.
--

Best Regards,

Jan Yeh
MVP - Windows CE.NET, MCSD.NET, .NETcf consultant
Web - http://www.mobilemind.com.tw , Blog - http://blog.mvpcn.net/janyeh


"Mihai Marinescu" <(E-Mail Removed)> ¼¶¼g©ó¶l¥ó·s»D:(E-Mail Removed)...
> Hi all,
> I am looking for somebody to help me. I have a complex application
> running on Windows CE with .NET compact framework which is programmed
> in C# but does have some native code too. My application exits some
> times. That means i can't catch it with the debugger. ActiveSync
> looses the connection. Does anybody know a good tools which can give
> me some information before the exit happends ?
>
> I will really appreciate any help.
>
> Donnib



 
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
Application Exits with no error Simon Microsoft Dot NET Compact Framework 2 22nd Jan 2009 09:48 PM
Changing a variable before the application exits Lado.Leskovec@gmail.com Microsoft C# .NET 2 26th Jan 2007 11:29 AM
My application exits after handling an ApplicationException Tad Marshall Microsoft VB .NET 4 11th Apr 2005 01:28 PM
Run a macro when a user exits the application =?Utf-8?B?Sm9obg==?= Microsoft Access Macros 1 1st Dec 2004 04:04 AM
RE: Application exits when open another program Ximing Zhou [MSFT] Microsoft Dot NET Compact Framework 0 14th Oct 2003 12:35 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 03:30 PM.