-Collapse +Expand
Paradox
Search Paradox Group:

Advanced
Paradox To/From
To/FromCODEGuides
Paradox Store
PRESTWOODSTORE

Prestwood eMagazine

December Edition
Subscribe now! It's Free!
Enter your email:

   ► MB LobbyCorel Paradox / ObjectPAL Coding BoardParadox Runtime & Distribution Topic   Print This     

Paradox 11 Runtime - Unexpected crash

Paradox 11 Runtime - Unexpected crash in Paradox Runtime & Distribution topic (part of our Corel Paradox / ObjectPAL Coding group).

Quick Search: Paradox   Runtime   Unexpected   Paradox 11   Paradox 11 Runtime   Unexpected crash  
rum
Frankfort, KY USA

Under certain conditions I recieve the following error when closing a database "The PfW Runtime has stopped working"  

This occurs when I open a database with the following switches (Sample shortcut command)

"C:\Program Files (x86)\Paradox Runtime\Programs\pdxrwn32.exe" -c -q -wN:\PortData_V11\CoastalAmerican N:\PortData_V11\CoastalAmerican\mainmenu.fdl

Once the application opens,   it will run as expected until I click the command X on the top right corner of the app window (not the open form, the APP).

If I choose File Exit from my menu or if I click the X in the top right of the open form,  it exits properly,  both of those options have code associated with them that shut down the database.

Does anyone know the cause of this OR does anyone have a code snippet to intercept the click on the app window?

Thanks!

 Posted 8 years ago (Thread Starter)
Comment Quote
About rum
Visit Profile
Membership pending.
Member subscribes to this thread with a verified email.
Member pending approval.
Web Presence Hidden.
Once above is taken care of, full Profile content will display including back links, about me, my message, custom Profile html, social networking links, message board signature, company profile, etc.

Post ID #16777, 4 replies
Thread Started 7/6/2017 9:43:21 AM
View Counter=1349
Last Reply Posted 7/20/2017 9:47:23 AM)
Location=Frankfort, KY USA 
Joined=8 years ago   MB Posts=128  
Moderator
Steven.G
Myrtle Beach, SC USA

you mean closing paradox itself, with your app open, causes the abort, correct?

you have cleanup code in your app, that closes everything first, but something that's open is causing the abort, externally

if you have a full copy of paradox, and if you know what your "close" event is doing, you can replicate and test, in full paradox.. it could be tcursors that aren't closed and/or the associated locks

Steven Green
Senior Software Engineer
Paradox Support Specialist DOS/WIN

Prestwood IT Solutions
8421 Auburn Blvd, Suite 256, Citrus Heights, CA 95610
Office: 916-726-5675 | Fax: 916-726-5676 | http://www.prestwood.com
 Posted 8 years ago
Comment Quote
About Steven.G
Visit Profile
Approved member.
Member subscribes to this thread with a verified email.
Old Account!
If this is your account, sign in to activate web presence data (sign in quarterly to keep active). Alternatively, you can subscribe to our monthly eMag with a valid email address.
Web Presence Hidden.
Once above is taken care of, full Profile content will display including back links, about me, my message, custom Profile html, social networking links, message board signature, company profile, etc.

Post ID #16778 (Level 2) and Parent is 16777
Reply Posted 7/6/2017 10:02:33 AM
Location=Myrtle Beach, SC USA 
Joined=9 years ago   MB Posts=463  
rum
Frankfort, KY USA

Is there a tool or process that shows open libraries and tcursors?

 Posted 8 years ago (Thread Starter)
Comment Quote
About rum
Visit Profile
Membership pending.
Member subscribes to this thread with a verified email.
Member pending approval.
Web Presence Hidden.
Once above is taken care of, full Profile content will display including back links, about me, my message, custom Profile html, social networking links, message board signature, company profile, etc.

Post ID #16779 (Level 3) and Parent is 16777
Reply Posted 7/6/2017 11:25:21 AM
Location=Frankfort, KY USA 
Joined=8 years ago   MB Posts=128  
Moderator
Steven.G
Myrtle Beach, SC USA

not that I'm aware of

Steven Green
Senior Software Engineer
Paradox Support Specialist DOS/WIN

Prestwood IT Solutions
8421 Auburn Blvd, Suite 256, Citrus Heights, CA 95610
Office: 916-726-5675 | Fax: 916-726-5676 | http://www.prestwood.com
 Posted 8 years ago
Comment Quote
About Steven.G
Visit Profile
Approved member.
Member subscribes to this thread with a verified email.
Old Account!
If this is your account, sign in to activate web presence data (sign in quarterly to keep active). Alternatively, you can subscribe to our monthly eMag with a valid email address.
Web Presence Hidden.
Once above is taken care of, full Profile content will display including back links, about me, my message, custom Profile html, social networking links, message board signature, company profile, etc.

Post ID #16780 (Level 4) and Parent is 16777
Reply Posted 7/6/2017 2:09:25 PM
Location=Myrtle Beach, SC USA 
Joined=9 years ago   MB Posts=463  
Most Recent Post
rum
Frankfort, KY USA

Turns out the runtime was crashing beacause of interdependence of certain libraries.  The order that they were opened and the order that they were closed cause the crash.

Open LibA

Open LibB  (which also opens LIBA because it has a dependency on LIBA)

Open LIBOthers

Close LibA

Close LibOthers

Close LibB   = Crash

Simply closing them in the reverse order that they were opened fixed the issue.

 Posted 8 years ago (Thread Starter)
Comment Quote
About rum
Visit Profile
Membership pending.
Member subscribes to this thread with a verified email.
Member pending approval.
Web Presence Hidden.
Once above is taken care of, full Profile content will display including back links, about me, my message, custom Profile html, social networking links, message board signature, company profile, etc.

Post ID #16788 (Level 5) and Parent is 16777
Reply Posted 7/20/2017 9:42:55 AM
Location=Frankfort, KY USA 
Joined=8 years ago   MB Posts=128  

Revive Thread!

Add a comment to revive this old thread and make this archived thread more useful.

Write a Comment...
Full Editor
...
Sign in...

If you are a member, Sign In. Or, you can Create a Free account now.


Anonymous Post (text-only, no HTML):

Enter your name and security key.

Your Name:
Security key = P1163A1
Enter key:
Icon: A Post    Thread    Idea    Important!    Cool    Sad    No    Yes    Includes a Link...   
Thread #16777 Counter
1349
Since 7/6/2017
Go ahead!   Use Us! Call: 916-726-5675  Or visit our new sales site: 
www.prestwood.com


©1995-2025 Prestwood IT Solutions.   [Security & Privacy]