Solved

Pascal and Windows 95

Posted on 1998-08-23
5
182 Views
Last Modified: 2010-04-16
Is there a pascal compiler that will use the memory capabilites without requiring to use a graphics interface?
0
Comment
Question by:pipingbob
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
5 Comments
 
LVL 4

Expert Comment

by:jack_p50
ID: 1215458
What do you mean memory capabilities and graphics interface.
If you mean ability to use all extended memory without graphic mode, you need
to use Protected mode - it allow access to all mem.
0
 
LVL 2

Expert Comment

by:kellyjj
ID: 1215459
maybe you should learn some delphi,  that is pascal for windows.
0
 

Author Comment

by:pipingbob
ID: 1215460
From the way I asked the question, one could assume I have at least 8 meg of ram(actually I have 20 meg).  What I am looking for is a compiler (such as Turbo Pascal by Borland) that will allow me to use all the memory available since I do not have the option of using a "ram drive" nor do I want to use a ram drive.  What I am after is having larger arrays/linked lists without running out of memory.  Also I want to have source codes with larger that 64k of codes.  I do not want and refuse to to use graphical interfaces such as "Visual Basic...."

Thanks
Pipingbob
0
 

Expert Comment

by:dethstar
ID: 1215461
All programs run in real mode, which means that they have a 64K code block and a 64K data block. More memory can be used if you allocate memory for it. (malloc?) Also, you could use pointers to cut down on memory usage.
0
 
LVL 4

Accepted Solution

by:
binkzz earned 50 total points
ID: 1215462
Assuming you want to make nicely graphical applications, you're not going to get far with pascal in a dos prompt. The best thing to do is to either use asm (brrrr) or get C++4.5, which is free of charge. That will allow you to make easy to use pointers to the rest of the memory, and has a great way of dealing with windows, even though it's dos based.

Alternatively, you'd have to use pointers to arrays in pascal to make use of the extra memory, though using that will go of the cost of the speed usually.

If you need any examples, write again. But write slowly as i don't always have my glasses on.

Hope this helps,
Tom
0

Featured Post

[Webinar] Learn How Hackers Steal Your Credentials

Do You Know How Hackers Steal Your Credentials? Join us and Skyport Systems to learn how hackers steal your credentials and why Active Directory must be secure to stop them. Thursday, July 13, 2017 10:00 A.M. PDT

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Here's how to start interacting with our community through Post.
Sometimes clients can lose connectivity with the Lotus Notes Domino Server, but there's not always an obvious answer as to why it happens.   Read this article to follow one of the first experiences I had with Lotus Notes on a client's machine, my…
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…

734 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question