Solved

Multiple overlay files

Posted on 1997-09-04
3
331 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
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

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

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

Suggested Solutions

How do we balance the user experience (UX) with reasonable security measures? It can be done, if you keep these fundamentals in mind.
Employees depend heavily on their PCs, and new threats like ransomware make it even more critical to protect their important data.
This tutorial gives a high-level tour of the interface of Marketo (a marketing automation tool to help businesses track and engage prospective customers and drive them to purchase). You will see the main areas including Marketing Activities, Design …
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…

786 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