In all versions of BlackBox, if you try to open a regular textfile using StdCmds.OpenAuxDialog, you get:
TRAP 21 (precondition violated)
HostPorts.Port.SetSize [00000076H]
.h INTEGER -34
.p HostPorts.Port [02A876E0H]
.w INTEGER 638
Try for example: <Ctrl-Q>"StdCmds.OpenAuxDialog('BlackBox_1.7.3-a1_Changes.odc', 'TEST')"
The above-mentioned trap appears twice. Even more, regardless of the trap the file opens correctnly.
Please note that this is not a matter of when is appropriate to use OpenAuxDialog, OpenDoc or other open command variant; the point is that there seems to be an old bug living there.
StdCmds.OpenAuxDialog Trapped
Jump to
- News and links
- ↳ BlackBoxFramework.org
- ↳ News
- BlackBox Component Builder Support
- ↳ Common questions
- ↳ BlackBox Framework
- ↳ Component Pascal
- ↳ GUI problems
- ↳ System
- ↳ Components Support
- ↳ Components collections
- ↳ Helmut Zinn Component Pascal Collection
- ↳ OberonCore BlackBox Components Collection
- ↳ BlackBox Extension Packages
- ↳ Components
- ↳ CpcDropDown
- ↳ Tabs
- ↳ Co_
- ↳ Coco/R
- ↳ Ctls
- ↳ Dia
- ↳ GftSearch
- ↳ Http
- ↳ Lib
- ↳ SQLite
- ↳ Vi
- ↳ Crypto
- Report
- ↳ Bug
- ↳ Feature
- ↳ Documentation
- Frameworks & Compilers
- ↳ BlackBox Cross-Platform
- ↳ Download
- ↳ CPC Edition of BlackBox
- ↳ MultiOberon
- ↳ Hershel
- BlackBox development
- ↳ Brainstorming
- ↳ Forum administration
- Useful links
- ↳ International Wiki
- ↳ Archive of the old mailing list
- ↳ The book "Computing Fundamentals" by Stan Warford
- ↳ BlackBox Component Builder forum (in Russian)