> 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
>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
>