mastintin wrote:one sample for inline Data please?
CALENDAR BITMAP
{
'42 4D FE 00 00 00 00 00 00 00 76 00 00 00 28 00'
'00 00 0E 00 00 00 11 00 00 00 01 00 04 00 00 00'
'00 00 88 00 00 00 00 00 00 00 00 00 00 00 00 00'
'00 00 00 00 00 00 00 00 00 00 00 00 80 00 00 80'
'00 00 00 80 80 00 80 00 00 00 80 00 80 00 80 80'
'00 00 80 80 80 00 C0 C0 C0 00 00 00 FF 00 00 FF'
'00 00 00 FF FF 00 FF 00 00 00 FF 00 FF 00 FF FF'
'00 00 FF FF FF 00 88 88 88 88 88 88 88 00 88 77'
'77 77 77 77 78 00 8F FF FF FF FF FF 78 00 8F 00'
'0F 00 0F 0F 78 00 8F FF FF FF FF FF 78 00 8F FF'
'FF FF FF FF 78 00 8F FF F9 99 FF FF 78 00 8F FF'
'FF 9F FF FF 78 00 8F FF FF 9F FF FF 78 00 8F FF'
'FF 9F FF FF 78 00 8F FF F9 9F FF FF 78 00 8F FF'
'FF 9F FF FF 78 00 8F FF FF FF FF FF 78 00 8F FF'
'FF FF FF FF 78 00 8F FF 0F FF F0 FF 88 00 88 88'
'08 88 80 88 88 00 88 88 88 88 88 88 88 00'
}
TimStone wrote:I've been using 32 bit alpha for many years. I use xHarbour(.com) which uses Pelles, and linking is never a problem.
I also use Microsoft Visual Studio, and it is never a problem there.
Someone asked what was wrong with Borland use today ? I guess this is one example.
DISABLE BITMAP
{
'42 4D 36 19 00 00 00 00 00 00 36 00 00 00 28 00 '
'00 00 28 00 00 00 28 00 00 00 01 00 20 00 00 00 '
'00 00 00 19 00 00 12 0B 00 00 12 0B 00 00 00 00 '
'00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 '
'00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 '
'00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 '
'00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 '
'00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 '
'00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 '
'00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 '
'00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 '
'00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 '
'00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 '
'00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 '
'00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 '
'00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 '
'00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 '
'00 00 00 00 00 00 00 00 00 01 00 00 00 01 00 00 '
'00 02 00 00 00 03 00 00 00 03 00 00 00 02 00 00 '
'00 01 00 00 00 01 00 00 00 00 00 00 00 00 00 00 '
'00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 '
'00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 '
'00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 '
'00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 '
'00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 '
'00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 '
'00 00 00 00 00 00 00 00 00 01 00 00 00 04 00 00 '
'00 0C 00 00 00 17 00 00 00 24 00 00 00 2F 00 00 '
'00 37 00 00 00 3B 00 00 00 3B 00 00 00 38 00 00 '
'00 2F 00 00 00 24 00 00 00 18 00 00 00 0C 00 00 '
'00 05 00 00 00 01 00 00 00 00 00 00 00 00 00 00 '
'00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 '
'00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 '
'00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 '
'00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 '
'00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 '
'00 03 00 00 00 0D 00 00 00 23 00 00 00 41 04 04 '
'0C 63 14 14 37 8A 29 29 64 AB 3A 3A 85 C0 41 41 '
'9C CE 3C 3C A3 D2 35 35 A3 D2 2C 2C 9E CF 1E 1E '
'87 C1 12 12 65 AC 08 08 3A 8C 01 01 0D 64 00 00 '
'00 41 00 00 00 24 00 00 00 0E 00 00 00 03 00 00 '
'00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 '
'00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 '
'00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 '
'00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 '
'00 00 00 00 00 00 00 00 00 02 00 00 00 0F 00 00 '
'00 30 02 02 0B 61 15 15 5E A6 31 31 B4 DA 4C 4C '
'ED F7 5D 5D FC FE 6A 6A FF FF 73 73 FF FF 6C 6C '
'FF FF 60 60 FF FF 53 53 FF FF 47 47 FF FF 3B 3B '
'FF FF 2E 2E FF FF 21 21 FD FE 13 13 EF F8 06 06 '
'B5 DB 00 00 5E A7 00 00 0C 63 00 00 00 33 00 00 '
'00 10 00 00 00 02 00 00 00 00 00 00 00 00 00 00 '
'00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 '
'00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 '
'00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 '
'00 01 00 00 00 09 00 00 00 2A 01 01 14 68 10 10 '
'84 BF 28 28 ED F7 36 36 FF FF 43 43 FF FF 4F 4F '
'FF FF 5C 5C FF FF 6A 6A FF FF 75 75 FF FF 78 78 '
'FF FF 78 78 FF FF 6E 6E FF FF 5B 5B FF FF 45 45 '
'FF FF 33 33 FF FF 21 21 FF FF 14 14 FF FF 08 08 '
'FF FF 00 00 FD FF 00 00 E8 F8 00 00 85 C3 00 00 '
'18 6C 00 00 00 2C 00 00 00 0A 00 00 00 01 00 00 '
'00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 '
'00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 '
'00 00 00 00 00 00 00 00 00 00 00 00 00 01 00 00 '
'00 13 00 00 06 48 01 01 69 AA 0D 0D E9 F5 1B 1B '
'FF FF 28 28 FF FF 39 39 FF FF 5A 5A FF FF 82 82 '
'FF FF A3 A3 FF FF B7 B7 FF FF C4 C4 FF FF C8 C8 '
'FF FF CC CC FF FF D0 D0 FF FF D2 D2 FF FF D2 D2 '
'FF FF C1 C1 FF FF A3 A3 FF FF 71 71 FF FF 32 32 '
'FF FF 07 07 FD FF 00 00 F7 FF 00 00 F2 FF 00 00 '
'DB F6 00 00 64 AE 00 00 07 4B 00 00 00 14 00 00 '
'00 02 00 00 00 00 00 00 00 00 00 00 00 00 00 00 '
'00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 '
'00 00 00 00 00 00 00 00 00 02 00 00 00 19 00 00 '
'18 63 00 00 AF D6 01 01 FD FF 0C 0C FF FF 24 24 '
'FF FF 5C 5C FF FF 8D 8D FF FF 9B 9B FF FF 97 97 '
'FF FF 96 96 FF FF 9A 9A FF FF A2 A2 FF FF A9 A9 '
'FF FF AF AF FF FF B3 B3 FF FF B5 B5 FF FF B5 B5 '
'FF FF B3 B3 FF FF B1 B1 FF FF B2 B2 FF FF B5 B5 '
'FF FF 9B 9B FF FF 55 55 FB FF 10 10 F3 FF 00 00 '
'EC FF 00 00 E6 FF 00 00 A3 D9 00 00 19 68 00 00 '
'00 1C 00 00 00 02 00 00 00 00 00 00 00 00 00 00 '
'00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 '
'00 00 00 00 00 01 00 00 00 18 00 00 23 6E 00 00 '
'CE EA 00 00 F8 FF 05 05 FE FF 40 40 FF FF 7C 7C '
'FF FF 7A 7A FF FF 71 71 FF FF 76 76 FF FF 7F 7F '
'FF FF 87 87 FF FF 8F 8F FF FF 96 96 FF FF 9D 9D '
'FF FF A2 A2 FF FF A5 A5 FF FF A7 A7 FF FF A7 A7 '
'FF FF A4 A4 FF FF A0 A0 FF FF 9A 9A FF FF 94 94 '
'FF FF 90 90 FF FF 97 97 FF FF 97 97 FE FF 49 49 '
'F5 FF 06 06 E7 FF 00 00 E1 FF 00 00 BD ED 00 00 '
'28 78 00 00 00 1B 00 00 00 02 00 00 00 00 00 00 '
'00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 '
'00 01 00 00 00 13 00 00 1D 67 00 00 CE EE 00 00 '
'F2 FF 11 11 F9 FF 5A 5A FF FF 67 67 FF FF 57 57 '
'FF FF 5D 5D FF FF 65 65 FF FF 6D 6D FF FF 75 75 '
'FF FF 82 82 FF FF 94 94 FF FF A1 A1 FF FF AA AA '
'FF FF B0 B0 FF FF B2 B2 FF FF B1 B1 FF FF AD AD '
'FF FF A5 A5 FF FF 98 98 FF FF 8E 8E FF FF 88 88 '
'FF FF 82 82 FF FF 7A 7A FF FF 75 75 FF FF 84 84 '
'FF FF 74 74 FA FF 18 18 E6 FF 00 00 DB FF 00 00 '
'C1 F3 00 00 20 6E 00 00 00 14 00 00 00 01 00 00 '
'00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 '
'00 09 00 00 0F 4F 00 00 BE E7 00 00 EB FF 1B 1B '
'F6 FF 59 59 FE FF 49 49 FF FF 45 45 FF FF 4D 4D '
'FF FF 54 54 FF FF 60 60 FF FF 78 78 FF FF 8C 8C '
'FF FF 77 77 CE E4 4E 4E 77 91 2E 2E 44 4C 18 18 '
'23 28 0E 0E 14 19 0E 0E 14 19 18 18 22 27 2F 2F '
'42 47 50 50 72 77 7D 7D B5 B9 9D 9D F3 F4 8F 8F '
'FF FF 79 79 FF FF 70 70 FF FF 69 69 FF FF 61 61 '
'FF FF 65 65 FF FF 77 77 FD FF 28 28 E6 FF 00 00 '
'D4 FF 00 00 B0 EB 00 00 11 54 00 00 00 0B 00 00 '
'00 00 00 00 00 00 00 00 00 00 00 00 00 02 00 00 '
'02 2B 00 00 8A C4 00 00 E4 FF 18 18 F2 FF 4B 4B '
'FE FF 36 36 FF FF 37 37 FF FF 3E 3E FF FF 46 46 '
'FF FF 53 53 FF FF 7D 7D FF FF 5A 5A FF FF 24 24 '
'FF FF 16 16 DF EF 05 05 36 81 00 00 00 27 00 00 '
'00 05 00 00 00 00 00 00 00 00 00 00 00 00 00 00 '
'00 00 00 00 00 00 00 00 00 01 10 10 18 1D 4C 4C '
'78 7E 84 84 E2 E5 78 78 FF FF 60 60 FF FF 58 58 '
'FF FF 51 51 FF FF 50 50 FF FF 68 68 FE FF 28 28 '
'E4 FF 00 00 CD FF 00 00 85 CB 00 00 02 2F 00 00 '
'00 03 00 00 00 00 00 00 00 00 00 00 00 0F 00 00 '
'3C 7E 00 00 D8 FC 0E 0E EB FF 3C 3C FE FF 29 29 '
'FF FF 2A 2A FF FF 30 30 FF FF 37 37 FF FF 3E 3E '
'FF FF 45 45 FF FF 5A 5A FF FF 6E 6E FF FF 26 26 '
'FF FF 0F 0F FF FF 0F 0F EC F6 05 05 53 98 00 00 '
'01 32 00 00 00 09 00 00 00 00 00 00 00 00 00 00 '
'00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 '
'00 01 0D 0D 17 1C 53 53 97 9D 76 76 FC FC 53 53 '
'FF FF 49 49 FF FF 42 42 FF FF 40 40 FF FF 59 59 '
'FD FF 18 18 DB FF 00 00 C3 FD 00 00 3D 86 00 00 '
'00 11 00 00 00 00 00 00 00 02 00 00 04 2D 00 00 '
'A5 DB 04 04 E0 FF 2C 2C FB FF 1F 1F FF FF 1E 1E '
'FF FF 24 24 FF FF 2A 2A FF FF 30 30 FF FF 37 37 '
'FF FF 3D 3D FF FF 43 43 FF FF 51 51 FF FF 6F 6F '
'FF FF 2C 2C FF FF 05 05 FF FF 06 06 F7 FB 01 01 '
'74 AF 00 00 02 3D 00 00 00 0C 00 00 00 00 00 00 '
'00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 '
'00 00 00 00 00 00 01 01 02 05 2D 2D 5B 65 6A 6A '
'F7 F8 46 46 FF FF 3A 3A FF FF 34 34 FF FF 36 36 '
'FF FF 49 49 F9 FF 08 08 CC FF 00 00 9A E0 00 00 '
'05 32 00 00 00 02 00 00 00 07 00 00 2F 6C 00 00 '
'D2 FE 16 16 F0 FF 1C 1C FF FF 13 13 FF FF 18 18 '
'FF FF 20 20 FF FF 2C 2C FF FF 29 29 FF FF 2F 2F '
'FF FF 35 35 FF FF 3A 3A FF FF 3F 3F FF FF 49 49 '
'FF FF 6A 6A FF FF 37 37 FE FF 00 00 FC FF 00 00 '
'FA FE 00 00 94 C6 00 00 05 4A 00 00 00 11 00 00 '
'00 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 '
'00 00 00 00 00 00 00 00 00 00 00 00 00 02 23 23 '
'53 5E 5A 5A F9 FA 35 35 FF FF 2D 2D FF FF 27 27 '
'FF FF 33 33 FF FF 2B 2B EA FF 00 00 BD FE 00 00 '
'32 75 00 00 00 08 00 00 00 13 00 00 76 B4 04 04 '
'DB FF 17 17 FE FF 0B 0B FF FF 0E 0E FF FF 13 13 '
'FF FF 2D 2D FF FF 3E 3E FF FF 32 32 FF FF 28 28 '
'FF FF 2C 2C FF FF 31 31 FF FF 36 36 FF FF 3A 3A '
'FF FF 40 40 FF FF 60 60 FF FF 43 43 FC FF 04 04 '
'F7 FF 00 00 F6 FF 00 00 B1 DA 00 00 13 5E 00 00 '
'00 19 00 00 00 02 00 00 00 00 00 00 00 00 00 00 '
'00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 '
'00 03 29 29 74 81 45 45 FE FE 26 26 FF FF 21 21 '
'FF FF 1C 1C FF FF 32 32 FE FF 0B 0B CC FF 00 00 '
'72 BC 00 00 00 15 00 00 04 23 00 00 A8 E3 07 07 '
'EC FF 09 09 FF FF 06 06 FF FF 0A 0A FF FF 14 14 '
'FF FF 29 29 FF FF 0E 0E DD E4 33 33 FE FE 34 34 '
'FF FF 26 26 FF FF 29 29 FF FF 2D 2D FF FF 31 31 '
'FF FF 35 35 FF FF 39 39 FF FF 51 51 FF FF 4A 4A '
'FC FF 09 09 F3 FF 00 00 F0 FF 00 00 C3 E7 00 00 '
'25 73 00 00 00 21 00 00 00 04 00 00 00 00 00 00 '
'00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 '
'00 00 02 02 07 10 39 39 C3 CC 28 28 FF FF 1A 1A '
'FF FF 15 15 FF FF 1C 1C FF FF 1B 1B E6 FF 00 00 '
'9E E8 00 00 05 28 00 00 0C 35 00 00 C6 FB 02 02 '
'FA FF 01 01 FF FF 03 03 FF FF 06 06 FF FF 19 19 '
'FF FF 15 15 E9 EE 01 01 1D 30 09 09 80 88 2E 2E '
'FD FD 35 35 FF FF 23 23 FF FF 25 25 FF FF 28 28 '
'FF FF 2B 2B FF FF 2E 2E FF FF 31 31 FF FF 43 43 '
'FF FF 4C 4C FC FF 0D 0D EE FF 00 00 EA FF 00 00 '
'CF F1 00 00 39 89 00 00 00 2B 00 00 00 06 00 00 '
'00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 '
'00 00 00 00 00 02 13 13 4E 67 30 30 FF FF 14 14 '
'FF FF 10 10 FF FF 0D 0D FF FF 1B 1B F9 FF 02 02 '
'BB FD 00 00 10 3D 00 00 1E 4D 00 00 D3 FF 01 01 '
'FF FF 00 00 FF FF 00 00 FF FF 03 03 FF FF 16 16 '
'FF FF 0C 0C 99 A9 00 00 00 07 00 00 01 03 0A 0A '
'5F 68 29 29 F5 F6 33 33 FF FF 21 21 FF FF 20 20 '
'FF FF 23 23 FF FF 25 25 FF FF 27 27 FF FF 29 29 '
'FF FF 35 35 FF FF 48 48 FD FF 14 14 EC FF 00 00 '
'E3 FF 00 00 D6 F9 00 00 53 A1 00 00 00 34 00 00 '
'00 09 00 00 00 00 00 00 00 00 00 00 00 00 00 00 '
'00 00 00 00 00 01 02 02 1B 3D 29 29 EF F9 11 11 '
'FF FF 0A 0A FF FF 07 07 FF FF 10 10 FF FF 04 04 '
'CA FF 00 00 24 56 00 00 29 59 00 00 DC FF 00 00 '
'FF FF 00 00 FF FF 00 00 FF FF 02 02 FF FF 11 11 '
'FF FF 08 08 4D 67 00 00 00 02 00 00 00 00 00 00 '
'00 02 09 09 40 49 27 27 E7 EA 31 31 FF FF 1E 1E '
'FF FF 1A 1A FF FF 1D 1D FF FF 1F 1F FF FF 20 20 '
'FF FF 21 21 FF FF 28 28 FF FF 3E 3E FE FF 19 19 '
'EB FF 00 00 DD FF 00 00 D8 FE 00 00 6B B7 00 00 '
'01 40 00 00 00 0D 00 00 00 01 00 00 00 00 00 00 '
'00 00 00 00 00 01 00 00 12 37 17 17 DA F4 10 10 '
'FF FF 06 06 FF FF 03 03 FF FF 06 06 FF FF 03 03 '
'D8 FF 00 00 28 5A 00 00 27 57 00 00 E1 FF 00 00 '
'FF FF 00 00 FF FF 00 00 FF FF 00 00 FF FF 12 12 '
'FA FC 05 05 28 4C 00 00 00 02 00 00 00 00 00 00 '
'00 00 00 00 00 01 06 06 25 2D 28 28 D3 D7 2D 2D '
'FF FF 1C 1C FF FF 22 22 FF FF 25 25 FF FF 26 26 '
'FF FF 27 27 FF FF 21 21 FF FF 22 22 FF FF 34 34 '
'FF FF 1D 1D EC FF 01 01 D7 FF 00 00 D4 FF 00 00 '
'87 CE 00 00 09 53 00 00 00 14 00 00 00 02 00 00 '
'00 00 00 00 00 01 00 00 14 41 0B 0B D0 F7 0C 0C '
'FF FF 02 02 FF FF 00 00 FF FF 01 01 FF FF 01 01 '
'E1 FF 00 00 28 5A 00 00 29 58 01 01 E4 FF 00 00 '
'FF FF 00 00 FF FF 00 00 FF FF 01 01 FF FF 17 17 '
'FC FF 04 04 36 6A 00 00 00 06 00 00 00 00 00 00 '
'00 00 00 00 00 00 00 00 00 00 04 04 14 1B 27 27 '
'B7 BD 2D 2D FF FF 55 55 FF FF 7A 7A FF FF 7B 7B '
'FF FF 7B 7B FF FF 7C 7C FF FF 78 78 FF FF 71 71 '
'FF FF 4C 4C FF FF 1C 1C EF FF 02 02 D1 FF 00 00 '
'CD FF 00 00 98 DE 00 00 15 66 00 00 00 1B 00 00 '
'00 03 00 00 00 05 00 00 27 62 05 05 D4 FE 05 05 '
'FF FF 00 00 FF FF 00 00 FF FF 00 00 FF FF 01 01 '
'E2 FF 00 00 28 5A 00 00 21 4B 00 00 DF FF 00 00 '
'FF FF 00 00 FF FF 00 00 FF FF 05 05 FF FF 1A 1A '
'FD FF 07 07 69 A6 00 00 00 14 00 00 00 00 00 00 '
'00 00 00 00 00 00 00 00 00 00 00 00 00 00 02 02 '
'09 0E 25 25 98 9F 2B 2B FE FE 48 48 FF FF 7B 7B '
'FF FF 7E 7E FF FF 7E 7E FF FF 7E 7E FF FF 7E 7E '
'FF FF 7D 7D FF FF 50 50 FF FF 17 17 F2 FF 03 03 '
'CE FF 00 00 C6 FF 00 00 A5 EB 00 00 23 7A 00 00 '
'00 23 00 00 00 16 00 00 55 9F 01 01 D6 FF 01 01 '
'FF FF 00 00 FF FF 00 00 FF FF 00 00 FF FF 01 01 '
'E1 FF 00 00 28 55 00 00 10 30 00 00 D6 FE 01 01 '
'FF FF 1F 1F FF FF 52 52 FF FF 4F 4F FF FF 18 18 '
'FF FF 10 10 B1 E6 00 00 07 3B 00 00 00 04 00 00 '
'00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 '
'00 00 01 01 04 08 21 21 76 7E 2C 2C F9 FA 39 39 '
'FF FF 7C 7C FF FF 82 82 FF FF 82 82 FF FF 82 82 '
'FF FF 82 82 FF FF 81 81 FF FF 56 56 FF FF 10 10 '
'F6 FF 02 02 CD FF 00 00 BF FF 00 00 AF F6 00 00 '
'33 90 00 00 05 59 00 00 92 E1 01 01 E0 FF 00 00 '
'FF FF 00 00 FF FF 00 00 FF FF 00 00 FF FF 00 00 '
'DB FF 00 00 17 3A 00 00 06 19 00 00 B4 E8 28 28 '
'FF FF 84 84 FF FF 86 86 FF FF 76 76 FF FF 0D 0D '
'FF FF 25 25 DF FF 00 00 48 99 00 00 00 1B 00 00 '
'00 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 '
'00 00 00 00 00 00 00 00 01 03 1B 1B 55 5E 31 31 '
'F1 F3 25 25 FF FF 7C 7C FF FF 86 86 FF FF 86 86 '
'FF FF 86 86 FF FF 86 86 FF FF 86 86 FF FF 61 61 '
'FF FF 0B 0B FA FF 00 00 CE FF 00 00 B9 FF 00 00 '
'B2 FB 00 00 76 D7 00 00 B7 FE 01 01 F2 FF 28 28 '
'FF FF 01 01 FF FF 00 00 FF FF 01 01 FF FF 00 00 '
'BD EE 00 00 07 1D 00 00 00 08 00 00 7E B6 12 12 '
'FA FF 86 86 FF FF 8C 8C FF FF 8A 8A FF FF 21 21 '
'FF FF 35 35 F6 FF 05 05 AD F4 00 00 18 68 00 00 '
'00 13 00 00 00 01 00 00 00 00 00 00 00 00 00 00 '
'00 00 00 00 00 00 00 00 00 00 00 00 00 01 12 12 '
'34 3D 36 36 E0 E3 1D 1D FF FF 76 76 FF FF 8C 8C '
'FF FF 8C 8C FF FF 8C 8C FF FF 8C 8C FF FF 8C 8C '
'FF FF 72 72 FF FF 13 13 FD FF 00 00 D6 FF 00 00 '
'B9 FF 00 00 B8 FF 00 00 C7 FF 1C 1C FE FF 8A 8A '
'FF FF 6F 6F FF FF 1E 1E FF FF 01 01 FC FF 00 00 '
'88 C0 00 00 01 0A 00 00 00 02 00 00 3D 67 01 01 '
'E8 FF 6C 6C FF FF 93 93 FF FF 93 93 FF FF 5E 5E '
'FF FF 1E 1E FF FF 2A 2A D7 FF 00 00 94 E5 00 00 '
'0C 5B 00 00 00 17 00 00 00 03 00 00 00 00 00 00 '
'00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 '
'00 01 0B 0B 1E 26 37 37 CA CF 1D 1D FF FF 6F 6F '
'FF FF 92 92 FF FF 93 93 FF FF 93 93 FF FF 93 93 '
'FF FF 93 93 FF FF 81 81 FF FF 20 20 FF FF 01 01 '
'DF FF 00 00 BB FF 01 01 E7 FF 57 57 FF FF 93 93 '
'FF FF 93 93 FF FF 70 70 FF FF 01 01 EA FF 00 00 '
'46 72 00 00 00 02 00 00 00 00 00 00 0A 1A 00 00 '
'B2 E2 32 32 FE FF 98 98 FF FF 99 99 FF FF 94 94 '
'FF FF 23 23 FF FF 41 41 FA FF 13 13 C3 FF 00 00 '
'93 E4 00 00 19 72 00 00 00 29 00 00 00 0A 00 00 '
'00 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 '
'00 00 00 00 00 00 06 06 11 17 33 33 AD B3 1F 1F '
'FF FF 65 65 FF FF 98 98 FF FF 99 99 FF FF 99 99 '
'FF FF 99 99 FF FF 99 99 FF FF 90 90 FF FF 2E 2E '
'FF FF 01 01 F0 FF 1C 1C FE FF 91 91 FF FF 99 99 '
'FF FF 98 98 FF FF 39 39 FE FF 00 00 BA E8 00 00 '
'0D 1F 00 00 00 00 00 00 00 00 00 00 00 03 00 00 '
'4E 79 04 04 EB FF 7C 7C FF FF 9F 9F FF FF 9F 9F '
'FF FF 7F 7F FF FF 12 12 FF FF 55 55 F4 FF 0F 0F '
'C0 FF 00 00 A7 F3 00 00 46 A6 00 00 04 52 00 00 '
'00 26 00 00 00 0E 00 00 00 05 00 00 00 01 00 00 '
'00 00 00 00 00 00 00 00 00 00 03 03 08 0D 2C 2C '
'8D 96 23 23 FB FC 57 57 FF FF 9F 9F FF FF 9F 9F '
'FF FF 9F 9F FF FF 9F 9F FF FF 9F 9F FF FF 9A 9A '
'FF FF 47 47 FF FF 78 78 FF FF 9F 9F FF FF 9F 9F '
'FF FF 81 81 FF FF 05 05 ED FF 00 00 57 84 00 00 '
'00 03 00 00 00 00 00 00 00 00 00 00 00 00 00 00 '
'07 13 00 00 9E D1 21 21 FC FF A2 A2 FF FF A6 A6 '
'FF FF A6 A6 FF FF 6D 6D FF FF 12 12 FF FF 61 61 '
'F4 FF 1A 1A C4 FF 00 00 B6 FE 00 00 95 E8 00 00 '
'45 A8 00 00 08 65 00 00 00 43 00 00 00 2F 00 00 '
'00 23 00 00 00 1D 00 00 00 1D 00 00 00 22 01 01 '
'02 34 21 21 69 A0 28 28 F9 FC 48 48 FF FF A3 A3 '
'FF FF A6 A6 FF FF A6 A6 FF FF A6 A6 FF FF A6 A6 '
'FF FF A5 A5 FF FF A5 A5 FF FF A6 A6 FF FF A4 A4 '
'FF FF 25 25 FC FF 00 00 A4 D7 00 00 0A 17 00 00 '
'00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 '
'00 01 00 00 21 39 00 00 C6 F1 47 47 FE FF AB AB '
'FF FF AC AC FF FF AC AC FF FF 74 74 FF FF 0F 0F '
'FF FF 5D 5D FB FF 4A 4A D7 FF 07 07 BB FF 00 00 '
'B8 FF 00 00 B0 FB 00 00 84 DE 00 00 5F C2 00 00 '
'48 AD 00 00 37 9E 00 00 37 9E 00 00 47 AC 00 00 '
'5F C1 00 00 85 DF 15 15 C6 FC 2A 2A FA FF 3B 3B '
'FF FF A1 A1 FF FF AC AC FF FF AC AC FF FF AC AC '
'FF FF AC AC FF FF AC AC FF FF AB AB FF FF 4F 4F '
'FF FF 00 00 CD F5 00 00 26 40 00 00 00 01 00 00 '
'00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 '
'00 00 00 00 00 02 00 00 3B 5C 02 02 D8 FA 5E 5E '
'FE FF B1 B1 FF FF B3 B3 FF FF B3 B3 FF FF 8C 8C '
'FF FF 23 23 FF FF 2E 2E FF FF 6E 6E F4 FF 50 50 '
'D7 FF 16 16 C0 FF 02 02 B9 FF 00 00 B8 FF 00 00 '
'B8 FF 00 00 B8 FF 00 00 B8 FF 00 00 B8 FF 00 00 '
'B8 FF 01 01 B9 FF 09 09 C0 FF 2A 2A E2 FF 23 23 '
'FF FF 2A 2A FF FF A2 A2 FF FF B3 B3 FF FF B3 B3 '
'FF FF B3 B3 FF FF B1 B1 FF FF 66 66 FF FF 02 02 '
'DC FB 00 00 3F 62 00 00 00 02 00 00 00 00 00 00 '
'00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 '
'00 00 00 00 00 00 00 00 00 02 00 00 44 66 03 03 '
'D2 F6 5A 5A FD FF B5 B5 FF FF B9 B9 FF FF B9 B9 '
'FF FF B0 B0 FF FF 67 67 FF FF 19 19 FF FF 24 24 '
'FF FF 58 58 FC FF 67 67 F0 FF 58 58 E2 FF 49 49 '
'D8 FF 3C 3C D3 FF 36 36 D3 FF 37 37 D8 FF 38 38 '
'E1 FF 38 38 EF FF 2B 2B FC FF 10 10 FF FF 16 16 '
'FF FF 62 62 FF FF AE AE FF FF B9 B9 FF FF B9 B9 '
'FF FF B6 B6 FF FF 5F 5F FE FF 04 04 D7 F8 00 00 '
'4A 6E 00 00 00 03 00 00 00 00 00 00 00 00 00 00 '
'00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 '
'00 00 00 00 00 00 00 00 00 00 00 00 00 02 00 00 '
'33 4E 01 01 BC E7 3A 3A F9 FF AB AB FF FF BF BF '
'FF FF BF BF FF FF BF BF FF FF B5 B5 FF FF 81 81 '
'FF FF 42 42 FF FF 18 18 FF FF 0C 0C FF FF 13 13 '
'FF FF 17 17 FF FF 15 15 FF FF 0F 0F FF FF 09 09 '
'FF FF 16 16 FF FF 3F 3F FF FF 7D 7D FF FF B3 B3 '
'FF FF BF BF FF FF BF BF FF FF BF BF FF FF AD AD '
'FF FF 41 41 FA FF 02 02 C2 EB 00 00 39 56 00 00 '
'01 03 00 00 00 00 00 00 00 00 00 00 00 00 00 00 '
'00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 '
'00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 '
'00 01 00 00 16 25 00 00 88 B6 12 12 E5 FE 74 74 '
'FF FF C1 C1 FF FF C5 C5 FF FF C5 C5 FF FF C5 C5 '
'FF FF C5 C5 FF FF BF BF FF FF B1 B1 FF FF 99 99 '
'FF FF 8C 8C FF FF 8C 8C FF FF 99 99 FF FF AF AF '
'FF FF BE BE FF FF C5 C5 FF FF C5 C5 FF FF C5 C5 '
'FF FF C5 C5 FF FF C1 C1 FF FF 79 79 FF FF 15 15 '
'E7 FE 00 00 8C BB 00 00 18 28 00 00 00 01 00 00 '
'00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 '
'00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 '
'00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 '
'00 00 00 00 00 00 00 00 00 03 00 00 37 53 00 00 '
'A5 D3 1C 1C E6 FD 6F 6F FC FF B5 B5 FF FF C9 C9 '
'FF FF CB CB FF FF CB CB FF FF CB CB FF FF CB CB '
'FF FF CB CB FF FF CB CB FF FF CB CB FF FF CB CB '
'FF FF CB CB FF FF CB CB FF FF CA CA FF FF B8 B8 '
'FF FF 73 73 FD FF 1E 1E E7 FD 00 00 A6 D4 00 00 '
'3B 58 00 00 01 04 00 00 00 00 00 00 00 00 00 00 '
'00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 '
'00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 '
'00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 '
'00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 '
'02 06 00 00 33 4D 00 00 82 AD 06 06 C8 EC 34 34 '
'EA FF 68 68 F8 FF 94 94 FD FF B2 B2 FF FF BD BD '
'FF FF C2 C2 FF FF C3 C3 FF FF BD BD FF FF B2 B2 '
'FF FF 94 94 FE FF 6A 6A F9 FF 36 36 EC FF 08 08 '
'C9 ED 00 00 85 B0 00 00 36 51 00 00 03 08 00 00 '
'00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 '
'00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 '
'00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 '
'00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 '
'00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 '
'00 00 00 00 00 00 00 00 00 01 00 00 0E 17 00 00 '
'33 4B 00 00 61 86 00 00 89 B2 01 01 A9 D1 0A 0A '
'B9 DF 11 11 C4 E9 12 12 C4 E9 0A 0A BA E0 01 01 '
'AA D3 00 00 8B B5 00 00 62 87 00 00 34 4D 00 00 '
'0F 18 00 00 00 01 00 00 00 00 00 00 00 00 00 00 '
'00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 '
'00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 '
'00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 '
'00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 '
'00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 '
'00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 '
'00 00 00 00 00 00 00 00 00 01 00 00 01 03 00 00 '
'06 0B 00 00 0B 12 00 00 0C 13 00 00 07 0C 00 00 '
'02 04 00 00 00 01 00 00 00 00 00 00 00 00 00 00 '
'00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 '
'00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 '
'00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 '
'00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 '
'00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 '
'00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 '
'00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 '
'00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 '
'00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 '
'00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 '
'00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 '
'00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 '
'00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 '
'00 00 00 00 00 00 '
}
#INCLUDE "FIVEWIN.CH"
#include "Image.ch"
FUNCTION MAIN()
LOCAL oBtn1, cGet1 := SPACE( 10 )
SET _3DLOOK ON
SetBalloon( .T. )
c_path := cFilePath(GetModuleFileName( GetInstance() ) )
c_path1 := c_path + "IMAGES\"
oFont := TFont():New("Arial",,-14,.F.,.T. ,,,,.F. )
DEFINE DIALOG oDlg1 RESOURCE "Selection" ;
FONT oFont TITLE "Dialog from RESOURCE" TRANSPARENT
REDEFINE GET oGet1 VAR cGet1 ID 280 OF oDlg1 PICTURE "XXXXXXXXXX" FONT oFont
REDEFINE BTNBMP oBtn1 ;
ID 610 OF oDlg1 ;
NOBORDER ;
PROMPT "Exit " ;
ACTION oDlg1:End() ;
FILENAME c_path1 + "Save.Bmp" ;
FONT oFont 2007 ;
LEFT
oBtn1:lTransparent := .t.
oBtn1:cToolTip = { "Exit" + CRLF + "Image-test","EXIT", 1, CLR_BLACK, 14089979 }
oBtn1:SetColor( 0, )
ACTIVATE DIALOG oDlg1 CENTERED ;
ON INIT D_BACKGRD( oDlg1, 1, , 16770249, , , , ) ;
ON PAINT VIEW_IMAGES(oDlg1)
oFont:End()
RETURN( NIL )
// -------- DIALOG - Background ---------------
FUNCTION D_BACKGRD( oDlg, nStyle, lDirect, nColor1, nColor2, nMove, cBrush, cImage )
local oBrush
IF nStyle = 1 // COLOR
DEFINE BRUSH oBrush COLOR nColor1
// FillRect( oBitmap:hDC, aRect, oNewbrush:hBrush )
ENDIF
IF nStyle = 2 // GRADIENT
aGrad := { { nMove, nColor1, nColor2 }, { nMove, nColor2, nColor1 } }
hDC = CreateCompatibleDC( oDlg:GetDC() )
hBmp = CreateCompatibleBitMap( oDlg:hDC, 702, 500 ) // Get Width and Height from INIT !!!
hBmpOld = SelectObject( hDC, hBmp )
GradientFill( hDC, 0, 0, 692, 722, aGrad, lDirect ) // .T: = Vertical
DeleteObject( oDlg:oBrush:hBrush )
oBrush := TBrush():New( ,,,, hBmp )
oBrush:Cargo := aGrad
SelectObject( hDC, hBmpOld )
ReleaseDC(hDC)
ENDIF
IF nStyle = 3 // BMP-BRUSH
DEFINE BRUSH oBrush FILE c_path + cBrush
ENDIF
IF nStyle = 4 // Image ADJUSTED
DEFINE IMAGE oImage FILE c_path + cImage
oBrush := TBrush():new( ,,,, ResizeBmp( oImage:hBitmap, 702, 500, .T. ) ) // Get Width and Height from INIT !!!
oImage:End()
ENDIF
oDlg:SetBrush( oBrush )
oBrush:End()
RETURN( NIL )
// --------------------
FUNCTION VIEW_IMAGES(oDlg1)
hDC := oDlg1:GetDC()
oImg0 := FILoadImg( c_path1 + "Light.bmp" )
lAlpha := HasAlpha( oImg0 )
IF lAlpha = .T.
oImg1 := ResizeImg( oImg0, 100, 100 )
ABPaint( hDC, 20, 20, oImg1, 255 )
ELSE
MsgAlert( "NO alphachannel !", "ERROR" )
ENDIF
DeleteObject( oImg0 )
DeleteObject( oImg1 )
oImg0 := FILoadImg( c_path1 + "Trash.bmp" )
lAlpha := HasAlpha( oImg0 )
IF lAlpha = .T.
oImg2 := ResizeImg( oImg0, 100, 100 )
ABPaint( hDC, 20, 150, oImg2, 255 )
ELSE
MsgAlert( "NO alphachannel !", "ERROR" )
ENDIF
DeleteObject( oImg0 )
DeleteObject( oImg2 )
RELEASEDC( hDC )
RETURN( NIL )
mastintin wrote:brc32.exe compiles resources bmp32Alpha without error messages if declared as rc_data .
mastintin wrote:Sorry is RT_DATA or 10 .
Calend 10 "../fwh/bitmaps/alphabmp,bmp"
#Include "FiveWin.ch"
//---------------------------//
Function Main()
Local oDlg,oBmp
DEFINE DIALOG oDlg FROM 10,20 to 27,70 TITLE "Login"
@ 1.5, 7.5 BITMAP oBmp RESOURCE "Login128x128" NOBORDER OF oDlg
ACTIVATE DIALOG oDlg CENTERED
Return NIL
Login128x128 RT_DATA "Login128x128.Bmp"
Login128x128 10 "Login128x128.Bmp"
Login128x128 ALPHABITMAP "Login128x128.Bmp"
anserkk wrote:mastintin wrote:Sorry is RT_DATA or 10 .
Calend 10 "../fwh/bitmaps/alphabmp,bmp"
I too use Pellec C's resource compiler to use Alpha bitmaps in my applications.
The Borland resource compiler is compiling without any errors if I specify it as RT_DATA or 10, unfortunately the picture is not displayed on the Dialog. I don't know whether it is linking the bitmap into the exe.
- Code: Select all Expand view
#Include "FiveWin.ch"
//---------------------------//
Function Main()
Local oDlg,oBmp
DEFINE DIALOG oDlg FROM 10,20 to 27,70 TITLE "Login"
@ 1.5, 7.5 BITMAP oBmp RESOURCE "Login128x128" NOBORDER OF oDlg
ACTIVATE DIALOG oDlg CENTERED
Return NIL
In the .RC file I tried all the following lines. Borland Resource compiler, compiles without errors, but the bitmap does not appear in the application
- Code: Select all Expand view
Login128x128 RT_DATA "Login128x128.Bmp"
Login128x128 10 "Login128x128.Bmp"
Login128x128 ALPHABITMAP "Login128x128.Bmp"
viewtopic.php?f=3&t=15304#p79347
#define ALPHABMP 10
EXPLORER ALPHABMP "c:\fwh\bitmaps\alphabmp\explorer.bmp"
FOLDER ALPHABMP "c:\fwh\bitmaps\alphabmp\folder.bmp"
VISA ALPHABMP "c:\fwh\bitmaps\alphabmp\visa.bmp"
ICHAT ALPHABMP "c:\fwh\bitmaps\alphabmp\ichat.bmp"
IMAGE3 ALPHABMP "c:\fwh\bitmaps\pngs\image3.png"
IMAGE8 ALPHABMP "c:\fwh\bitmaps\pngs\image8.png"
OLGA1 ALPHABMP "c:\fwh\bitmaps\olga1.jpg"
TESTICO ALPHABMP "c:\fwh\icons\testtrev.ico"
#include "fivewin.ch"
function Main()
local oWnd, oBar, oFont
DEFINE FONT oFont NAME "TAHOMA" SIZE 0,-12
DEFINE WINDOW oWnd TITLE "brc32.exe rc file with AlphaBmp"
oWnd:SetFont( oFont )
DEFINE BUTTONBAR oBar OF oWnd SIZE 64,104 2007
DEFINE BUTTON OF oBar RESOURCE "EXPLORER" PROMPT "Explorer AlphaBmp" GROUP
DEFINE BUTTON OF oBar RESOURCE "FOLDER" PROMPT "Folder AlphaBmp"
DEFINE BUTTON OF oBar RESOURCE "VISA" PROMPT "Visa AlphaBmp"
DEFINE BUTTON OF oBar RESOURCE "ICHAT" PROMPT "IChat AlphaBmp"
DEFINE BUTTON OF oBar RESOURCE "IMAGE3" PROMPT "Image3 png" GROUP
DEFINE BUTTON OF oBar RESOURCE "IMAGE8" PROMPT "Image8 png"
DEFINE BUTTON OF oBar RESOURCE "OLGA1" PROMPT "Olga1 jpg" GROUP
DEFINE BUTTON OF oBar RESOURCE "TESTICO" PROMPT "Testtrev ico" GROUP
ACTIVATE WINDOW oWnd
RELEASE FONT oFont
return nil
Return to FiveWin for Harbour/xHarbour
Users browsing this forum: No registered users and 18 guests