flat assembler
Message board for the users of flat assembler.

Index > Windows > Resource question

Author
Thread Post new topic Reply to topic
msmith



Joined: 22 Jun 2003
Posts: 40
Location: Missouri
msmith
The following gives an error:

Code:
section '.rsrc' resource data readable
directory RT_BITMAP,bitmaps

  resource bitmaps,\
           1,LANG_ENGLISH+SUBLANG_DEFAULT,printer,\
           2,LANG_ENGLISH+SUBLANG_DEFAULT,cut1

  bitmap printer,'OBCPrint.bmp'
  bitmap cut1,'OBCCut'
    


The following works:
Code:
section '.rsrc' resource data readable
directory RT_BITMAP,bitmaps

  resource bitmaps,\
           1,LANG_ENGLISH+SUBLANG_DEFAULT,printer

  bitmap printer,'OBCPrint.bmp'
    


What am I dong wrong and how do I declare multiple bitmaps?
Post 15 Jan 2006, 21:57
View user's profile Send private message Reply with quote
msmith



Joined: 22 Jun 2003
Posts: 40
Location: Missouri
msmith
Silly mistake... OBCCut should be OBCCut.bmp
Post 16 Jan 2006, 01:46
View user's profile Send private message 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-2020, Tomasz Grysztar.

Powered by rwasa.