FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Pocket PC How to replace aborted exe ?
Posts: 3
Joined: Mon Mar 26, 2007 08:32 AM
How to replace aborted exe ?
Posted: 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

Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM
How to replace aborted exe ?
Posted: 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
Posts: 42
Joined: Sun Oct 09, 2005 11:47 AM
How to replace aborted exe ?
Posted: Fri Aug 24, 2007 01: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

Posts: 946
Joined: Thu Oct 06, 2005 07:05 PM
How to replace aborted exe ?
Posted: Fri Aug 24, 2007 02: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
Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM
How to replace aborted exe ?
Posted: Fri Aug 24, 2007 05: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
Posts: 12
Joined: Wed Jul 09, 2008 07:07 PM
How to replace aborted exe ?
Posted: Mon Aug 04, 2008 02: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
Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM
How to replace aborted exe ?
Posted: Mon Aug 04, 2008 05: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
Posts: 842
Joined: Mon Oct 10, 2005 01:29 PM
How to replace aborted exe ?
Posted: Wed Aug 06, 2008 07:31 AM

Hello
This close all the programms .

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

Maurizio

Continue the discussion