nie wiem czy to normalne (w koncu w xp nie ma dos-a) ale u mnie nie da sie wywolac nic poleceniem Exec (w turbo pascalu)..
zwraca blad ze za malo pamięci...
jakies pomysly??
Jeśli chodzi o błąd #202 lub #203, to ustaw więcej pamięci w opcjach IDE, albo przy pomocy dyrektywy $M.
A jeśli o out of memory, to
Help napisał(a)
+---------------+
| Out of memory |
+---------------+This error occurs when the compiler has run
out of memory.Try these possible solutions, in this order:
Fix the problem outside the IDE:
- Remove TSRs from memory.
- Modify CONFIG.SYS to remove unnecessary
drivers; also reduce files and buffers
(SET FILES = 20, SET BUFFERS = 20).Reconfigure Turbo Pascal:
- Set CompilełDestination set to Disk.
- Set OptionsłLinkerłLink buffer to Disk.
** Turn Graphics Screen Save OFFModify your source code:
- Overlay units in your program
- In OptionsłMemory Sizes, reduce
Stack Size and Low Heap Limit- In OptionsłCompiler Options:
** Turn both Range Checking and
Stack Checking OFF
** Turn Emulation OFF during debuggingTry using the IDE to edit your program,
then use the command-line compiler
(TPC.EXE or TPCX.EXE) to compile it and
Turbo Debugger to debug it.If none of these suggestions help, your
program or unit might just be too large to
compile in the amount of memory available; you
might have to break it into two or more
smaller units.
ntvdm szwankuje na niektórych kompach w win xp, no ale skoro programy działają, tylko problem z procką Exec, to raczej nie wina windowsa.
Poza tym
Help napisał(a)
[...]Errors are reported in DosError. When
compiling a program that uses Exec, reduce the
"maximum" heap size; otherwise, there won't be
enough memory (DosError = 8).
[...]
Czyli to, co napisałem na samym początku - dyrektywa $M