China DOS Union

-- Unite DOS · Advance DOS · Grow DOS --

Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
DOS stands for freedom, openness and progress. Let us work hard, learn from the openness and GNU spirit of FreeDOS and Linux, and together build and grow a free GNU GPL world!

中国DOS联盟论坛
The time now is 2026-08-01 01:51
中国DOS联盟论坛 » DOS开发编程 & 发展交流 (开发室) » Please tell me how to implement the dynamic link library technology under DOS. View 1,906 Replies 2
Original Poster Posted 2010-01-25 10:25 ·  中国 北京 联通
初级用户
Credits 54
Posts 17
Joined 2009-11-27 12:03
16-year member
UID 155470
Gender Male
Status Offline
Today I saw that a software under DOS uses a dynamic link library, but programs under DOS all copy the code directly into the executable program instead of calling the code of the dynamic link library. Please tell me how to implement a dynamic link library, or how to call a dynamic link library.
Floor 2 Posted 2010-01-27 16:36 ·  中国 广东 深圳 宝安区 电信
新手上路
Credits 2
Posts 1
Joined 2010-01-26 21:34
16-year member
UID 159546
Gender Male
Status Offline
Programming it yourself is relatively complicated, which is equivalent to one EXE calling another EXE.

Is what you see a console program under win32? Although you enter commands in the DOS command prompt, it actually calls win-related APIs to implement.

My QQ is: 673950366
Floor 3 Posted 2010-01-28 11:08 ·  中国 北京 联通
初级用户
Credits 54
Posts 17
Joined 2009-11-27 12:03
16-year member
UID 155470
Gender Male
Status Offline
No, this is a pure DOS program, but it's a 16-bit program running in DOS protected mode, developed with Borland PowerPack for DOS, and it calls the BGI16.dll library
Forum Jump: