get "Error ID: 9" on POPUP statement with an optio

This forum designated to discuss the Resource Builder
Post Reply
Michel_Hache
Posts: 2
Joined: Wed Sep 28, 2005 6:00 pm

get "Error ID: 9" on POPUP statement with an optio

Post by Michel_Hache »

When attempting to open my .rc file, Resource Builder reports "Error ID: 9" when it reaches the first POPUP statement within a MENUEX resource, but the .rc file compiles fine in visual studio. Are MENUEX resources not supported?

exe is version 2.3.3.3, compiler version 5.4.1.21, linker version 1.0.0.46

isiticov
Site Admin
Posts: 2213
Joined: Thu Nov 21, 2002 3:17 pm

Post by isiticov »

Could you please send us sample RC file which causes this and we will fix this for the next release?
Best regards,
Igor Sitikov.

Michel_Hache
Posts: 2
Joined: Wed Sep 28, 2005 6:00 pm

Post by Michel_Hache »

Just creating a normal Doc/view project, I added a popup menu and set a few menu item options that got visual studio to create a MENUEX resource instead of a MENU resource, and resource builder failed on the POPUP line when reading this section:

IDR_POPUPTEST MENUEX
BEGIN
POPUP "", 65535,MFT_STRING,MFS_ENABLED
BEGIN
MENUITEM "Test1", ID_TEST1,
MFT_STRING | MFT_RIGHTORDER | MFT_RIGHTJUSTIFY,MFS_ENABLED
MENUITEM MFT_SEPARATOR
MENUITEM "Test2", ID_TEST2,MFT_STRING,
MFS_ENABLED
END
END

isiticov
Site Admin
Posts: 2213
Joined: Thu Nov 21, 2002 3:17 pm

Post by isiticov »

Sorry, our fault. The forthcoming version 2.4 will support MENUEX resources.
Best regards,
Igor Sitikov.

Post Reply