Solved

Multiple overlay files

Posted on 1997-09-04
3
341 Views
Last Modified: 2011-09-20
I'm currently working on a DOS program that uses overlays. As the Turbo Pascal Overlay Unit only can produce one overlay file(.OVR), I'm wondering how I can produce multiple separated overlay files to collect different functions in my program. (I wanna group them up)
Are there any source-free overlay managers or examples in the Internet right now?
ls there any similar o.m or examples available for C?
Thanks

Best Regards
Jacky Luk
0
Comment
Question by:whluk
[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
3 Comments
 
LVL 2

Expert Comment

by:kellyjj
ID: 1215545
When you say overlay, do you mean you are  trying to mask some functions?
0
 

Author Comment

by:whluk
ID: 1215546
Adjusted points to 100
0
 

Accepted Solution

by:
igork earned 100 total points
ID: 1215547
As far as I remember it is impossible to create multiple overlay files under Turbo Pascal or Borland Pascal. Overlay units always are linked into single file and the only options are changing default filename and allocation overlay in EMS.

Actually the exact solution of your problem are Dynamically Linked Libraries (DLL). DLLs are just multiple files libraries linked in run-time. These libraries can be used not only under Windows but also under DOS with 16-bit DPMI extender. If you work with BP7 you will have no problem in creating DPMI applications (it is one of standard targets for BP7)and creating and calling DLLs. Furthermore you can use the same DLLs both for DOS and for Windows.

Regards,
IgorK.  
0

Featured Post

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

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

Suggested Solutions

The following article is comprised of the pearls we have garnered deploying virtualization solutions since Virtual Server 2005 and subsequent 2008 RTM+ Hyper-V in standalone and clustered environments.
The goal of this blog is: - To define the incident management process - To go over the key elements of an incident management system - To look into incident alert management tools that integrate with ConnectWise.
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…
This video shows how to use Hyena, from SystemTools Software, to update 100 user accounts from an external text file. View in 1080p for best video quality.

739 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