Solved

DOS DLL's?

Posted on 1998-03-30
3
219 Views
Last Modified: 2012-05-04
hi everyone,
      i'm just wondering whether borland c++ (or other compilers) dll's work for dos programs or not?
if it's positive ,can you also show me how to do it?

byte jacky
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
3 Comments
 
LVL 22

Accepted Solution

by:
nietod earned 0 total points
ID: 1183943
Sorry no.
0
 
LVL 22

Expert Comment

by:nietod
ID: 1183944
DOS EXEs and Windows EXEs use a different format.  (they actually are pretty similar.)  But the windows EXE contain information about the DLLs it uses and the functions it imports from the Dlls.  DOS EXEs don't have this information.  That's the main reason it is not possbile.  There are lots of other reasons.  Like the different memory schemes etc.
0
 
LVL 22

Expert Comment

by:nietod
ID: 1183945
However, if you want a DOS LIKE program (that is not a GUI or graphical user Interface program) that does use DLLs you can create a windows console program.  Thiis is a 32 bit windows program that has access to all of the windows API and all the goodies that entails, but that handles input and output through a character console (like a DOS program.)  Actually the console program can make use of lots of fancy console features that are not typically available to a DOS program.
0

Featured Post

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

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

Written by John Humphreys C++ Threading and the POSIX Library This article will cover the basic information that you need to know in order to make use of the POSIX threading library available for C and C++ on UNIX and most Linux systems.   [s…
IntroductionThis article is the second in a three part article series on the Visual Studio 2008 Debugger.  It provides tips in setting and using breakpoints. If not familiar with this debugger, you can find a basic introduction in the EE article loc…
The goal of the video will be to teach the user the concept of local variables and scope. An example of a locally defined variable will be given as well as an explanation of what scope is in C++. The local variable and concept of scope will be relat…
The viewer will be introduced to the member functions push_back and pop_back of the vector class. The video will teach the difference between the two as well as how to use each one along with its functionality.

630 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