dbaspot
Tags Register FAQ Calendar Search Today's Posts Mark Forums Read

Paradox and Vista - Paradox Database

This is a discussion on Paradox and Vista - Paradox Database ; I tried Paradox Runtime 9 on MS Vista last year and kept getting an error on exiting Paradox. It just says that PF Runtime has stopped working.....Windows is collecting information. Few seconds later, I just hit the CLOSE PROGRAM. Today ...


Home > Database Forum > Other Databases > Paradox Database > Paradox and Vista

Reply

 

LinkBack Thread Tools Display Modes
  #1  
Old 06-17-2008, 08:50 PM
Database Bot
 
Join Date: Sep 2009
Posts: 1,236,254
Database Administrator is on a distinguished road
Default Paradox and Vista

I tried Paradox Runtime 9 on MS Vista last year and kept getting an error on
exiting Paradox. It just says that PF Runtime has stopped
working.....Windows is collecting information. Few seconds later, I just
hit the CLOSE PROGRAM.

Today I tried Paradox Runtime 11 and experienced the same thing. Am I
missing something here? Is there a workaround for this? I know it is not
my program, b/c I just get into Paradox, then exit out and get the error.

Any insight?

Thanks,
Oscar


Reply With Quote
  #2  
Old 06-17-2008, 11:56 PM
Database Bot
 
Join Date: Sep 2009
Posts: 1,236,254
Database Administrator is on a distinguished road
Default Re: Paradox and Vista


> my program, b/c I just get into Paradox, then exit out and get the
> error.
>
> Any insight?



Error message on exit well known. In a startup script, I use the
following. The script then wait()s on a mainmenu form. You'll need
to adapt to your environment.

Note that ALL of the below could be done from within a form at exit.
In my case, I have the startup script doing some other stuff after the
menu form closes, so I incorporated into the startup script. Your
environment, your choice.


var
dysys dynarray[] anytype
endvar

; beginning of script, to figure out whether to exit for Vista
sysinfo(dySys)


try
s=dySys["WindowsVersion"]
s=s.substr(1,1) ;s.view()
if s="6" then ;Vista
writeenvironmentstring("Vista","Y")
else
writeenvironmentstring("Vista","N")
endif
onfail
errorclear()
endtry


; other startup stuff
; open mainmenu form, and wait
; on exiting from mainmenu form, below will shut down RUNTIME -
; you'll need to adjust for shutting down FULL.


try
if readenvironmentstring("Vista")="Y" then
exit()
Execute("TaskKill.exe /IM PDXRWN32.exe /F /T", No, ExeHidden)
return
endif
onfail
errorclear()
exit()
return
endtry



The above is the only bulletproof workaround (as reported by others
and used myself) that I am aware of.


------------------------------
Tony McGuire
http://www.wjCityCouncil.com
http://www.thewholevalley.com
http://www.westjordandogpark.com
________________________________
"Oscar Santiesteban" wrote in message
news:91Z5k.9648$s77.6659@bignews3.bellsouth.net...
>I tried Paradox Runtime 9 on MS Vista last year and kept getting an
>error on exiting Paradox. It just says that PF Runtime has stopped
>working.....Windows is collecting information. Few seconds later, I
>just hit the CLOSE PROGRAM.
>
> Today I tried Paradox Runtime 11 and experienced the same thing. Am
> I missing something here? Is there a workaround for this? I know
> it is not my program, b/c I just get into Paradox, then exit out and
> get the error.
>
> Any insight?
>
> Thanks,
> Oscar
>



Reply With Quote
Reply

Thread Tools
Display Modes



All times are GMT -4. The time now is 12:35 PM.