News:

MASM32 SDK Description, downloads and other helpful links
MASM32.com New Forum Link
masmforum WebSite

Macros for C ??????????

Started by cman, January 19, 2005, 12:44:06 AM

Previous topic - Next topic

cman

Is it possible to create MASM macro libraries that can be linked to and used in a C program? Can the power of MASMs macro processor be used in a C programs? Thanks... 

hutch--

I don't think it can be directly done using C syntax but if you want to use MASM macros, why not just use it to build modules in MASM and link them into you C code. Its a normal target market for MASM to build bits for C programs.

There are a form of macro used with MS C compilers but I doubt it can do the same stuff as the macro system in MASM. You could ask the question in one of the compiler subforums.
Download site for MASM32      New MASM Forum
https://masm32.com          https://masm32.com/board/index.php

wizzra

cman, no

c has a limited MACRO Options, unline MASM who rules this domain :) :cheekygreen: