summaryrefslogtreecommitdiff
path: root/plugins/Popup/docs/rebase_popup.txt
blob: 1a3cbb1a13728b88f01987847989be32017362fe (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
=§= TO PLUGIN DEVELOPERS =§=

This plugin has its Base Address set to:
0x25020000

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        020000
^^^^        ^^^^^^
My radix    Incremental value related to my plugins.

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

020000 is an incremental value which represents PopUp
[Note: 000000 is used for RePosition, 020000 for PopUp, 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