将COFF lib文件转换为OMF格式 [英] Converting COFF lib file to OMF format

查看:691
本文介绍了将COFF lib文件转换为OMF格式的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Hello
是否有任何方法可以将COFF库(lib文件)转换为OMF库以便与C ++ Builder6一起使用?这个coff不只是导入库,它conatians一些代码。
当我尝试使用borland的coff2omf.exe转换它,我从15KB文件获取1KB文件。

Hello Is there any way to convert COFF library (lib file) to OMF library for using with C++Builder6 ? This coff is not just import library, it conatians some code. When I try to convert it using borland's coff2omf.exe, I get 1KB file from 15KB file.

推荐答案

相当典型的OMF对象文件是比等效的COFF对象小,所以你得到的可能是有效的。

It's fairly typical for an OMF object file to be a lot smaller than an equivalent COFF object, so what you're getting may well be valid.

如果你发现它真的不是,你可以打破lib文件为单独的对象文件,反汇编对象文件,重新组装到OMF对象文件,并把它们放在一个OMF lib文件。

If you find that it's really not, you can probably break the lib file into individual object files, disassemble the object files, re-assemble them to OMF object files, and put those together into an OMF lib file.

这篇关于将COFF lib文件转换为OMF格式的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆