Solved

Multiple overlay files

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

With more and more people tethered to the internet, advertisers can reach you in new and creative ways. Push notifications on your smartphone, customized advertisements based on your previous searches, and email inboxes filled with promotional pitch…
Cloud-based technologies and services will continue to grow in popularity in 2017 thanks to the simple, scalable and cost-effective solutions they deliver. Here are three areas where cloud adoption is poised to really take off.
This tutorial demonstrates a quick way of adding group price to multiple Magento products.
Need to grow your business through quality cloud solutions? With everything required to build a cloud platform and solution, you may feel like the distance between you and the cloud is quite long. Help is here. Spend some time learning about the Con…

929 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

8 Experts available now in Live!

Get 1:1 Help Now