summaryrefslogtreecommitdiff
path: root/plugins/VersionInfo/docs/rebase_versioninfo.txt
blob: fd71ab05264f88b5e0b546a857cd15ca1925a0f9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
=§= TO PLUGIN DEVELOPERS =§=

This plugin has its Base Address set to:
0x25040000

Please, avoid using this BaseAddress for your plugins: using the same addresses
will slow Miranda.
Read "pluginguidelines.txt" under miranda0100/miranda32/doc/ in the CVS.

This Base Address is built this way:

0x25        040000
^^^^        ^^^^^^
My radix    Incremental value related to my plugins.

Range for base address is 0x10000000 to 0x50000000, so 0x25040000 fits well there.

040000 is an incremental value which represents VersionInfo.
[Note: 000000 is used for RePosition, 010000 for NewStatusNotify, 030000 for PicPlugin and so on.]

Why do I call 0x25 "My radix"?

HRK = H + R + K
H = 8th letter in the english alphabet.
R = 18th letter in the english alphabet.
K = 11th letter in the english alphabet.

8 + 18 + 11 = 37.
37(dec) = 25(Hex)

Base Address can be found/configured:
§ MSVC++ 6.0
  Project->Settings->Link->Output->Base Address