For Programmers: Free Programming Magazines  


Home > Archive > Visual Studio > July 2004 > Resource file meta language









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Resource file meta language
Mike Lischke

2004-07-16, 3:59 pm

Hi all,

I'm currently building a parser for resource files and saw in certain rc =
files a syntax that is not described in MSDN. What I found were two forms:

1) Metatokens wrapped by square brackets. This looks like:

#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
LANGUAGE [!output PRIMARY_LANG_ID], [!output SUB_LANG_ID]
#pragma code_page([!output CODE_PAGE])

2) KInd of metavariables, identifiers decorated with a dollar sign. This =
looks like:

IDD_DIALOG$(_MAC)

I got the impression these modifications of the standard rc language is a =
kind of pre-preprocessor syntax. But which application does use this and =
where can I get a formal description? Does anybody know about this kind of =
syntax or can give me a reference to a web page etc?

Mike
--
www.soft-gems.net
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com