Article-I.D.: ritcv.8939
Posted: Sun Oct 6 12:15:50 1985
Date-Received: Wed, 9-Oct-85 03:48:38 EDT
Reply-To: jcd@ritcv.UUCP
Distribution: net
Organization: Rochester Institute of Technology, Rochester, NY
Lines: 17
Summary: How do I use MS-DOS2.1 function calls to allocate memory?
I have been trying without success to use MS-DOS2.1 function calls
48, 49, 4A to do memory allocation on my TIPC. When I try to allocate
I'm informed that I have insufficient size. That makes sense because
I never freed anything.
When I try to free before allocating I get "arena trashed". If someone
can give step-by-step guidance I would appreciate it. My guess is that
1. I'm not aligning things properly so the system can't find
the boundary tags.
2. I'm not setting the proper switches on the linker.
Also, can more than 64K be allocated or freed?
Thanks in advance.