Hi all.
I'm a newbie to the resource macros of FASM, and i'm trying to add two binary files to a single RC Data dir in resources. The most obvious method doesnt work:
directory RT_RCDATA,appBinData
resource appBinData,\
32,LANG_NEUTRAL,binOne
resource appBinData,\
33,LANG_NEUTRAL,binTwo
resdata binOne
file 'file.dll'
endres
resdata binTwo
file 'file.bin'
endres
because the second declaration of appBinData is erroneous.
I tried various methods of adding binBass and binModu together in the single declaration (+ & , etc) but all returned errors.
i then tried this:
directory RT_RCDATA,appBinData
resource appBinData,\
32,LANG_NEUTRAL,binOne
resdata binOne
file 'file.dll'
file 'file.bin'
endres
which compiled fine, but when examining the resource section, file.bin appeared to be attached to the end of file.dll, which is needless to say, unacceptable.
If anyone could explain to me how this might be accomplished, i'd really appreciate it.
Thanks, Ehtyar.
NOTE: Please no suggestions about using a resource compiler and a linker, all i wish to know is whether or not this can be done using the macros, and if so, how.