How to replace aborted exe ?

How to replace aborted exe ?

Postby Dutchera » Wed Aug 22, 2007 10:20 am

Hello,

I'm busy converting a large Clipper application to FWPPC and have a nasty problem while testing the application:

If the program aborts with one or more dbf's open the executable is blocked and can only be replaced/removed after resetting the emulator or the PDA.

Is this the only way or does anyone know a better solution?

Thanx & Regards
Dutchera
 
Posts: 3
Joined: Mon Mar 26, 2007 8:32 am
Location: Eindhoven, the Netherlands

Postby Antonio Linares » Wed Aug 22, 2007 11:59 am

Rob,

You can remove it from memory using "menu-settings-system-memory-running programs" option
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42084
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Postby Jon Munro » Fri Aug 24, 2007 1:43 pm

On my Dell PDA I use the 'switcher bar' to force a failed program to exit: menu-settings-system-switcher bar option. Useful for testing and removing programs no longer required.

hth
User avatar
Jon Munro
 
Posts: 42
Joined: Sun Oct 09, 2005 11:47 am
Location: Brisbane Australia

Postby Richard Chidiak » Fri Aug 24, 2007 2:41 pm

Antonio

This is not working all the time, sometimes the pocket pc has to be reset to remove the program from memory

Is there a way to change the error handling for fwppc to automatically terminate the process even if gpf ?

something like TerminateProcess( GetModuleHandle( 0 ), 0 ) ???

That could be very handy

Hth

Richard
http://www.cbati.com

Uestudio
Fwh 13.05 Harbour 3.2 MSVC 2013
User avatar
Richard Chidiak
 
Posts: 946
Joined: Thu Oct 06, 2005 7:05 pm
Location: France

Postby Antonio Linares » Fri Aug 24, 2007 5:44 pm

Richard,

Ok, we have included a call to TerminateProcess() if there is a GPF. Thanks,

There is a new FWPPC build to download.
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42084
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Postby ChrisMillard » Mon Aug 04, 2008 2:02 pm

I think I have the same problem.

My application has multiple MODAL forms, once an error occurs past the first (main) form the application does not free itself from memory.

My platform is a Windows CE 5.0 device and does not seem to have a Task Manager, so I have to soft reset the device.

Will this August 2007 build fix this issue for me?

Although I have only just started our CE development we purchased FWPPC over 18 months ago. Its taken us a while to fund the project :)
My FIVECE.lib is dated 29/03/2007, I presume I will need to purchase an upgrade?
Regards

Chris Millard
ChrisMillard
 
Posts: 12
Joined: Wed Jul 09, 2008 7:07 pm
Location: Manchester, UK

Postby Antonio Linares » Mon Aug 04, 2008 5:43 pm

Chris,

The current version is September 2007. You can order the upgrade from www.fivetechsoft.com purchase section, thanks
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42084
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Postby Maurizio » Wed Aug 06, 2008 7:31 am

Hello
This close all the programms .

http://www2r.biglobe.ne.jp/~tascal/down ... eall_e.htm

Maurizio
User avatar
Maurizio
 
Posts: 824
Joined: Mon Oct 10, 2005 1:29 pm


Return to FiveWin for Pocket PC

Who is online

Users browsing this forum: No registered users and 10 guests