WinAsm Studio, The Assembly IDE - Free Downloads, Source Code
Sponsors
Articles
Programming Quick Start
32-bit Assembler is Easy
Porting Iczelion tutorials
What is FASM
Hard Drive Recovery
Wiring your own LAN
Personal menu
Welcome Guest
User:
Pass:
Register!
Resend Validation Email
 
Forum
 

Bug in Resource editor, when changing an existing resource file of a Dialogbox for example, wich contains a bitmap, the resource is saved incorrectly.

glAsh
Quote Post


New Member
*

Group: Members
Posts: 1
Member No.: 11097
Joined: 10-August 08


Hiya, when changing an existing resource file of a Dialogbox for example, wich contains a bitmap, the resource is saved incorrect. after apllying changes, the bitmap wont be vieuwed... I will past some lines to show what i mean

CODE

#define IDB_BITMAP 1010
#define ID_ICON 1034
#define ID_ICON_2 1035

IDB_BITMAP BITMAP DISCARDABLE "Res/my_cool_bitmap.bmp"
ID_ICON ICON DISCARDABLE "Res/Monk.ico"
ID_ICON_2 ICON DISCARDABLE "Res/Greenman.ico"

IDD_DIALOG1 DIALOGEX 6,6,206,169
CAPTION "Some Dialog"
FONT 8,"MS Sans Serif"
STYLE 0x80c80848
EXSTYLE 0x00000000
BEGIN
CONTROL IDB_BITMAP,IDC_IMG1,"Static",0x5000020e,6,7,194,83,0x00000008
....
....



above code works... , but now when i apply changes with the visual resource editor
the last line ( ' IDB_BITMAP,IDC_...... ')
Will be saved as below:

CODE

    CONTROL  "IDB_BITMAP",IDC_IMG1,"Static",0x5000020e,6,7,194,83,0x00000008



now after compiling the bitmap is *NOT* displayed, and i have to remove the " before and after IDB_BITMAP using text edit

Ofcoz its not a real big deal, but i thought you would like to know smile.gif

greetz: glAsh

PMEmail Poster
Top
shoorick
Quote Post


Extremely Active Member
******

Group: Admins
Posts: 2301
Member No.: 160
Joined: 22-June 04


hi!

unfortunately you're right - there is an issue with it... just do not hope for fast fixing it

regards!
PMEmail PosterUsers Website
Top
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

Topic Options Reply to this topicStart new topicStart Poll

 

Sponsors
Computer Science

Internet
C/C++
Hardware & PC maintenance

HiEditor

General Discussions
Suggestions/Bug Reports
WinAsm Studio

General Discussions
Suggestions/Bug Reports
WinAsm Studio FAQ
Multilingual User Interface
Add-Ins
Assembly Programming

Main
Newbies
Projects
Custom Controls
Snippets
Announcements & Rules

Announcements

General

Online Degrees - Distance Learning
The Heap
Russian
Google