Click here to Skip to main content
15,867,594 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have .DLL file and I want to Link this DLL with My Project with is running on MS-DOS System.
So How Can we do it, if we can use .dll on ms-dos system.

What I have tried:

I have Create One dll on visual studio 2015 and I am trying to add this dll on my project =, but still I am not sure We can Use Dll on MS-DOS System.
Posted
Updated 31-Dec-18 5:32am
Comments
[no name] 31-Dec-18 5:04am    
Do you maybe mess up MS DOS (a very old operating system) and Windows Command Line?

I do not believe that MS-DOS supports dynamic-link library loading.
 
Share this answer
 
DOS itself doesn't support loading .DLL's for you. Your executable code has to implement it's own loader to do this.

Chances are really good that you created a .DLL file that can only be used by Windows, not DOS.

Also, are you confusing a Windows, Console application that runs in a Command Prompt on Windows with an actual DOS booted system? The command prompt in Windows looks and works like DOS, but is most certainly not DOS.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900