WinAsm Studio, The Assembly IDE - Free Downloads, Source Code
Sponsors
Articles
Programming Quick Start
32-bit Assembler is Easy
Porting Iczelion tutorials
What is FASM
Hard Drive Recovery
Wiring your own LAN
Personal menu
Welcome Guest
User:
Pass:
Register!
Resend Validation Email
 
Forum
 

Binary to MS COFF object file converter, bin2coff is a tiny tool that converts any binary file to a linkable MS COFF object file.

Vortex
Quote Post


Extremely Active Member
******

Group: Moderators
Posts: 140
Member No.: 8
Joined: 13-May 04


Here is my new tool binary to MS COFF object file converter, bin2coff

This tiny tool converts any binary file to a linkable MS COFF object file.

Usage :

QUOTE
bin2coff srcfile.ext output.obj label

srcfile.ext :
    Any kind of binary file

output.obj :
    The name of the object file to be created

label  :     
    A label name presenting the embedded binary data to the linker
    Notice that the label should be prefixed with an underscore depending
    on the external label naming convention of your development tools.

Sponsored Links
PMEmail PosterUsers Website
Top
SeaFarer
Quote Post


Extremely Active Member
******

Group: Members
Posts: 1753
Member No.: 1464
Joined: 2-September 05


Thanks Vortex.

I'm still learning here, so try not to laugh to hard when I ask this... :lol:

Your new tool sounds cool indeed. However I'm not sure how to apply it. More precisely...

What would be a scenario where this tool would be most useful. Could you post an example or offer some detail? Thank you again. ;)
PM
Top
Vortex
Quote Post


Extremely Active Member
******

Group: Moderators
Posts: 140
Member No.: 8
Joined: 13-May 04


Hi SeaFarer,

Thanks for your kind words. There are some cases where you would like to embed binary data in your executable. For example :

- Creating SFX archives : compressed data + decompressor packed in one executable. You can convert your zip or rar archive to a COFF module to be linked with the main module.

- Embedding small images \ sound files in your project without using resources.

- Embedding large data blocks and arrays. Linking them as object modules is faster than using include files containing decimal or hexadecimal bytes.

Attached demonstrates the second scenario.

Attached File ( Number of downloads: 36 )
 Login or Register to download
PMEmail PosterUsers Website
Top
SeaFarer
Quote Post


Extremely Active Member
******

Group: Members
Posts: 1753
Member No.: 1464
Joined: 2-September 05


Thanks for this great example Vortex. Now I can see what you mean. This is a really nifty tool. ;)

PM
Top
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

Topic Options Reply to this topicStart new topicStart Poll

 

Sponsors
Computer Science

Internet
C/C++
Hardware & PC maintenance

HiEditor

General Discussions
Suggestions/Bug Reports
WinAsm Studio

General Discussions
Suggestions/Bug Reports
WinAsm Studio FAQ
Multilingual User Interface
Add-Ins
Assembly Programming

Main
Newbies
Projects
Custom Controls
Snippets
Announcements & Rules

Announcements

General

Online Degrees - Distance Learning
The Heap
Russian
Google