Solved

Multiple overlay files

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

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

This article explains how to prepare an HTML email signature template file containing dynamic placeholders for users' Azure AD data. Furthermore, it explains how to use this file to remotely set up a department-wide email signature policy in Office …
In this article, I will show you HOW TO: Install VMware Tools for Windows on a VMware Windows virtual machine on a VMware vSphere Hypervisor 6.5 (ESXi 6.5) Host Server, using the VMware Host Client. The virtual machine has Windows Server 2016 instal…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…
This tutorial demonstrates a quick way of adding group price to multiple Magento products.

757 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

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now