Posted: Sun Jan 18, 2009 10:34 am
To User_Russian:
It seems that PB is particular with .rc file, that is, you must use absolute file path.
I encountered the same error when I was compilying the "Cute Menu.pb" with the .rc file edited by VC++.
To solve this problem, I edited the .rc file manually as following:
IDB_BITMAP1 BITMAP DISCARDABLE "c:\\PB\\res\\check.bmp"
IDB_BITMAP2 BITMAP DISCARDABLE "c:\\PB\\res\\pie.bmp"
IDB_BITMAP3 BITMAP DISCARDABLE "c:\\PB\\res\\sub.bmp"
IDB_BITMAP4 BITMAP DISCARDABLE "c:\\PB\\res\\address.bmp"
So, when you want to compile the "Cute Menu.pb", copy the whole folder "PB" to the root of disk C:\.
It seems that PB is particular with .rc file, that is, you must use absolute file path.
I encountered the same error when I was compilying the "Cute Menu.pb" with the .rc file edited by VC++.
To solve this problem, I edited the .rc file manually as following:
IDB_BITMAP1 BITMAP DISCARDABLE "c:\\PB\\res\\check.bmp"
IDB_BITMAP2 BITMAP DISCARDABLE "c:\\PB\\res\\pie.bmp"
IDB_BITMAP3 BITMAP DISCARDABLE "c:\\PB\\res\\sub.bmp"
IDB_BITMAP4 BITMAP DISCARDABLE "c:\\PB\\res\\address.bmp"
So, when you want to compile the "Cute Menu.pb", copy the whole folder "PB" to the root of disk C:\.