flat assembler
Message board for the users of flat assembler.
![]() |
Author |
|
madmatt
Does windows support multiple resource sections, just like it supports multiple code and data sections? I notice that FASMW won't let me define more than one.
|
|||
![]() |
|
f0dder
I don't know for sure, but I doubt it - one of the things windows is VERY picky about is the structure of the resource directory...
|
|||
![]() |
|
madmatt
Just wondering if this is possible, I wanted to use a file that was posted here that would give all your dialogs, buttons, and other things the windows XP look. but it used the fasmw macros to defined the resource section. I mainly use RadAsm and a .res file for my resource data. So I was wondering if I could use two resource sections, one for fasmw macros, and one for .res files created by RadAsm.
So that's the reason, It would be nice if you could. |
|||
![]() |
|
S.T.A.S.
Well, actually, windos shouldn't rely on something like "resource section". It use "resource directory of PE file" instead. Resource directory entries can point to data in *any* section of PE file.
This is theory. BUT in practice it probably won't work well, because of some lame windos dll is using hardcoded string '.rsrc' :-/ May be XP is fixed, but there are many other version of windos arround... |
|||
![]() |
|
madmatt
May have to use a resource hack utility to combine two resources into one, that may be the only way to do what I want to do. Yep, the only way.
|
|||
![]() |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2020, Tomasz Grysztar. Also on GitHub, YouTube, Twitter.
Website powered by rwasa.