determine whether a file is in .obj (COFF) format

已取消 已发布的 Jan 20, 2010 货到付款
已取消 货到付款

I need a very simple program to open a file and determine whether it's a legal Microsoft object file (COFF format). Assume this cannot be done by checking the extension, which may have been removed or changed.

I actually thought I had this working already but just ran into a legal .obj file which my test does not find. Check the attachment for sample .obj files.

## Deliverables

Check the attachment. It contains 4 legal .obj files. The two in the Debug folder start with the documented COFF magic number 0x014c and are easily detected as COFF. The two in the Release folder must be correct, because they are linked successfully, but they do not begin with the magic number as I understand it.

C 编程 工程 微软 MySQL PHP 项目管理 软件构架 软件测试 视窗桌面

项目ID: #3109150

关于项目

5个方案 远程项目 活跃的Jan 21, 2010

有5名威客正在参与此工作的竞标,均价$39/小时

russianitgroup

See private message.

$8.5 USD 在7天内
(91条评论)
6.0
oba

See private message.

$55.25 USD 在7天内
(99条评论)
5.4
wamiqr

See private message.

$42.5 USD 在7天内
(27条评论)
4.5
vw7437936vw

See private message.

$34 USD 在7天内
(19条评论)
4.1
acreativede

See private message.

$55.25 USD 在7天内
(8条评论)
3.7