flat assembler
Message board for the users of flat assembler.

Index > Windows > importing resources(in DLL) with digits in names

Author
Thread Post new topic Reply to topic
achumack



Joined: 12 Jan 2005
Posts: 1
Location: Ukraine
achumack 12 Jan 2005, 12:38
There are some problem when creating simple dll and importing resources by names from it, when resources name contain '_0123...9' symbols
Code:
section '.rsrc' resource from 'RES.res' data readable    

res.rc
Code:
index.html html "index.html"
1.html     html "1.html"    

I try to get this HTML resource using smth like this
res://D:\flat_asm\tmp\MySimple.dll/index.html - It's working
res://D:\flat_asm\tmp\MySimple.dll/1.html - NO

And there are no problems when i try to export this resouse using Win32API.
Post 12 Jan 2005, 12:38
View user's profile Send private message ICQ Number Reply with quote
Madis731



Joined: 25 Sep 2003
Posts: 2139
Location: Estonia
Madis731 12 Jan 2005, 16:56
You can't start ANY label, name, macro or description with NUMBERS.
Look at the highlihted code you gave us - it is recognized as a number.

You should use "One.html" or just "Html" instead!
Post 12 Jan 2005, 16:56
View user's profile Send private message Visit poster's website Yahoo Messenger MSN Messenger Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.