中国DOS联盟论坛

China DOS Union

-- Unite DOS · Advance DOS · Grow DOS --
Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
Guest | Log in | Register | Members | Search | China DOS Union
中国DOS联盟论坛
The time now is 2026-09-15 00:49
47,812 topics / 349,917 posts / today 0 new / 48,268 members
DOS开发编程 & 发展交流 (开发室) » What tool should be used to view the interface function names in the lib library?
Printable Version  3,506 / 5
Floor1 yysn Posted 2010-10-14 10:56
初级用户 Posts 26 Credits 65
What tools can be used to view the interface function names in the lib library?

Under Windows, there are many tools to view DLLs, such as Depends that comes with VC.

But for lib files under DOS, it can't be viewed.

I don't know what tools can be used to view?

PS: I just want the function names, not the function interfaces. Of course, if there is a magical tool that can directly see the interface without decompiling, that would be the best, heh heh.
Floor2 qzwqzw Posted 2010-10-14 22:23
银牌会员 Posts 636 Credits 2,343
Actually, you can get a general idea by using Notepad. For a more advanced approach, use UltraEdit or WinHex. For a professional level, use tools like Strings and so on.
Floor3 yysn Posted 2010-10-25 14:58
初级用户 Posts 26 Credits 65
No way, I opened it with UE and there are a bunch of function names. I really don't know which one I should call - -
Floor4 cnch Posted 2010-11-07 00:53
中级用户 Posts 70 Credits 326
Libraries are generally visible in *.h files, which are very detailed. Take a close look!
Floor5 yysn Posted 2010-11-08 22:30
初级用户 Posts 26 Credits 65
Of course, there are no h files - -
Floor6 netwinxp Posted 2010-11-26 08:06
高级用户 Posts 366 Credits 741
You can use LIB.EXE that comes with assembly language to export function and public variable names, and also extract the corresponding module's.obj file. Use obj2asm xxx.obj >xxx.asm. If there are no extren modules and variables in the asm, you can declare the module functions as extern in the main program and then use this function by linking the main program.obj + xxx.obj. If there are extren modules, you need to gradually extract the corresponding modules until there are no extren modules.

If you are too lazy to extract, you can also use L2INC.EXE (available in MASM32) to get the LIB reference header file xxx.inc (in assembly language format). Remember to link the lib when linking.

[ Last edited by netwinxp on 2010-11-26 at 08:10 ]
[ Contact the Union admin team - 中国DOS联盟 - Standard version ]
Sponsored by ifanr Inc | © 2001–2023