Hi
I am using Plato and I am having trouble with my resource script. This file, LV_Resources.rc, contains only one line:
LV_Map BITMAP Deutschland_Map.bmp
When this is compiled this error-message occurs:
Compiling file LV_Resources.rc using SRC. [Silverfrost SRC/WIN32 Ver 4.60 Copyright (c) Silverfrost Ltd 2022] Access violation: The instruction at address 1001884e attempted to read from location 158ca000 100187a8 read_bytes#2C [+00a6]
10018a82 __read [+02c3]
1001ecec fread [+02b3]
00437e68 BITMAP_RSC::convertToRBJ(<ptr>char) [+00c0]
004320c1 RESOURCES::convertToRBJ(<ptr>char,int) [+0093]
0042b489 convertResourcesToRBJ(<ptr>char) [+0021]
0042a672 compile_resource(void) [+0b40]
0040172f top_level_parser(enumᅣtl_context) [+001e]
eax=0098a000 ebx=00000006 ecx=158ca000 edx=00000000 esi=00000006 edi=101a6644 ebp=0377f7a8 esp=0377f764 IOPL=0 ds=002b es=002b fs=0053 gs=002b cs=0023 ss=002b flgs=00010206 [NC EP NZ SN DN NV] 0360/2820 TSTK=5 [ ] 1001884e movb dl,[ecx]
10018850 movb [ebp-0x15],dl
Compilation completed with no errors.
Linking failed due to the missing LV_resources.obj-file.
What was wrong? The 24-bit-bitmap is in the same directory as the program code.
Cheers Norbert