Solved

Multiple overlay files

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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Read about why it is more lucrative for an IT company to participate in government projects.
A project that enables an administrator to perform actions within a user session context not just at the time of login but any time later on day(s) or week(s) later.
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

830 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