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
What is FASM G
Hard Drive Recovery
Wiring your own LAN
Personal menu
Welcome Guest
User:
Pass:
Register!
Resend Validation Email
 
Forum
 

Module definition file to include file converter, def2inc is a tool converting module definition files to MASM \ POASM include files.

Vortex
Quote Post


Extremely Active Member
******

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


def2inc is a tool converting module definition files to Masm \ Poasm include files.
All the symbols in a def file should be enclosed between double quotes.

Stdcall functions should be encoded with a leading underscore :

CODE
"_MessageBoxA@16"


C functions does not have any decoration :

CODE
"printf"


A typical module definition file is demonstrated below :
CODE
LIBRARY kernel32
EXPORTS
"_ActivateActCtx@8"
"_AddAtomA@4"
"_AddAtomW@4"
"_AddConsoleAliasA@12"
"_AddConsoleAliasW@12"
"_AddLocalAlternateComputerNameA@8"

Wildcards like *.def are accepted :

CODE
def2inc *.def


def2inc is coded with Pelle's C development tools V5.0

http://vortex.masmcode.com/files/def2inc20.zip

Sponsored Links
PMEmail PosterUsers Website
Top
shoorick
Quote Post


Extremely Active Member
******

Group: Admins
Posts: 2342
Member No.: 160
Joined: 22-June 04


Thanks, Vortex! You always give us useful stuff!
PMEmail PosterUsers Website
Top
akyprian
Quote Post


Administrator
******

Group: Admins
Posts: 2328
Member No.: 1
Joined: 12-May 04


)( Vortex for another useful tool.
PMEmail PosterUsers Website
Top
Vortex
Quote Post


Extremely Active Member
******

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


Version 2.1

- New version built with Pelles C Version 6.50.8 Release Candidate 4
- Support for Jwasm
- Some minor optimizations in the source code

http://vortex.masmcode.com/files/def2inc21.zip
PMEmail PosterUsers Website
Top
khatch
Quote Post


New Member
*

Group: Members
Posts: 1
Member No.: 47109
Joined: 23-October 11


thanks for this information and that tool :coffee: :coffee: :coffee:
PMEmail Poster
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