Pascal

Moderators: None (Apply to moderate this forum)
Number of threads: 4095
Number of posts: 14004

This Forum Only
Post New Thread
Single Post View       Linear View       Threaded View      f

Report
NEED HELP ON USING <EXEC> Posted by theronkid on 9 Dec 2001 at 6:40 PM
Hi, i'm new to this board. I would like help for my program. I inserted code in a procedure that executes an external program, however, when I run the program, i get a DOS error #8, which is 'not enough memory'. It happens no matter what size the external program is. Please help!!! Thanks in advance,

Ron
Report
Re: NEED HELP ON USING <EXEC> Posted by Manning on 9 Dec 2001 at 7:14 PM
: Hi, i'm new to this board. I would like help for my program. I inserted code in a procedure that executes an external program, however, when I run the program, i get a DOS error #8, which is 'not enough memory'. It happens no matter what size the external program is. Please help!!! Thanks in advance,

If you are using a dos compiler, you'll have to play with the $M compiler directive. I havent had to use that in a long time, so I cant make anyy suggestions. (If you look at the help contents for SwapVectors it uses {$M 8192, 0, 0} though)

An alternative would be to try a Win32 compiler like FPC (www.freepascal.org) or VPascal (www.vpascal.com) which wouldnt require that.



 

Recent Jobs

Official Programmer's Heaven Blogs
Web Hosting | Browser and Social Games | Gadgets

Popular resources on Programmersheaven.com
Assembly | Basic | C | C# | C++ | Delphi | Flash | Java | JavaScript | Pascal | Perl | PHP | Python | Ruby | Visual Basic
© Copyright 2011 Programmersheaven.com - All rights reserved.
Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
Operated by CommunityHeaven, a BootstrapLabs company.