home *** CD-ROM | disk | FTP | other *** search
MacBinary | 1997-09-29 | 24.8 KB | [TEXT/ttxt] |
open in:
MacOS 8.1
|
Win98
|
DOS
browse contents |
view JSON data
|
view as text
This file was processed as: MacBinary
(archive/macBinary).
Confidence | Program | Detection | Match Type | Support
|
---|
10%
| dexvert
| MacBinary (archive/macBinary)
| fallback
| Supported |
1%
| dexvert
| Text File (text/txt)
| fallback
| Supported |
100%
| file
| MacBinary II, inited, Mon Sep 29 11:36:38 1997, modified Mon Sep 29 11:36:38 1997, creator SimpleText, type ASCII, 22461 bytes "DR3 Release Notes" , at 0x583d 2612 bytes resource
| default (weak)
| |
99%
| file
| data
| default
| |
74%
| TrID
| Macintosh plain text (MacBinary)
| default
| |
25%
| TrID
| MacBinary 2
| default (weak)
| |
100%
| siegfried
| fmt/1762 MacBinary (II)
| default
| |
100%
| lsar
| MacBinary
| default
|
|
id metadata |
---|
key | value |
---|
macFileType | [TEXT] |
macFileCreator | [ttxt] |
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 11 44 52 33 20 52 65 | 6c 65 61 73 65 20 4e 6f |..DR3 Re|lease No|
|00000010| 74 65 73 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |tes.....|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 54 45 58 54 74 74 78 | 74 01 00 00 00 00 00 00 |.TEXTttx|t.......|
|00000050| 00 00 00 00 00 57 bd 00 | 00 0a 34 b0 55 7b 86 b0 |.....W..|..4.U{..|
|00000060| 55 7b 86 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |U{......|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 43 91 00 00 |........|....C...|
|00000080| 41 63 74 69 76 65 58 20 | 53 44 4b 20 44 52 33 20 |ActiveX |SDK DR3 |
|00000090| 52 65 6c 65 61 73 65 20 | 4e 6f 74 65 73 0d 0d 54 |Release |Notes..T|
|000000a0| 68 69 73 20 64 6f 63 75 | 6d 65 6e 74 20 64 69 73 |his docu|ment dis|
|000000b0| 63 75 73 73 65 73 20 63 | 68 61 6e 67 65 73 20 74 |cusses c|hanges t|
|000000c0| 6f 20 74 68 65 20 41 63 | 74 69 76 65 58 20 53 44 |o the Ac|tiveX SD|
|000000d0| 4b 20 73 69 6e 63 65 20 | 74 68 65 20 44 52 32 20 |K since |the DR2 |
|000000e0| 72 65 6c 65 61 73 65 2e | 20 20 43 68 61 6e 67 65 |release.| Change|
|000000f0| 73 20 61 72 65 20 6f 72 | 67 61 6e 69 7a 65 64 20 |s are or|ganized |
|00000100| 69 6e 74 6f 20 74 68 65 | 20 66 6f 6c 6c 6f 77 69 |into the| followi|
|00000110| 6e 67 20 63 61 74 65 67 | 6f 72 69 65 73 3a 0d 0d |ng categ|ories:..|
|00000120| 31 29 20 4b 6e 6f 77 6e | 20 70 72 6f 62 6c 65 6d |1) Known| problem|
|00000130| 73 0d 32 29 20 43 6f 6e | 74 61 69 6e 65 72 20 4c |s.2) Con|tainer L|
|00000140| 69 62 72 61 72 79 20 49 | 6e 69 74 69 61 6c 69 7a |ibrary I|nitializ|
|00000150| 61 74 69 6f 6e 20 61 6e | 64 20 53 69 74 65 20 43 |ation an|d Site C|
|00000160| 72 65 61 74 69 6f 6e 0d | 33 29 20 50 6f 77 65 72 |reation.|3) Power|
|00000170| 50 6c 61 6e 74 20 43 6f | 6e 74 61 69 6e 65 72 20 |Plant Co|ntainer |
|00000180| 63 6c 61 73 73 65 73 0d | 34 29 20 4f 62 6a 65 63 |classes.|4) Objec|
|00000190| 74 20 49 6e 66 6f 72 6d | 61 74 69 6f 6e 20 41 50 |t Inform|ation AP|
|000001a0| 49 0d 35 29 20 4f 62 6a | 65 63 74 20 44 65 73 63 |I.5) Obj|ect Desc|
|000001b0| 72 69 70 74 69 6f 6e 20 | 41 50 49 0d 36 29 20 41 |ription |API.6) A|
|000001c0| 75 74 6f 6d 61 74 6f 72 | 20 55 74 69 6c 69 74 79 |utomator| Utility|
|000001d0| 0d 37 29 20 53 63 72 69 | 70 74 69 6e 67 20 55 74 |.7) Scri|pting Ut|
|000001e0| 69 6c 69 74 79 20 41 50 | 49 0d 38 29 20 53 61 76 |ility AP|I.8) Sav|
|000001f0| 69 6e 67 20 61 6e 64 20 | 72 65 61 64 69 6e 67 20 |ing and |reading |
|00000200| 63 6f 6e 74 72 6f 6c 73 | 0d 39 29 20 42 69 6e 64 |controls|.9) Bind|
|00000210| 54 6f 4f 62 6a 65 63 74 | 0d 0d 41 6c 73 6f 2c 20 |ToObject|..Also, |
|00000220| 63 6f 6e 74 61 69 6e 65 | 72 20 61 70 70 6c 69 63 |containe|r applic|
|00000230| 61 74 69 6f 6e 73 20 73 | 68 6f 75 6c 64 20 6e 6f |ations s|hould no|
|00000240| 74 65 20 74 68 61 74 20 | 73 6f 6d 65 20 6f 66 20 |te that |some of |
|00000250| 74 68 65 20 63 6f 6e 74 | 61 69 6e 65 72 20 6c 69 |the cont|ainer li|
|00000260| 62 72 61 72 79 20 41 50 | 49 20 63 61 6c 6c 73 20 |brary AP|I calls |
|00000270| 74 68 61 74 20 66 6f 72 | 6d 65 72 6c 79 20 72 65 |that for|merly re|
|00000280| 63 65 69 76 65 64 20 61 | 6e 64 20 72 65 74 75 72 |ceived a|nd retur|
|00000290| 6e 65 64 20 76 6f 69 64 | 2a 20 6e 6f 77 20 72 65 |ned void|* now re|
|000002a0| 74 75 72 6e 65 64 20 74 | 79 70 65 64 20 70 6f 69 |turned t|yped poi|
|000002b0| 6e 74 65 72 73 2e 20 20 | 54 68 69 73 20 70 72 69 |nters. |This pri|
|000002c0| 6d 61 72 69 6c 79 20 61 | 66 66 65 63 74 73 20 75 |marily a|ffects u|
|000002d0| 73 65 72 73 20 6f 66 20 | 74 68 65 20 41 58 5f 43 |sers of |the AX_C|
|000002e0| 6f 6e 6e 65 63 74 53 63 | 72 69 70 74 73 28 29 20 |onnectSc|ripts() |
|000002f0| 61 6e 64 20 41 58 5f 44 | 69 73 63 6f 6e 6e 65 63 |and AX_D|isconnec|
|00000300| 74 53 63 72 69 70 74 73 | 28 29 20 63 61 6c 6c 73 |tScripts|() calls|
|00000310| 20 61 6e 64 20 64 6f 65 | 73 20 6e 6f 74 20 61 66 | and doe|s not af|
|00000320| 66 65 63 74 20 65 78 69 | 73 74 69 6e 67 20 62 69 |fect exi|sting bi|
|00000330| 6e 61 72 79 20 63 6f 6d | 70 61 74 69 62 69 6c 69 |nary com|patibili|
|00000340| 74 79 2e 20 20 4a 75 73 | 74 20 72 65 63 6f 6d 70 |ty. Jus|t recomp|
|00000350| 69 6c 65 20 61 6e 64 20 | 72 65 2d 74 79 70 65 20 |ile and |re-type |
|00000360| 61 73 20 6e 65 63 65 73 | 73 61 72 79 20 74 6f 20 |as neces|sary to |
|00000370| 75 73 65 20 74 68 65 20 | 6e 65 77 20 41 63 74 69 |use the |new Acti|
|00000380| 76 65 58 41 50 49 2e 68 | 20 68 65 61 64 65 72 20 |veXAPI.h| header |
|00000390| 66 69 6c 65 2e 20 20 41 | 6c 73 6f 2c 20 6e 6f 74 |file. A|lso, not|
|000003a0| 69 63 65 20 74 68 61 74 | 20 74 68 65 20 65 78 69 |ice that| the exi|
|000003b0| 73 74 69 6e 67 20 73 63 | 72 69 70 74 69 6e 67 20 |sting sc|ripting |
|000003c0| 41 50 49 20 63 61 6c 6c | 73 2c 20 41 58 5f 43 6f |API call|s, AX_Co|
|000003d0| 6e 6e 65 63 74 53 63 72 | 69 70 74 73 20 61 6e 64 |nnectScr|ipts and|
|000003e0| 20 41 58 5f 44 69 73 63 | 6f 6e 6e 65 63 74 53 63 | AX_Disc|onnectSc|
|000003f0| 72 69 70 74 73 20 68 61 | 76 65 20 62 65 65 6e 20 |ripts ha|ve been |
|00000400| 6d 6f 76 65 64 20 69 6e | 74 6f 20 74 68 65 20 53 |moved in|to the S|
|00000410| 63 72 69 70 74 69 6e 67 | 41 50 49 2e 68 20 66 69 |cripting|API.h fi|
|00000420| 6c 65 2e 0d 20 20 0d 4b | 6e 6f 77 6e 20 50 72 6f |le.. .K|nown Pro|
|00000430| 62 6c 65 6d 73 0d 31 2e | 20 54 68 65 20 43 6f 6e |blems.1.| The Con|
|00000440| 74 61 69 6e 65 72 20 4c | 69 62 72 61 72 79 20 74 |tainer L|ibrary t|
|00000450| 68 61 74 20 77 61 73 20 | 73 68 69 70 70 65 64 20 |hat was |shipped |
|00000460| 77 69 74 68 20 49 6e 74 | 65 72 6e 65 74 20 45 78 |with Int|ernet Ex|
|00000470| 70 6c 6f 72 65 72 20 50 | 6c 61 74 66 6f 72 6d 20 |plorer P|latform |
|00000480| 50 72 65 76 69 65 77 20 | 31 20 63 6f 6e 74 61 69 |Preview |1 contai|
|00000490| 6e 73 20 61 20 62 75 67 | 20 74 68 61 74 20 70 72 |ns a bug| that pr|
|000004a0| 65 76 65 6e 74 73 20 63 | 6f 6e 74 72 6f 6c 73 20 |events c|ontrols |
|000004b0| 66 72 6f 6d 20 64 6f 77 | 6e 6c 6f 61 64 69 6e 67 |from dow|nloading|
|000004c0| 2e 20 20 54 68 65 20 4d | 53 20 43 6f 6e 74 61 69 |. The M|S Contai|
|000004d0| 6e 65 72 20 4c 69 62 72 | 61 72 79 20 74 68 61 74 |ner Libr|ary that|
|000004e0| 20 69 73 20 62 65 69 6e | 67 20 73 68 69 70 70 65 | is bein|g shippe|
|000004f0| 64 20 77 69 74 68 20 74 | 68 69 73 20 53 44 4b 20 |d with t|his SDK |
|00000500| 69 6e 63 6c 75 64 65 73 | 20 61 20 66 69 78 20 66 |includes| a fix f|
|00000510| 6f 72 20 74 68 69 73 20 | 70 72 6f 62 6c 65 6d 20 |or this |problem |
|00000520| 61 6e 64 20 69 73 20 76 | 65 72 73 69 6f 6e 65 64 |and is v|ersioned|
|00000530| 20 34 2e 30 70 32 2e 20 | 20 50 6c 65 61 73 65 20 | 4.0p2. | Please |
|00000540| 69 6e 73 74 61 6c 6c 20 | 6f 76 65 72 20 74 68 65 |install |over the|
|00000550| 20 4d 53 20 43 6f 6e 74 | 61 69 6e 65 72 20 4c 69 | MS Cont|ainer Li|
|00000560| 62 72 61 72 79 20 74 68 | 61 74 20 73 68 69 70 70 |brary th|at shipp|
|00000570| 65 64 20 77 69 74 68 20 | 34 2e 30 70 31 2e 20 20 |ed with |4.0p1. |
|00000580| 28 54 68 65 20 6c 69 62 | 72 61 72 69 65 73 20 66 |(The lib|raries f|
|00000590| 6f 72 20 49 6e 74 65 72 | 6e 65 74 20 45 78 70 6c |or Inter|net Expl|
|000005a0| 6f 72 65 72 20 50 6c 61 | 74 66 6f 72 6d 20 50 72 |orer Pla|tform Pr|
|000005b0| 65 76 69 65 77 20 31 20 | 61 72 65 20 69 6e 20 74 |eview 1 |are in t|
|000005c0| 68 65 20 61 70 70 6c 69 | 63 61 74 69 6f 6e 20 66 |he appli|cation f|
|000005d0| 6f 6c 64 65 72 2e 29 0d | 32 2e 20 41 63 74 69 76 |older.).|2. Activ|
|000005e0| 65 20 53 63 72 69 70 74 | 69 6e 67 20 69 73 20 62 |e Script|ing is b|
|000005f0| 72 6f 6b 65 6e 20 69 6e | 20 34 2e 30 70 31 2e 20 |roken in| 4.0p1. |
|00000600| 20 54 68 69 73 20 77 69 | 6c 6c 20 62 65 20 66 69 | This wi|ll be fi|
|00000610| 78 65 64 20 69 6e 20 74 | 68 65 20 49 45 20 34 2e |xed in t|he IE 4.|
|00000620| 30 70 32 20 72 65 6c 65 | 61 73 65 2e 20 20 49 66 |0p2 rele|ase. If|
|00000630| 20 79 6f 75 20 61 72 65 | 20 62 75 69 6c 64 69 6e | you are| buildin|
|00000640| 67 20 61 20 63 6f 6e 74 | 72 6f 6c 20 74 68 61 74 |g a cont|rol that|
|00000650| 20 64 65 70 65 6e 64 73 | 20 6f 6e 20 73 63 72 69 | depends| on scri|
|00000660| 70 74 69 6e 67 2f 49 44 | 69 73 70 61 74 63 68 20 |pting/ID|ispatch |
|00000670| 63 61 70 61 62 69 6c 69 | 74 69 65 73 2c 20 75 73 |capabili|ties, us|
|00000680| 65 20 49 6e 74 65 72 6e | 65 74 20 45 78 70 6c 6f |e Intern|et Explo|
|00000690| 72 65 72 20 33 2e 30 2e | 31 20 75 6e 74 69 6c 20 |rer 3.0.|1 until |
|000006a0| 74 68 65 20 34 2e 30 70 | 32 20 72 65 6c 65 61 73 |the 4.0p|2 releas|
|000006b0| 65 20 69 73 20 61 76 61 | 69 6c 61 62 6c 65 2e 0d |e is ava|ilable..|
|000006c0| 33 2e 20 54 68 65 20 48 | 4c 69 6e 6b 20 73 61 6d |3. The H|Link sam|
|000006d0| 70 6c 65 20 43 6f 6e 74 | 72 6f 6c 20 64 6f 65 73 |ple Cont|rol does|
|000006e0| 20 6e 6f 74 20 66 75 6e | 63 74 69 6f 6e 20 70 72 | not fun|ction pr|
|000006f0| 6f 70 65 72 6c 79 20 69 | 6e 20 49 6e 74 65 72 6e |operly i|n Intern|
|00000700| 65 74 20 45 78 70 6c 6f | 72 65 72 20 34 2e 30 70 |et Explo|rer 4.0p|
|00000710| 31 2e 20 20 54 68 69 73 | 20 77 69 6c 6c 20 62 65 |1. This| will be|
|00000720| 20 66 69 78 65 64 20 69 | 6e 20 74 68 65 20 49 6e | fixed i|n the In|
|00000730| 74 65 72 6e 65 74 20 45 | 78 70 6c 6f 72 65 72 20 |ternet E|xplorer |
|00000740| 34 2e 30 70 32 20 72 65 | 6c 65 61 73 65 2e 0d 34 |4.0p2 re|lease..4|
|00000750| 2e 20 20 41 6c 6c 20 73 | 61 6d 70 6c 65 20 63 6f |. All s|ample co|
|00000760| 6e 74 72 6f 6c 73 20 74 | 68 61 74 20 75 73 65 20 |ntrols t|hat use |
|00000770| 49 44 69 73 70 61 74 63 | 68 20 6f 72 20 43 6f 6e |IDispatc|h or Con|
|00000780| 6e 65 63 74 69 6f 6e 20 | 50 6f 69 6e 74 73 20 77 |nection |Points w|
|00000790| 69 6c 6c 20 63 72 61 73 | 68 20 69 6e 74 6f 20 4d |ill cras|h into M|
|000007a0| 61 63 73 62 75 67 20 69 | 66 20 79 6f 75 20 61 72 |acsbug i|f you ar|
|000007b0| 65 20 72 75 6e 6e 69 6e | 67 20 75 6e 64 65 72 20 |e runnin|g under |
|000007c0| 49 6e 74 65 72 6e 65 74 | 20 45 78 70 6c 6f 72 65 |Internet| Explore|
|000007d0| 72 20 33 2e 30 2e 31 2e | 20 20 54 68 69 73 20 70 |r 3.0.1.| This p|
|000007e0| 72 6f 62 6c 65 6d 20 64 | 6f 65 73 20 6e 6f 74 20 |roblem d|oes not |
|000007f0| 61 70 70 65 61 72 20 69 | 6e 20 49 45 20 34 2e 30 |appear i|n IE 4.0|
|00000800| 70 31 2e 0d 35 2e 20 53 | 6f 6d 65 20 73 79 73 74 |p1..5. S|ome syst|
|00000810| 65 6d 20 65 76 65 6e 74 | 73 20 61 6e 64 20 61 63 |em event|s and ac|
|00000820| 74 69 76 61 74 65 20 65 | 76 65 6e 74 73 20 61 72 |tivate e|vents ar|
|00000830| 65 20 6e 6f 74 20 70 72 | 6f 70 65 72 6c 79 20 62 |e not pr|operly b|
|00000840| 65 69 6e 67 20 73 65 6e | 74 20 74 6f 20 63 6f 6e |eing sen|t to con|
|00000850| 74 72 6f 6c 73 20 62 79 | 20 49 6e 74 65 72 6e 65 |trols by| Interne|
|00000860| 74 20 45 78 70 6c 6f 72 | 65 72 20 34 2e 30 70 31 |t Explor|er 4.0p1|
|00000870| 2e 20 20 54 68 69 73 20 | 70 72 6f 62 6c 65 6d 20 |. This |problem |
|00000880| 77 69 6c 6c 20 62 65 20 | 61 64 64 72 65 73 73 65 |will be |addresse|
|00000890| 64 20 69 6e 20 49 6e 74 | 65 72 6e 65 74 20 45 78 |d in Int|ernet Ex|
|000008a0| 70 6c 6f 72 65 72 20 34 | 2e 30 70 32 2e 0d 0d 43 |plorer 4|.0p2...C|
|000008b0| 6f 6e 74 61 69 6e 65 72 | 20 4c 69 62 72 61 72 79 |ontainer| Library|
|000008c0| 20 49 6e 69 74 69 61 6c | 69 7a 61 74 69 6f 6e 20 | Initial|ization |
|000008d0| 61 6e 64 20 53 69 74 65 | 20 43 72 65 61 74 69 6f |and Site| Creatio|
|000008e0| 6e 20 43 61 6c 6c 73 0d | 0d 4d 53 20 43 6f 6e 74 |n Calls.|.MS Cont|
|000008f0| 61 69 6e 65 72 20 4c 69 | 62 72 61 72 79 20 73 75 |ainer Li|brary su|
|00000900| 70 70 6f 72 74 73 20 20 | 61 20 6e 65 77 20 77 61 |pports |a new wa|
|00000910| 79 20 6f 66 20 69 6e 69 | 74 69 61 6c 69 7a 69 6e |y of ini|tializin|
|00000920| 67 20 61 6e 64 20 63 72 | 65 61 74 69 6e 67 20 73 |g and cr|eating s|
|00000930| 69 74 65 73 20 74 68 61 | 74 20 69 73 20 6d 75 6c |ites tha|t is mul|
|00000940| 74 69 70 6c 65 2d 63 6c | 69 65 6e 74 20 61 77 61 |tiple-cl|ient awa|
|00000950| 72 65 2e 20 20 54 68 65 | 73 65 20 6e 65 77 20 63 |re. The|se new c|
|00000960| 61 6c 6c 73 20 61 6c 73 | 6f 20 75 73 65 20 61 6e |alls als|o use an|
|00000970| 20 69 6d 70 72 6f 76 65 | 64 20 63 61 6c 6c 62 61 | improve|d callba|
|00000980| 63 6b 20 73 74 72 75 63 | 74 75 72 65 2c 20 41 58 |ck struc|ture, AX|
|00000990| 43 6c 69 65 6e 74 43 61 | 6c 6c 62 61 63 6b 73 2c |ClientCa|llbacks,|
|000009a0| 20 74 68 61 74 20 69 73 | 20 65 78 74 65 6e 73 69 | that is| extensi|
|000009b0| 62 6c 65 2e 20 20 20 54 | 68 65 20 65 78 69 73 74 |ble. T|he exist|
|000009c0| 69 6e 67 20 63 61 6c 6c | 73 20 6f 66 20 41 58 5f |ing call|s of AX_|
|000009d0| 49 6e 69 74 69 61 6c 69 | 7a 65 2c 20 41 58 5f 53 |Initiali|ze, AX_S|
|000009e0| 68 75 74 64 6f 77 6e 20 | 61 6e 64 20 41 58 5f 43 |hutdown |and AX_C|
|000009f0| 72 65 61 74 65 53 69 74 | 65 20 73 74 69 6c 6c 20 |reateSit|e still |
|00000a00| 77 6f 72 6b 20 77 69 74 | 68 20 63 61 6c 6c 62 61 |work wit|h callba|
|00000a10| 63 6b 73 20 74 68 61 74 | 20 77 65 72 65 20 72 65 |cks that| were re|
|00000a20| 6c 65 61 73 65 64 20 77 | 69 74 68 20 44 52 32 2e |leased w|ith DR2.|
|00000a30| 20 20 48 6f 77 65 76 65 | 72 2c 20 6e 65 77 20 63 | Howeve|r, new c|
|00000a40| 61 6c 6c 62 61 63 6b 73 | 20 63 72 65 61 74 65 64 |allbacks| created|
|00000a50| 20 73 69 6e 63 65 20 74 | 68 65 6e 20 61 72 65 20 | since t|hen are |
|00000a60| 6f 6e 6c 79 20 73 75 70 | 70 6f 72 74 65 64 20 62 |only sup|ported b|
|00000a70| 79 20 74 68 65 20 6e 65 | 77 20 6d 61 74 63 68 69 |y the ne|w matchi|
|00000a80| 6e 67 20 63 61 6c 6c 73 | 20 6f 66 20 41 58 5f 52 |ng calls| of AX_R|
|00000a90| 65 67 69 73 74 65 72 43 | 6c 69 65 6e 74 2c 20 41 |egisterC|lient, A|
|00000aa0| 58 5f 55 6e 72 65 67 69 | 73 74 65 72 43 6c 69 65 |X_Unregi|sterClie|
|00000ab0| 6e 74 20 61 6e 64 20 41 | 58 5f 4e 65 77 53 69 74 |nt and A|X_NewSit|
|00000ac0| 65 2e 20 20 59 6f 75 20 | 6d 75 73 74 20 75 70 64 |e. You |must upd|
|00000ad0| 61 74 65 20 74 6f 20 74 | 68 65 20 6e 65 77 20 63 |ate to t|he new c|
|00000ae0| 61 6c 6c 73 20 69 66 20 | 79 6f 75 20 77 61 6e 74 |alls if |you want|
|00000af0| 20 74 6f 20 73 75 70 70 | 6f 72 74 20 74 68 65 20 | to supp|ort the |
|00000b00| 62 61 73 69 63 20 49 45 | 43 6f 6e 74 72 6f 6c 20 |basic IE|Control |
|00000b10| 63 61 6c 6c 62 61 63 6b | 73 2e 20 20 59 6f 75 20 |callback|s. You |
|00000b20| 63 61 6e 20 63 6f 6e 74 | 69 6e 75 65 20 74 6f 20 |can cont|inue to |
|00000b30| 75 73 65 20 74 68 65 20 | 44 52 32 20 63 61 6c 6c |use the |DR2 call|
|00000b40| 73 20 69 66 20 79 6f 75 | 20 68 61 76 65 20 6e 6f |s if you| have no|
|00000b50| 20 6e 65 65 64 20 74 6f | 20 73 75 70 70 6f 72 74 | need to| support|
|00000b60| 20 63 61 6c 6c 62 61 63 | 6b 73 20 62 65 79 6f 6e | callbac|ks beyon|
|00000b70| 64 20 74 68 6f 73 65 20 | 64 65 66 69 6e 65 64 20 |d those |defined |
|00000b80| 77 69 74 68 20 74 68 65 | 20 44 52 32 20 72 65 6c |with the| DR2 rel|
|00000b90| 65 61 73 65 2e 20 20 48 | 6f 77 65 76 65 72 20 77 |ease. H|owever w|
|00000ba0| 65 20 68 69 67 68 6c 79 | 20 72 65 63 6f 6d 6d 65 |e highly| recomme|
|00000bb0| 6e 64 20 74 68 61 74 20 | 79 6f 75 20 73 77 69 74 |nd that |you swit|
|00000bc0| 63 68 20 74 6f 20 74 68 | 65 20 6e 65 77 20 63 61 |ch to th|e new ca|
|00000bd0| 6c 6c 73 20 61 73 20 73 | 6f 6f 6e 20 61 73 20 69 |lls as s|oon as i|
|00000be0| 74 20 69 73 20 63 6f 6e | 76 65 6e 69 65 6e 74 20 |t is con|venient |
|00000bf0| 66 6f 72 20 79 6f 75 20 | 74 6f 20 64 6f 20 73 6f |for you |to do so|
|00000c00| 2e 0d 0d 41 58 45 72 72 | 6f 72 43 6f 64 65 20 41 |...AXErr|orCode A|
|00000c10| 58 5f 52 65 67 69 73 74 | 65 72 43 6c 69 65 6e 74 |X_Regist|erClient|
|00000c20| 28 41 58 43 6c 69 65 6e | 74 49 6e 66 6f 2a 20 69 |(AXClien|tInfo* i|
|00000c30| 6e 43 6c 69 65 6e 74 49 | 6e 66 6f 2c 20 20 41 58 |nClientI|nfo, AX|
|00000c40| 43 6c 69 65 6e 74 43 61 | 6c 6c 62 61 63 6b 73 2a |ClientCa|llbacks*|
|00000c50| 20 69 6e 43 61 6c 6c 62 | 61 63 6b 73 2c 20 20 41 | inCallb|acks, A|
|00000c60| 58 52 65 66 49 44 2a 20 | 6f 75 74 43 6c 69 65 6e |XRefID* |outClien|
|00000c70| 74 49 44 29 0d 0d 52 65 | 70 6c 61 63 65 73 20 41 |tID)..Re|places A|
|00000c80| 58 5f 49 6e 69 74 69 61 | 6c 69 7a 65 28 29 2e 20 |X_Initia|lize(). |
|00000c90| 20 55 73 65 20 74 68 69 | 73 20 63 61 6c 6c 20 74 | Use thi|s call t|
|00000ca0| 6f 20 69 6e 69 74 69 61 | 6c 69 7a 65 20 74 68 65 |o initia|lize the|
|00000cb0| 20 4d 53 20 43 6f 6e 74 | 61 69 6e 65 72 20 4c 69 | MS Cont|ainer Li|
|00000cc0| 62 72 61 72 79 20 69 6e | 73 74 65 61 64 20 6f 66 |brary in|stead of|
|00000cd0| 20 41 58 5f 49 6e 69 74 | 69 61 6c 69 7a 65 2e 20 | AX_Init|ialize. |
|00000ce0| 20 0d 0d 69 6e 43 6c 69 | 65 6e 74 49 6e 66 6f 20 | ..inCli|entInfo |
|00000cf0| 2d 20 43 6f 6e 74 61 69 | 6e 73 20 63 6c 69 65 6e |- Contai|ns clien|
|00000d00| 74 20 69 6e 66 6f 72 6d | 61 74 69 6f 6e 20 73 75 |t inform|ation su|
|00000d10| 63 68 20 61 73 20 74 68 | 65 20 61 72 63 68 69 74 |ch as th|e archit|
|00000d20| 65 63 74 75 72 65 20 74 | 79 70 65 2e 0d 69 6e 43 |ecture t|ype..inC|
|00000d30| 61 6c 6c 62 61 63 6b 73 | 20 2d 20 4e 65 77 20 63 |allbacks| - New c|
|00000d40| 61 6c 6c 62 61 63 6b 20 | 73 74 72 75 63 74 75 72 |allback |structur|
|00000d50| 65 20 74 68 61 74 20 73 | 75 70 65 72 63 65 64 65 |e that s|upercede|
|00000d60| 73 20 74 68 65 20 41 58 | 43 61 6c 6c 62 61 63 6b |s the AX|Callback|
|00000d70| 73 20 73 74 72 75 63 74 | 75 72 65 0d 6f 75 74 43 |s struct|ure.outC|
|00000d80| 6c 69 65 6e 74 49 44 20 | 2d 20 52 65 74 75 72 6e |lientID |- Return|
|00000d90| 65 64 20 6f 70 61 71 75 | 65 20 72 65 66 65 72 65 |ed opaqu|e refere|
|00000da0| 6e 63 65 20 74 68 61 74 | 20 75 6e 69 71 75 65 6c |nce that| uniquel|
|00000db0| 79 20 69 64 65 6e 74 69 | 66 69 65 73 20 74 68 65 |y identi|fies the|
|00000dc0| 20 63 6c 69 65 6e 74 2e | 20 20 4e 6f 72 6d 61 6c | client.| Normal|
|00000dd0| 6c 79 20 73 68 6f 75 6c | 64 20 62 65 20 31 20 70 |ly shoul|d be 1 p|
|00000de0| 65 72 20 61 70 70 6c 69 | 63 61 74 69 6f 6e 2e 0d |er appli|cation..|
|00000df0| 0d 41 58 43 6c 69 65 6e | 74 49 6e 66 6f 20 69 73 |.AXClien|tInfo is|
|00000e00| 20 64 65 66 69 6e 65 64 | 20 69 6e 20 48 65 61 64 | defined| in Head|
|00000e10| 65 72 73 3a 41 58 54 79 | 70 65 73 2e 68 2e 0d 41 |ers:AXTy|pes.h..A|
|00000e20| 58 43 6c 69 65 6e 74 43 | 61 6c 6c 62 61 63 6b 73 |XClientC|allbacks|
|00000e30| 20 69 73 20 64 65 66 69 | 6e 65 64 20 69 6e 20 48 | is defi|ned in H|
|00000e40| 65 61 64 65 72 73 3a 41 | 58 43 61 6c 6c 62 61 63 |eaders:A|XCallbac|
|00000e50| 6b 73 2e 68 2e 0d 0d 0d | 41 58 45 72 72 6f 72 43 |ks.h....|AXErrorC|
|00000e60| 6f 64 65 20 41 58 5f 55 | 6e 72 65 67 69 73 74 65 |ode AX_U|nregiste|
|00000e70| 72 43 6c 69 65 6e 74 28 | 41 58 52 65 66 49 44 20 |rClient(|AXRefID |
|00000e80| 69 6e 43 6c 69 65 6e 74 | 49 44 29 0d 0d 52 65 70 |inClient|ID)..Rep|
|00000e90| 6c 61 63 65 73 20 41 58 | 5f 53 68 75 74 64 6f 77 |laces AX|_Shutdow|
|00000ea0| 6e 28 29 2e 20 20 55 73 | 65 20 74 68 69 73 20 63 |n(). Us|e this c|
|00000eb0| 61 6c 6c 20 77 68 65 6e | 20 79 6f 75 20 61 72 65 |all when| you are|
|00000ec0| 20 66 69 6e 69 73 68 65 | 64 20 77 69 74 68 20 74 | finishe|d with t|
|00000ed0| 68 65 20 63 6f 6e 74 61 | 69 6e 65 72 20 6c 69 62 |he conta|iner lib|
|00000ee0| 72 61 72 79 20 69 6e 73 | 74 65 61 64 20 6f 66 20 |rary ins|tead of |
|00000ef0| 41 58 5f 53 68 75 74 64 | 6f 77 6e 2e 20 20 54 68 |AX_Shutd|own. Th|
|00000f00| 65 20 63 6f 6e 74 61 69 | 6e 65 72 20 6c 69 62 72 |e contai|ner libr|
|00000f10| 61 72 79 20 77 69 6c 6c | 20 6e 6f 74 20 61 63 74 |ary will| not act|
|00000f20| 75 61 6c 6c 79 20 62 65 | 20 73 68 75 74 20 64 6f |ually be| shut do|
|00000f30| 77 6e 20 75 6e 74 69 6c | 20 74 68 65 20 6e 75 6d |wn until| the num|
|00000f40| 62 65 72 20 6f 66 20 65 | 78 69 73 74 69 6e 67 20 |ber of e|xisting |
|00000f50| 63 6c 69 65 6e 74 73 20 | 69 73 20 30 2e 0d 0d 69 |clients |is 0...i|
|00000f60| 6e 43 6c 69 65 6e 74 49 | 44 20 2d 20 4f 70 61 71 |nClientI|D - Opaq|
|00000f70| 75 65 20 72 65 66 65 72 | 65 6e 63 65 20 74 68 61 |ue refer|ence tha|
|00000f80| 74 20 77 61 73 20 72 65 | 74 75 72 6e 65 64 20 66 |t was re|turned f|
|00000f90| 72 6f 6d 20 41 58 5f 52 | 65 67 69 73 74 65 72 43 |rom AX_R|egisterC|
|00000fa0| 6c 69 65 6e 74 2e 0d 0d | 0d 41 58 45 72 72 6f 72 |lient...|.AXError|
|00000fb0| 43 6f 64 65 20 41 58 5f | 4e 65 77 53 69 74 65 28 |Code AX_|NewSite(|
|00000fc0| 41 58 52 65 66 49 44 20 | 69 6e 43 6c 69 65 6e 74 |AXRefID |inClient|
|00000fd0| 49 44 2c 20 20 41 58 52 | 65 66 49 44 20 69 6e 43 |ID, AXR|efID inC|
|00000fe0| 6f 6e 74 61 69 6e 65 72 | 49 44 2c 20 20 41 58 52 |ontainer|ID, AXR|
|00000ff0| 65 66 49 44 20 69 6e 43 | 6c 69 65 6e 74 53 69 74 |efID inC|lientSit|
|00001000| 65 49 44 2c 20 0d 09 09 | 09 09 09 09 09 09 09 09 |eID, ...|........|
|00001010| 09 09 09 09 09 09 09 09 | 09 09 09 09 09 63 6f 6e |........|.....con|
|00001020| 73 74 20 63 68 61 72 2a | 20 69 6e 42 61 73 65 55 |st char*| inBaseU|
|00001030| 52 4c 2c 20 20 41 58 52 | 65 66 49 44 2a 20 6f 75 |RL, AXR|efID* ou|
|00001040| 74 53 69 74 65 49 44 29 | 0d 0d 52 65 70 6c 61 63 |tSiteID)|..Replac|
|00001050| 65 73 20 41 58 5f 43 72 | 65 61 74 65 53 69 74 65 |es AX_Cr|eateSite|
|00001060| 2e 20 20 55 73 65 20 74 | 68 69 73 20 63 61 6c 6c |. Use t|his call|
|00001070| 20 74 6f 20 63 72 65 61 | 74 65 20 6e 65 77 20 73 | to crea|te new s|
|00001080| 69 74 65 73 20 69 6e 73 | 74 65 61 64 20 6f 66 20 |ites ins|tead of |
|00001090| 41 58 5f 43 72 65 61 74 | 65 53 69 74 65 2e 0d 0d |AX_Creat|eSite...|
|000010a0| 69 6e 43 6c 69 65 6e 74 | 49 44 20 2d 20 4f 70 61 |inClient|ID - Opa|
|000010b0| 71 75 65 20 72 65 66 65 | 72 65 6e 63 65 20 74 68 |que refe|rence th|
|000010c0| 61 74 20 77 61 73 20 72 | 65 74 75 72 6e 65 64 20 |at was r|eturned |
|000010d0| 66 72 6f 6d 20 41 58 5f | 52 65 67 69 73 74 65 72 |from AX_|Register|
|000010e0| 43 6c 69 65 6e 74 2e 0d | 0d 54 68 65 20 69 6e 69 |Client..|.The ini|
|000010f0| 74 69 61 6c 69 7a 61 74 | 69 6f 6e 20 61 6e 64 20 |tializat|ion and |
|00001100| 73 69 74 65 20 63 72 65 | 61 74 69 6f 6e 20 63 6f |site cre|ation co|
|00001110| 64 65 20 69 6e 20 53 69 | 6d 70 6c 65 43 6f 6e 74 |de in Si|mpleCont|
|00001120| 61 69 6e 65 72 20 64 65 | 6d 6f 6e 73 74 72 61 74 |ainer de|monstrat|
|00001130| 65 73 20 74 68 65 20 64 | 69 66 66 65 72 65 6e 63 |es the d|ifferenc|
|00001140| 65 73 20 62 65 74 77 65 | 65 6e 20 74 68 65 20 44 |es betwe|en the D|
|00001150| 52 32 20 61 6e 64 20 44 | 52 33 20 63 61 6c 6c 73 |R2 and D|R3 calls|
|00001160| 2e 20 20 41 70 70 50 72 | 65 66 69 78 2e 68 20 69 |. AppPr|efix.h i|
|00001170| 6e 20 53 69 6d 70 6c 65 | 43 6f 6e 74 61 69 6e 65 |n Simple|Containe|
|00001180| 72 20 69 6e 63 6c 75 64 | 65 73 20 61 20 23 64 65 |r includ|es a #de|
|00001190| 66 69 6e 65 20 44 52 33 | 5f 41 50 49 20 74 68 61 |fine DR3|_API tha|
|000011a0| 74 20 73 77 69 74 63 68 | 65 73 20 62 65 74 77 65 |t switch|es betwe|
|000011b0| 65 6e 20 74 68 65 20 32 | 20 6d 65 74 68 6f 64 73 |en the 2| methods|
|000011c0| 2e 20 20 41 63 74 69 76 | 65 58 41 70 70 20 75 73 |. Activ|eXApp us|
|000011d0| 65 73 20 74 68 65 20 6e | 65 77 20 63 61 6c 6c 73 |es the n|ew calls|
|000011e0| 20 65 78 63 6c 75 73 69 | 76 65 6c 79 2e 20 20 57 | exclusi|vely. W|
|000011f0| 65 20 72 65 63 6f 6d 6d | 65 6e 64 20 74 68 61 74 |e recomm|end that|
|00001200| 20 79 6f 75 20 73 77 69 | 74 63 68 20 74 6f 20 74 | you swi|tch to t|
|00001210| 68 65 73 65 20 6e 65 77 | 20 63 61 6c 6c 73 20 61 |hese new| calls a|
|00001220| 73 20 73 6f 6f 6e 20 61 | 73 20 63 6f 6e 76 65 6e |s soon a|s conven|
|00001230| 69 65 6e 74 2e 20 0d 0d | 0d 41 58 45 72 72 6f 72 |ient. ..|.AXError|
|00001240| 43 6f 64 65 20 41 58 5f | 53 65 74 43 6c 69 65 6e |Code AX_|SetClien|
|00001250| 74 49 6e 66 6f 28 41 58 | 43 6c 69 65 6e 74 49 6e |tInfo(AX|ClientIn|
|00001260| 66 6f 2a 20 69 6e 43 6c | 69 65 6e 74 49 6e 66 6f |fo* inCl|ientInfo|
|00001270| 29 0d 0d 43 6f 6e 76 65 | 6e 69 65 6e 63 65 20 63 |)..Conve|nience c|
|00001280| 61 6c 6c 20 61 64 64 65 | 64 20 73 6f 20 74 68 61 |all adde|d so tha|
|00001290| 74 20 63 6f 6e 74 61 69 | 6e 65 72 73 20 75 73 69 |t contai|ners usi|
|000012a0| 6e 67 20 74 68 65 20 6f | 6c 64 65 72 20 41 58 5f |ng the o|lder AX_|
|000012b0| 49 6e 69 74 69 61 6c 69 | 7a 65 28 29 20 63 61 6c |Initiali|ze() cal|
|000012c0| 6c 20 63 61 6e 20 73 70 | 65 63 69 66 79 20 74 68 |l can sp|ecify th|
|000012d0| 65 69 72 20 61 72 63 68 | 69 74 65 63 74 75 72 65 |eir arch|itecture|
|000012e0| 2e 20 20 54 68 69 73 20 | 63 61 6c 6c 20 73 68 6f |. This |call sho|
|000012f0| 75 6c 64 20 62 65 20 6d | 61 64 65 20 70 72 69 6f |uld be m|ade prio|
|00001300| 72 20 74 6f 20 63 61 6c | 6c 69 6e 67 20 41 58 5f |r to cal|ling AX_|
|00001310| 49 6e 69 74 69 61 6c 69 | 7a 65 28 29 2e 20 20 43 |Initiali|ze(). C|
|00001320| 6c 69 65 6e 74 20 61 72 | 63 68 69 74 65 63 74 75 |lient ar|chitectu|
|00001330| 72 65 20 64 65 66 61 75 | 6c 74 73 20 74 6f 20 43 |re defau|lts to C|
|00001340| 46 4d 2c 20 73 6f 20 74 | 68 65 72 65 20 69 73 20 |FM, so t|here is |
|00001350| 6e 6f 20 72 65 71 75 69 | 72 65 6d 65 6e 74 20 74 |no requi|rement t|
|00001360| 6f 20 6d 61 6b 65 20 74 | 68 69 73 20 63 61 6c 6c |o make t|his call|
|00001370| 20 69 66 20 79 6f 75 72 | 20 63 6f 6e 74 61 69 6e | if your| contain|
|00001380| 65 72 20 69 73 20 6e 6f | 74 20 63 6c 61 73 73 69 |er is no|t classi|
|00001390| 63 20 36 38 6b 2e 0d 0d | 69 6e 43 6c 69 65 6e 74 |c 68k...|inClient|
|000013a0| 49 6e 66 6f 20 2d 20 43 | 6f 6e 74 61 69 6e 73 20 |Info - C|ontains |
|000013b0| 63 6c 69 65 6e 74 20 69 | 6e 66 6f 72 6d 61 74 69 |client i|nformati|
|000013c0| 6f 6e 20 73 75 63 68 20 | 61 73 20 74 68 65 20 61 |on such |as the a|
|000013d0| 72 63 68 69 74 65 63 74 | 75 72 65 20 74 79 70 65 |rchitect|ure type|
|000013e0| 2e 0d 0d 54 68 65 20 69 | 6e 69 74 69 61 6c 69 7a |...The i|nitializ|
|000013f0| 61 74 69 6f 6e 20 61 6e | 64 20 73 69 74 65 20 63 |ation an|d site c|
|00001400| 72 65 61 74 69 6f 6e 20 | 63 6f 64 65 20 69 6e 20 |reation |code in |
|00001410| 53 69 6d 70 6c 65 43 6f | 6e 74 61 69 6e 65 72 20 |SimpleCo|ntainer |
|00001420| 64 65 6d 6f 6e 73 74 72 | 61 74 65 73 20 74 68 65 |demonstr|ates the|
|00001430| 20 64 69 66 66 65 72 65 | 6e 63 65 73 20 62 65 74 | differe|nces bet|
|00001440| 77 65 65 6e 20 74 68 65 | 20 44 52 32 20 61 6e 64 |ween the| DR2 and|
|00001450| 20 44 52 33 20 63 61 6c | 6c 73 2e 20 20 41 70 70 | DR3 cal|ls. App|
|00001460| 50 72 65 66 69 78 2e 68 | 20 69 6e 20 53 69 6d 70 |Prefix.h| in Simp|
|00001470| 6c 65 43 6f 6e 74 61 69 | 6e 65 72 20 69 6e 63 6c |leContai|ner incl|
|00001480| 75 64 65 73 20 61 20 23 | 64 65 66 69 6e 65 20 44 |udes a #|define D|
|00001490| 52 33 5f 41 50 49 20 74 | 68 61 74 20 73 77 69 74 |R3_API t|hat swit|
|000014a0| 63 68 65 73 20 62 65 74 | 77 65 65 6e 20 74 68 65 |ches bet|ween the|
|000014b0| 20 32 20 6d 65 74 68 6f | 64 73 2e 20 20 41 63 74 | 2 metho|ds. Act|
|000014c0| 69 76 65 58 41 70 70 20 | 75 73 65 73 20 74 68 65 |iveXApp |uses the|
|000014d0| 20 6e 65 77 20 63 61 6c | 6c 73 20 65 78 63 6c 75 | new cal|ls exclu|
|000014e0| 73 69 76 65 6c 79 2e 20 | 20 57 65 20 72 65 63 6f |sively. | We reco|
|000014f0| 6d 6d 65 6e 64 20 74 68 | 61 74 20 79 6f 75 20 73 |mmend th|at you s|
|00001500| 77 69 74 63 68 20 74 6f | 20 74 68 65 73 65 20 6e |witch to| these n|
|00001510| 65 77 20 63 61 6c 6c 73 | 20 61 73 20 73 6f 6f 6e |ew calls| as soon|
|00001520| 20 61 73 20 63 6f 6e 76 | 65 6e 69 65 6e 74 2e 20 | as conv|enient. |
|00001530| 0d 0d 0d 0d 50 6f 77 65 | 72 50 6c 61 6e 74 20 43 |....Powe|rPlant C|
|00001540| 6f 6e 74 61 69 6e 65 72 | 20 43 6c 61 73 73 65 73 |ontainer| Classes|
|00001550| 0d 0d 54 68 65 20 50 6f | 77 65 72 50 6c 61 6e 74 |..The Po|werPlant|
|00001560| 20 63 6c 61 73 73 2c 20 | 43 41 63 74 69 76 65 58 | class, |CActiveX|
|00001570| 56 69 65 77 2c 20 74 68 | 61 74 20 68 61 73 20 62 |View, th|at has b|
|00001580| 65 65 6e 20 69 6e 63 6c | 75 64 65 64 20 77 69 74 |een incl|uded wit|
|00001590| 68 20 61 6c 6c 20 70 72 | 65 76 69 6f 75 73 20 41 |h all pr|evious A|
|000015a0| 63 74 69 76 65 58 20 53 | 44 4b 20 72 65 6c 65 61 |ctiveX S|DK relea|
|000015b0| 73 65 73 20 68 61 73 20 | 62 65 65 6e 20 63 6c 65 |ses has |been cle|
|000015c0| 61 6e 65 64 20 75 70 20 | 61 20 62 69 74 20 73 6f |aned up |a bit so|
|000015d0| 20 74 68 61 74 20 69 74 | 20 63 61 6e 20 62 65 74 | that it| can bet|
|000015e0| 74 65 72 20 62 65 20 75 | 73 65 64 20 61 73 20 61 |ter be u|sed as a|
|000015f0| 20 64 72 6f 70 2d 69 6e | 20 63 6c 61 73 73 20 66 | drop-in| class f|
|00001600| 6f 72 20 63 6f 6e 74 61 | 69 6e 69 6e 67 20 41 63 |or conta|ining Ac|
|00001610| 74 69 76 65 58 20 63 6f | 6e 74 72 6f 6c 73 2e 20 |tiveX co|ntrols. |
|00001620| 20 41 63 74 69 76 65 58 | 41 70 70 2d 73 70 65 63 | ActiveX|App-spec|
|00001630| 69 66 69 63 20 63 6f 64 | 65 20 68 61 73 20 62 65 |ific cod|e has be|
|00001640| 65 6e 20 6d 6f 76 65 64 | 20 6f 75 74 20 69 6e 74 |en moved| out int|
|00001650| 6f 20 61 20 73 75 62 63 | 6c 61 73 73 2c 20 43 41 |o a subc|lass, CA|
|00001660| 63 74 69 76 65 58 41 70 | 70 56 69 65 77 2e 20 20 |ctiveXAp|pView. |
|00001670| 50 6f 77 65 72 50 6c 61 | 6e 74 2d 62 61 73 65 64 |PowerPla|nt-based|
|00001680| 20 63 6f 6e 74 61 69 6e | 65 72 73 20 63 61 6e 20 | contain|ers can |
|00001690| 63 68 6f 6f 73 65 20 74 | 6f 20 75 73 65 20 74 68 |choose t|o use th|
|000016a0| 65 20 43 41 63 74 69 76 | 65 58 56 69 65 77 20 73 |e CActiv|eXView s|
|000016b0| 61 6d 70 6c 65 20 63 6f | 64 65 20 61 73 20 61 20 |ample co|de as a |
|000016c0| 62 61 73 65 20 63 6c 61 | 73 73 20 66 6f 72 20 68 |base cla|ss for h|
|000016d0| 6f 73 74 69 6e 67 20 41 | 63 74 69 76 65 58 20 63 |osting A|ctiveX c|
|000016e0| 6f 6e 74 72 6f 6c 73 2e | 20 20 0d 0d 41 6c 73 6f |ontrols.| ..Also|
|000016f0| 2c 20 61 6e 20 61 70 70 | 6c 69 63 61 74 69 6f 6e |, an app|lication|
|00001700| 20 61 74 74 61 63 68 6d | 65 6e 74 2c 20 43 41 63 | attachm|ent, CAc|
|00001710| 74 69 76 65 58 41 70 70 | 41 74 74 61 63 68 6d 65 |tiveXApp|Attachme|
|00001720| 6e 74 2c 20 20 68 61 73 | 20 62 65 65 6e 20 63 72 |nt, has| been cr|
|00001730| 65 61 74 65 64 20 73 6f | 20 74 68 61 74 20 50 6f |eated so| that Po|
|00001740| 77 65 72 50 6c 61 6e 74 | 20 61 70 70 6c 69 63 61 |werPlant| applica|
|00001750| 74 69 6f 6e 20 63 6c 61 | 73 73 65 73 20 64 6f 20 |tion cla|sses do |
|00001760| 6e 6f 74 20 68 61 76 65 | 20 74 6f 20 68 61 76 65 |not have| to have|
|00001770| 20 61 6e 79 20 41 63 74 | 69 76 65 58 2d 73 70 65 | any Act|iveX-spe|
|00001780| 63 69 66 69 63 20 63 6f | 64 65 20 69 6e 20 74 68 |cific co|de in th|
|00001790| 65 6d 2e 20 20 20 41 6c | 6c 20 63 6f 6d 6d 75 6e |em. Al|l commun|
|000017a0| 69 63 61 74 69 6f 6e 20 | 77 69 74 68 20 74 68 65 |ication |with the|
|000017b0| 20 41 63 74 69 76 65 58 | 20 63 6f 6e 74 61 69 6e | ActiveX| contain|
|000017c0| 65 72 20 6c 69 62 72 61 | 72 79 20 69 73 20 69 73 |er libra|ry is is|
|000017d0| 6f 6c 61 74 65 64 20 77 | 69 74 68 69 6e 20 74 68 |olated w|ithin th|
|000017e0| 65 73 65 20 74 77 6f 20 | 63 6c 61 73 73 65 73 2e |ese two |classes.|
|000017f0| 20 20 41 63 74 69 76 65 | 58 41 70 70 20 64 65 6d | Active|XApp dem|
|00001800| 6f 6e 73 74 72 61 74 65 | 73 20 74 68 65 20 75 73 |onstrate|s the us|
|00001810| 65 20 6f 66 20 74 68 69 | 73 20 73 61 6d 70 6c 65 |e of thi|s sample|
|00001820| 20 63 6f 64 65 2e 20 20 | 0d 0d 0d 4f 62 6a 65 63 | code. |...Objec|
|00001830| 74 20 49 6e 66 6f 72 6d | 61 74 69 6f 6e 20 41 50 |t Inform|ation AP|
|00001840| 49 0d 0d 44 52 33 20 73 | 75 70 70 6f 72 74 73 20 |I..DR3 s|upports |
|00001850| 74 68 65 20 6e 6f 74 69 | 6f 6e 20 6f 66 20 62 61 |the noti|on of ba|
|00001860| 73 69 63 20 63 6f 6e 74 | 72 6f 6c 20 69 6e 66 6f |sic cont|rol info|
|00001870| 72 6d 61 74 69 6f 6e 20 | 74 68 61 74 20 63 61 6e |rmation |that can|
|00001880| 20 62 65 20 71 75 65 72 | 69 65 64 20 62 79 20 63 | be quer|ied by c|
|00001890| 6f 6e 74 61 69 6e 65 72 | 73 2e 20 20 54 68 69 73 |ontainer|s. This|
|000018a0| 20 69 6e 66 6f 72 6d 61 | 74 69 6f 6e 20 69 73 20 | informa|tion is |
|000018b0| 73 74 6f 72 65 64 20 69 | 6e 20 61 20 72 65 73 6f |stored i|n a reso|
|000018c0| 75 72 63 65 20 6f 66 20 | 74 79 70 65 20 27 4f 49 |urce of |type 'OI|
|000018d0| 6e 66 27 20 69 6e 20 74 | 68 65 20 63 6f 6e 74 72 |nf' in t|he contr|
|000018e0| 6f 6c 27 73 20 72 65 73 | 6f 75 72 63 65 20 66 6f |ol's res|ource fo|
|000018f0| 72 6b 2e 20 20 48 6f 77 | 65 76 65 72 2c 20 63 6f |rk. How|ever, co|
|00001900| 6e 74 61 69 6e 65 72 20 | 61 70 70 6c 69 63 61 74 |ntainer |applicat|
|00001910| 69 6f 6e 73 20 72 65 71 | 75 69 72 65 20 6e 6f 20 |ions req|uire no |
|00001920| 6b 6e 6f 77 6c 65 64 67 | 65 20 6f 66 20 74 68 65 |knowledg|e of the|
|00001930| 20 65 78 69 73 74 65 6e | 63 65 20 6f 72 20 66 6f | existen|ce or fo|
|00001940| 72 6d 61 74 20 6f 66 20 | 74 68 69 73 20 72 65 73 |rmat of |this res|
|00001950| 6f 75 72 63 65 2e 20 20 | 41 70 70 6c 69 63 61 74 |ource. |Applicat|
|00001960| 69 6f 6e 73 20 63 61 6e | 20 67 65 74 20 74 68 69 |ions can| get thi|
|00001970| 73 20 69 6e 66 6f 72 6d | 61 74 69 6f 6e 20 62 79 |s inform|ation by|
|00001980| 20 75 73 69 6e 67 20 6e | 65 77 20 4d 53 20 43 6f | using n|ew MS Co|
|00001990| 6e 74 61 69 6e 65 72 20 | 4c 69 62 72 61 72 79 20 |ntainer |Library |
|000019a0| 41 50 49 20 63 61 6c 6c | 73 20 66 6f 75 6e 64 20 |API call|s found |
|000019b0| 69 6e 20 49 6e 66 6f 41 | 50 49 2e 68 2e 20 20 54 |in InfoA|PI.h. T|
|000019c0| 68 65 20 69 6e 66 6f 72 | 6d 61 74 69 6f 6e 20 63 |he infor|mation c|
|000019d0| 61 6e 20 62 65 20 72 65 | 74 72 69 65 76 65 64 20 |an be re|trieved |
|000019e0| 77 68 65 74 68 65 72 20 | 6f 72 20 6e 6f 74 20 74 |whether |or not t|
|000019f0| 68 65 20 63 6f 6e 74 72 | 6f 6c 20 69 73 20 61 63 |he contr|ol is ac|
|00001a00| 74 75 61 6c 6c 79 20 72 | 75 6e 6e 69 6e 67 2e 20 |tually r|unning. |
|00001a10| 20 49 66 20 61 20 63 6f | 6e 74 72 6f 6c 20 69 73 | If a co|ntrol is|
|00001a20| 20 72 75 6e 6e 69 6e 67 | 2c 20 74 68 65 20 63 6f | running|, the co|
|00001a30| 6e 74 72 6f 6c 27 73 20 | 53 69 74 65 20 49 44 20 |ntrol's |Site ID |
|00001a40| 69 73 20 75 73 65 64 20 | 69 6e 20 74 68 65 20 41 |is used |in the A|
|00001a50| 50 49 20 74 6f 20 72 65 | 74 72 69 65 76 65 20 74 |PI to re|trieve t|
|00001a60| 68 65 20 69 6e 66 6f 72 | 6d 61 74 69 6f 6e 2e 20 |he infor|mation. |
|00001a70| 20 49 66 20 74 68 65 20 | 63 6f 6e 74 72 6f 6c 20 | If the |control |
|00001a80| 69 73 20 6e 6f 74 20 72 | 75 6e 6e 69 6e 67 2c 20 |is not r|unning, |
|00001a90| 61 20 66 69 6c 65 20 73 | 70 65 63 20 6f 72 20 66 |a file s|pec or f|
|00001aa0| 69 6c 65 20 72 65 66 65 | 72 65 6e 63 65 20 63 61 |ile refe|rence ca|
|00001ab0| 6e 20 62 65 20 75 73 65 | 64 20 74 6f 20 67 65 74 |n be use|d to get|
|00001ac0| 20 74 68 65 20 64 65 73 | 69 72 65 64 20 69 6e 66 | the des|ired inf|
|00001ad0| 6f 72 6d 61 74 69 6f 6e | 2e 20 0d 0d 53 69 6d 70 |ormation|. ..Simp|
|00001ae0| 6c 65 43 6f 6e 74 61 69 | 6e 65 72 20 61 6e 64 20 |leContai|ner and |
|00001af0| 41 63 74 69 76 65 58 41 | 70 70 20 62 6f 74 68 20 |ActiveXA|pp both |
|00001b00| 67 69 76 65 20 65 78 61 | 6d 70 6c 65 73 20 6f 66 |give exa|mples of|
|00001b10| 20 74 68 65 20 64 69 73 | 70 6c 61 79 20 61 6e 64 | the dis|play and|
|00001b20| 20 75 73 65 20 6f 66 20 | 74 68 65 73 65 20 65 6e | use of |these en|
|00001b30| 74 72 79 20 70 6f 69 6e | 74 73 2e 20 20 53 69 6d |try poin|ts. Sim|
|00001b40| 70 6c 65 43 6f 6e 74 61 | 69 6e 65 72 20 69 6d 70 |pleConta|iner imp|
|00001b50| 6c 65 6d 65 6e 74 73 20 | 74 68 65 20 64 69 73 70 |lements |the disp|
|00001b60| 6c 61 79 20 6f 66 20 4f | 62 6a 65 63 74 20 49 6e |lay of O|bject In|
|00001b70| 66 6f 72 6d 61 74 69 6f | 6e 20 61 6e 64 20 4f 62 |formatio|n and Ob|
|00001b80| 6a 65 63 74 20 44 65 73 | 63 72 69 70 74 69 6f 6e |ject Des|cription|
|00001b90| 73 20 69 6e 20 74 68 65 | 20 4f 62 6a 65 63 74 49 |s in the| ObjectI|
|00001ba0| 6e 66 6f 57 69 6e 2e 63 | 20 66 69 6c 65 2e 20 20 |nfoWin.c| file. |
|00001bb0| 46 6f 72 20 61 20 71 75 | 69 63 6b 20 6c 6f 6f 6b |For a qu|ick look|
|00001bc0| 2c 20 75 73 65 20 74 68 | 65 20 4a 53 42 75 74 74 |, use th|e JSButt|
|00001bd0| 6f 6e 20 63 6f 6e 74 72 | 6f 6c 20 61 6e 64 20 63 |on contr|ol and c|
|00001be0| 68 6f 6f 73 65 20 74 68 | 65 20 22 53 68 6f 77 20 |hoose th|e "Show |
|00001bf0| 4f 62 6a 65 63 74 20 49 | 6e 66 6f 22 20 69 74 65 |Object I|nfo" ite|
|00001c00| 6d 20 66 72 6f 6d 20 74 | 68 65 20 65 64 69 74 20 |m from t|he edit |
|00001c10| 6d 65 6e 75 20 74 6f 20 | 64 69 73 70 6c 61 79 20 |menu to |display |
|00001c20| 61 20 77 69 6e 64 6f 77 | 20 63 6f 6e 74 61 69 6e |a window| contain|
|00001c30| 69 6e 67 20 74 68 69 73 | 20 64 61 74 61 2e 0d 0d |ing this| data...|
|00001c40| 54 68 65 20 6e 65 77 20 | 63 6f 6e 74 61 69 6e 65 |The new |containe|
|00001c50| 72 20 41 50 49 20 63 61 | 6c 6c 73 20 66 6f 72 20 |r API ca|lls for |
|00001c60| 4f 62 6a 65 63 74 20 49 | 6e 66 6f 72 6d 61 74 69 |Object I|nformati|
|00001c70| 6f 6e 20 69 73 20 61 73 | 20 66 6f 6c 6c 6f 77 73 |on is as| follows|
|00001c80| 3a 0d 0d 49 66 20 74 68 | 65 20 63 6f 6e 74 61 69 |:..If th|e contai|
|00001c90| 6e 65 72 20 6e 65 65 64 | 73 20 74 6f 20 72 65 74 |ner need|s to ret|
|00001ca0| 72 69 65 76 65 20 69 6e | 66 6f 72 6d 61 74 69 6f |rieve in|formatio|
|00001cb0| 6e 20 66 6f 72 20 61 20 | 63 6f 6e 74 72 6f 6c 20 |n for a |control |
|00001cc0| 74 68 61 74 20 69 73 20 | 6e 6f 74 20 72 75 6e 6e |that is |not runn|
|00001cd0| 69 6e 67 2c 20 69 74 20 | 73 68 6f 75 6c 64 20 6f |ing, it |should o|
|00001ce0| 70 65 6e 20 61 6e 64 20 | 63 6c 6f 73 65 20 74 68 |pen and |close th|
|00001cf0| 65 20 4f 62 6a 65 63 74 | 20 49 6e 66 6f 20 77 69 |e Object| Info wi|
|00001d00| 74 68 20 74 68 65 20 66 | 6f 6c 6c 6f 77 69 6e 67 |th the f|ollowing|
|00001d10| 20 63 61 6c 6c 73 3a 0d | 0d 41 58 45 72 72 6f 72 | calls:.|.AXError|
|00001d20| 43 6f 64 65 09 41 58 5f | 4f 70 65 6e 4f 62 6a 65 |Code.AX_|OpenObje|
|00001d30| 63 74 49 6e 66 6f 28 41 | 58 50 6c 61 74 66 6f 72 |ctInfo(A|XPlatfor|
|00001d40| 6d 46 69 6c 65 53 70 65 | 63 2a 20 69 6e 46 69 6c |mFileSpe|c* inFil|
|00001d50| 65 53 70 65 63 2c 20 41 | 58 50 6c 61 74 66 6f 72 |eSpec, A|XPlatfor|
|00001d60| 6d 46 69 6c 65 52 65 66 | 20 69 6e 46 69 6c 65 52 |mFileRef| inFileR|
|00001d70| 65 66 2c 20 41 58 52 65 | 66 49 44 2a 20 6f 75 74 |ef, AXRe|fID* out|
|00001d80| 49 6e 66 6f 52 65 66 29 | 3b 0d 0d 52 65 74 75 72 |InfoRef)|;..Retur|
|00001d90| 6e 73 20 61 20 72 65 66 | 65 72 65 6e 63 65 20 74 |ns a ref|erence t|
|00001da0| 68 61 74 20 63 61 6e 20 | 62 65 20 75 73 65 64 20 |hat can |be used |
|00001db0| 74 6f 20 72 65 74 72 69 | 65 76 65 20 4f 62 6a 65 |to retri|eve Obje|
|00001dc0| 63 74 20 49 6e 66 6f 72 | 6d 61 74 69 6f 6e 20 66 |ct Infor|mation f|
|00001dd0| 72 6f 6d 20 61 20 63 6f | 6e 74 72 6f 6c 20 74 68 |rom a co|ntrol th|
|00001de0| 61 74 20 69 73 20 6e 6f | 74 20 63 75 72 72 65 6e |at is no|t curren|
|00001df0| 74 6c 79 20 72 75 6e 6e | 69 6e 67 2e 20 0d 0d 69 |tly runn|ing. ..i|
|00001e00| 6e 46 69 6c 65 53 70 65 | 63 20 2d 20 46 69 6c 65 |nFileSpe|c - File|
|00001e10| 53 70 65 63 20 6f 66 20 | 74 68 65 20 63 6f 6e 74 |Spec of |the cont|
|00001e20| 72 6f 6c 2e 20 20 49 66 | 20 6e 69 6c 2c 20 69 6e |rol. If| nil, in|
|00001e30| 46 69 6c 65 52 65 66 20 | 73 68 6f 75 6c 64 20 62 |FileRef |should b|
|00001e40| 65 20 76 61 6c 69 64 2e | 0d 69 6e 46 69 6c 65 52 |e valid.|.inFileR|
|00001e50| 65 66 20 2d 20 46 69 6c | 65 20 72 65 66 65 72 65 |ef - Fil|e refere|
|00001e60| 6e 63 65 20 6f 66 20 74 | 68 65 20 72 65 73 6f 75 |nce of t|he resou|
|00001e70| 72 63 65 20 66 6f 72 6b | 20 6f 66 20 74 68 65 20 |rce fork| of the |
|00001e80| 63 6f 6e 74 72 6f 6c 2e | 20 20 49 66 20 30 2c 20 |control.| If 0, |
|00001e90| 69 6e 46 69 6c 65 53 70 | 65 63 20 73 68 6f 75 6c |inFileSp|ec shoul|
|00001ea0| 64 20 62 65 20 76 61 6c | 69 64 0d 6f 75 74 49 6e |d be val|id.outIn|
|00001eb0| 66 6f 52 65 66 20 2d 20 | 52 65 66 65 72 65 6e 63 |foRef - |Referenc|
|00001ec0| 65 20 72 65 74 75 72 6e | 65 64 20 74 6f 20 74 68 |e return|ed to th|
|00001ed0| 65 20 63 6f 6e 74 61 69 | 6e 65 72 20 74 6f 20 62 |e contai|ner to b|
|00001ee0| 65 20 75 73 65 64 20 66 | 6f 72 20 66 75 72 74 68 |e used f|or furth|
|00001ef0| 65 72 20 63 6f 6e 74 72 | 6f 6c 20 69 6e 66 6f 72 |er contr|ol infor|
|00001f00| 6d 61 74 69 6f 6e 20 67 | 61 74 68 65 72 69 6e 67 |mation g|athering|
|00001f10| 2e 0d 0d 41 58 45 72 72 | 6f 72 43 6f 64 65 09 41 |...AXErr|orCode.A|
|00001f20| 58 5f 43 6c 6f 73 65 4f | 62 6a 65 63 74 49 6e 66 |X_CloseO|bjectInf|
|00001f30| 6f 28 41 58 52 65 66 49 | 44 20 69 6e 49 6e 66 6f |o(AXRefI|D inInfo|
|00001f40| 52 65 66 29 0d 0d 43 61 | 6c 6c 65 64 20 77 68 65 |Ref)..Ca|lled whe|
|00001f50| 6e 20 74 68 65 20 63 6f | 6e 74 61 69 6e 65 72 20 |n the co|ntainer |
|00001f60| 68 61 73 20 66 69 6e 69 | 73 68 65 64 20 67 61 74 |has fini|shed gat|
|00001f70| 68 65 72 69 6e 67 20 69 | 6e 66 6f 72 6d 61 74 69 |hering i|nformati|
|00001f80| 6f 6e 20 61 62 6f 75 74 | 20 61 20 63 6f 6e 74 72 |on about| a contr|
|00001f90| 6f 6c 20 74 68 61 74 20 | 77 61 73 20 6e 6f 74 20 |ol that |was not |
|00001fa0| 63 75 72 72 65 6e 74 6c | 79 20 72 75 6e 6e 69 6e |currentl|y runnin|
|00001fb0| 67 2e 0d 0d 69 6e 49 6e | 66 6f 52 65 66 20 2d 20 |g...inIn|foRef - |
|00001fc0| 74 68 65 20 72 65 66 65 | 72 65 6e 63 65 20 72 65 |the refe|rence re|
|00001fd0| 74 75 72 6e 65 64 20 66 | 72 6f 6d 20 41 58 5f 4f |turned f|rom AX_O|
|00001fe0| 70 65 6e 4f 62 6a 65 63 | 74 49 6e 66 6f 2e 0d 0d |penObjec|tInfo...|
|00001ff0| 0d 54 68 65 20 66 6f 6c | 6c 6f 77 69 6e 67 20 41 |.The fol|lowing A|
|00002000| 50 49 20 63 61 6c 6c 73 | 20 67 65 74 20 74 68 65 |PI calls| get the|
|00002010| 20 69 6e 66 6f 72 6d 61 | 74 69 6f 6e 20 75 73 69 | informa|tion usi|
|00002020| 6e 67 20 65 69 74 68 65 | 72 20 61 20 53 69 74 65 |ng eithe|r a Site|
|00002030| 20 49 44 20 6f 72 20 49 | 6e 66 6f 20 52 65 66 65 | ID or I|nfo Refe|
|00002040| 72 65 6e 63 65 2e 0d 0d | 41 58 45 72 72 6f 72 43 |rence...|AXErrorC|
|00002050| 6f 64 65 20 41 58 5f 47 | 65 74 43 6c 61 73 73 49 |ode AX_G|etClassI|
|00002060| 44 28 41 58 52 65 66 49 | 44 20 69 6e 53 69 74 65 |D(AXRefI|D inSite|
|00002070| 49 44 2c 20 20 41 58 52 | 65 66 49 44 20 69 6e 49 |ID, AXR|efID inI|
|00002080| 6e 66 6f 52 65 66 2c 20 | 20 43 4c 53 49 44 2a 20 |nfoRef, | CLSID* |
|00002090| 6f 75 74 43 6c 61 73 73 | 49 44 29 0d 0d 52 65 74 |outClass|ID)..Ret|
|000020a0| 75 72 6e 73 20 74 68 65 | 20 43 6c 61 73 73 49 44 |urns the| ClassID|
|000020b0| 20 6f 66 20 74 68 65 20 | 63 6f 6e 74 72 6f 6c 2e | of the |control.|
|000020c0| 0d 0d 69 6e 53 69 74 65 | 49 44 20 2d 20 53 69 74 |..inSite|ID - Sit|
|000020d0| 65 49 44 20 74 68 61 74 | 20 77 61 73 20 72 65 74 |eID that| was ret|
|000020e0| 75 72 6e 65 64 20 66 72 | 6f 6d 20 61 20 70 72 65 |urned fr|om a pre|
|000020f0| 76 69 6f 75 73 20 41 58 | 5f 43 72 65 61 74 65 53 |vious AX|_CreateS|
|00002100| 69 74 65 20 6f 72 20 41 | 58 5f 4e 65 77 53 69 74 |ite or A|X_NewSit|
|00002110| 65 20 63 61 6c 6c 2e 20 | 20 49 66 20 30 2c 20 69 |e call. | If 0, i|
|00002120| 6e 49 6e 66 6f 52 65 66 | 20 6d 75 73 74 20 62 65 |nInfoRef| must be|
|00002130| 20 76 61 6c 69 64 2e 0d | 69 6e 49 6e 66 6f 52 65 | valid..|inInfoRe|
|00002140| 66 20 2d 20 49 6e 66 6f | 20 52 65 66 65 72 65 6e |f - Info| Referen|
|00002150| 63 65 20 72 65 74 75 72 | 6e 65 64 20 66 72 6f 6d |ce retur|ned from|
|00002160| 20 61 20 70 72 65 76 69 | 6f 75 73 20 41 58 5f 4f | a previ|ous AX_O|
|00002170| 70 65 6e 4f 62 6a 65 63 | 74 49 6e 66 6f 20 63 61 |penObjec|tInfo ca|
|00002180| 6c 6c 2e 20 20 49 66 20 | 30 2c 20 69 6e 53 69 74 |ll. If |0, inSit|
|00002190| 65 49 44 20 6d 75 73 74 | 20 62 65 20 76 61 6c 69 |eID must| be vali|
|000021a0| 64 2e 0d 6f 75 74 43 6c | 61 73 73 49 44 20 20 2d |d..outCl|assID -|
|000021b0| 20 4f 6e 20 65 78 69 74 | 20 63 6f 6e 74 61 69 6e | On exit| contain|
|000021c0| 73 20 74 68 65 20 63 6c | 61 73 73 20 49 44 20 6f |s the cl|ass ID o|
|000021d0| 66 20 74 68 65 20 63 6f | 6e 74 72 6f 6c 20 69 6e |f the co|ntrol in|
|000021e0| 20 47 55 49 44 20 73 74 | 72 75 63 74 75 72 65 20 | GUID st|ructure |
|000021f0| 66 6f 72 6d 61 74 0d 0d | 0d 41 58 45 72 72 6f 72 |format..|.AXError|
|00002200| 43 6f 64 65 20 41 58 5f | 47 65 74 49 44 53 74 72 |Code AX_|GetIDStr|
|00002210| 69 6e 67 28 41 58 52 65 | 66 49 44 20 69 6e 53 69 |ing(AXRe|fID inSi|
|00002220| 74 65 49 44 2c 20 41 58 | 52 65 66 49 44 20 69 6e |teID, AX|RefID in|
|00002230| 49 6e 66 6f 52 65 66 2c | 20 41 58 49 44 4b 69 6e |InfoRef,| AXIDKin|
|00002240| 64 20 69 6e 4b 69 6e 64 | 2c 20 55 69 6e 74 33 32 |d inKind|, Uint32|
|00002250| 20 69 6e 42 75 66 66 65 | 72 53 69 7a 65 2c 20 0d | inBuffe|rSize, .|
|00002260| 09 09 09 09 09 09 09 09 | 09 09 09 09 09 09 09 09 |........|........|
|00002270| 09 09 09 09 09 09 09 09 | 09 09 09 09 43 68 61 72 |........|....Char|
|00002280| 38 2a 20 6f 75 74 49 44 | 29 0d 0d 52 65 74 75 72 |8* outID|)..Retur|
|00002290| 6e 73 20 6f 6e 65 20 6f | 66 20 73 65 76 65 72 61 |ns one o|f severa|
|000022a0| 6c 20 49 44 20 73 74 72 | 69 6e 67 73 20 66 6f 72 |l ID str|ings for|
|000022b0| 20 61 20 63 6f 6e 74 72 | 6f 6c 2e 20 20 54 68 65 | a contr|ol. The|
|000022c0| 20 49 44 20 73 74 72 69 | 6e 67 73 20 63 61 6e 20 | ID stri|ngs can |
|000022d0| 69 6e 63 6c 75 64 65 3a | 0d 0d 43 6c 61 73 73 20 |include:|..Class |
|000022e0| 49 44 20 2d 20 43 20 53 | 74 72 69 6e 67 20 72 65 |ID - C S|tring re|
|000022f0| 70 72 65 73 65 6e 74 61 | 74 69 6f 6e 20 6f 66 20 |presenta|tion of |
|00002300| 74 68 65 20 63 6c 61 73 | 73 20 49 44 0d 55 73 65 |the clas|s ID.Use|
|00002310| 72 20 4e 61 6d 65 20 2d | 20 44 69 73 70 6c 61 79 |r Name -| Display|
|00002320| 61 62 6c 65 20 68 75 6d | 61 6e 20 72 65 61 64 61 |able hum|an reada|
|00002330| 62 6c 65 20 6e 61 6d 65 | 20 6f 66 20 74 68 65 20 |ble name| of the |
|00002340| 63 6f 6e 74 72 6f 6c 0d | 50 72 6f 67 20 49 44 20 |control.|Prog ID |
|00002350| 2d 20 52 65 67 69 73 74 | 72 61 74 69 6f 6e 20 6e |- Regist|ration n|
|00002360| 61 6d 65 20 6f 66 20 74 | 68 65 20 63 6f 6e 74 72 |ame of t|he contr|
|00002370| 6f 6c 0d 46 72 61 67 6d | 65 6e 74 20 6e 61 6d 65 |ol.Fragm|ent name|
|00002380| 20 2d 20 43 46 4d 20 46 | 72 61 67 6d 65 6e 74 20 | - CFM F|ragment |
|00002390| 6e 61 6d 65 20 6f 66 20 | 74 68 65 20 63 6f 6e 74 |name of |the cont|
|000023a0| 72 6f 6c 0d 43 6f 64 65 | 62 61 73 65 20 65 78 74 |rol.Code|base ext|
|000023b0| 65 6e 73 69 6f 6e 20 2d | 20 54 68 65 20 64 65 66 |ension -| The def|
|000023c0| 61 75 6c 74 20 65 78 74 | 65 6e 73 69 6f 6e 20 6f |ault ext|ension o|
|000023d0| 66 20 74 68 65 20 63 6f | 64 65 62 61 73 65 20 66 |f the co|debase f|
|000023e0| 69 6c 65 20 66 6f 72 20 | 74 68 65 20 63 6f 6e 74 |ile for |the cont|
|000023f0| 72 6f 6c 0d 0d 54 68 65 | 73 65 20 49 44 20 73 74 |rol..The|se ID st|
|00002400| 72 69 6e 67 73 20 61 72 | 65 20 73 65 6c 65 63 74 |rings ar|e select|
|00002410| 65 64 20 62 79 20 74 68 | 65 20 69 6e 4b 69 6e 64 |ed by th|e inKind|
|00002420| 20 70 61 72 61 6d 65 74 | 65 72 2e 20 20 41 58 49 | paramet|er. AXI|
|00002430| 44 4b 69 6e 64 20 69 73 | 20 64 65 66 69 6e 65 64 |DKind is| defined|
|00002440| 20 69 6e 20 48 65 61 64 | 65 72 73 3a 41 58 4f 62 | in Head|ers:AXOb|
|00002450| 6a 65 63 74 44 65 73 63 | 2e 68 2e 0d 0d 69 6e 53 |jectDesc|.h...inS|
|00002460| 69 74 65 49 44 20 2d 20 | 53 69 74 65 49 44 20 74 |iteID - |SiteID t|
|00002470| 68 61 74 20 77 61 73 20 | 72 65 74 75 72 6e 65 64 |hat was |returned|
|00002480| 20 66 72 6f 6d 20 61 20 | 70 72 65 76 69 6f 75 73 | from a |previous|
|00002490| 20 41 58 5f 43 72 65 61 | 74 65 53 69 74 65 20 6f | AX_Crea|teSite o|
|000024a0| 72 20 41 58 5f 4e 65 77 | 53 69 74 65 20 63 61 6c |r AX_New|Site cal|
|000024b0| 6c 2e 20 20 49 66 20 30 | 2c 20 69 6e 49 6e 66 6f |l. If 0|, inInfo|
|000024c0| 52 65 66 20 6d 75 73 74 | 20 62 65 20 76 61 6c 69 |Ref must| be vali|
|000024d0| 64 2e 0d 69 6e 49 6e 66 | 6f 52 65 66 20 2d 20 49 |d..inInf|oRef - I|
|000024e0| 6e 66 6f 20 52 65 66 65 | 72 65 6e 63 65 20 72 65 |nfo Refe|rence re|
|000024f0| 74 75 72 6e 65 64 20 66 | 72 6f 6d 20 61 20 70 72 |turned f|rom a pr|
|00002500| 65 76 69 6f 75 73 20 41 | 58 5f 4f 70 65 6e 4f 62 |evious A|X_OpenOb|
|00002510| 6a 65 63 74 49 6e 66 6f | 20 63 61 6c 6c 2e 20 20 |jectInfo| call. |
|00002520| 49 66 20 30 2c 20 69 6e | 53 69 74 65 49 44 20 6d |If 0, in|SiteID m|
|00002530| 75 73 74 20 62 65 20 76 | 61 6c 69 64 2e 0d 41 58 |ust be v|alid..AX|
|00002540| 49 44 4b 69 6e 64 20 2d | 20 53 70 65 63 69 66 69 |IDKind -| Specifi|
|00002550| 65 73 20 77 68 69 63 68 | 20 73 74 72 69 6e 67 20 |es which| string |
|00002560| 74 68 65 20 63 61 6c 6c | 65 72 20 77 61 6e 74 73 |the call|er wants|
|00002570| 20 72 65 74 75 72 6e 65 | 64 2e 0d 6f 75 74 49 44 | returne|d..outID|
|00002580| 20 2d 20 4f 6e 20 65 78 | 69 74 20 63 6f 6e 74 61 | - On ex|it conta|
|00002590| 69 6e 73 20 74 68 65 20 | 73 74 72 69 6e 67 20 73 |ins the |string s|
|000025a0| 70 65 63 69 66 69 65 64 | 20 62 79 20 69 6e 4b 69 |pecified| by inKi|
|000025b0| 6e 64 2e 0d 0d 0d 41 58 | 45 72 72 6f 72 43 6f 64 |nd....AX|ErrorCod|
|000025c0| 65 20 41 58 5f 47 65 74 | 44 65 66 61 75 6c 74 53 |e AX_Get|DefaultS|
|000025d0| 69 7a 65 28 41 58 52 65 | 66 49 44 20 69 6e 53 69 |ize(AXRe|fID inSi|
|000025e0| 74 65 49 44 2c 20 41 58 | 52 65 66 49 44 20 69 6e |teID, AX|RefID in|
|000025f0| 49 6e 66 6f 52 65 66 2c | 20 41 58 50 6c 61 74 66 |InfoRef,| AXPlatf|
|00002600| 6f 72 6d 50 6f 69 6e 74 | 2a 20 6f 75 74 44 65 66 |ormPoint|* outDef|
|00002610| 61 75 6c 74 53 69 7a 65 | 29 0d 0d 52 65 74 75 72 |aultSize|)..Retur|
|00002620| 6e 73 20 74 68 65 20 64 | 65 66 61 75 6c 74 20 73 |ns the d|efault s|
|00002630| 69 7a 65 20 6f 66 20 74 | 68 65 20 63 6f 6e 74 72 |ize of t|he contr|
|00002640| 6f 6c 2e 20 20 0d 0d 69 | 6e 53 69 74 65 49 44 20 |ol. ..i|nSiteID |
|00002650| 2d 20 53 69 74 65 49 44 | 20 74 68 61 74 20 77 61 |- SiteID| that wa|
|00002660| 73 20 72 65 74 75 72 6e | 65 64 20 66 72 6f 6d 20 |s return|ed from |
|00002670| 61 20 70 72 65 76 69 6f | 75 73 20 41 58 5f 43 72 |a previo|us AX_Cr|
|00002680| 65 61 74 65 53 69 74 65 | 20 6f 72 20 41 58 5f 4e |eateSite| or AX_N|
|00002690| 65 77 53 69 74 65 20 63 | 61 6c 6c 2e 20 20 49 66 |ewSite c|all. If|
|000026a0| 20 30 2c 20 69 6e 49 6e | 66 6f 52 65 66 20 6d 75 | 0, inIn|foRef mu|
|000026b0| 73 74 20 62 65 20 76 61 | 6c 69 64 2e 0d 69 6e 49 |st be va|lid..inI|
|000026c0| 6e 66 6f 52 65 66 20 2d | 20 49 6e 66 6f 20 52 65 |nfoRef -| Info Re|
|000026d0| 66 65 72 65 6e 63 65 20 | 72 65 74 75 72 6e 65 64 |ference |returned|
|000026e0| 20 66 72 6f 6d 20 61 20 | 70 72 65 76 69 6f 75 73 | from a |previous|
|000026f0| 20 41 58 5f 4f 70 65 6e | 4f 62 6a 65 63 74 49 6e | AX_Open|ObjectIn|
|00002700| 66 6f 20 63 61 6c 6c 2e | 20 20 49 66 20 30 2c 20 |fo call.| If 0, |
|00002710| 69 6e 53 69 74 65 49 44 | 20 6d 75 73 74 20 62 65 |inSiteID| must be|
|00002720| 20 76 61 6c 69 64 2e 0d | 6f 75 74 44 65 66 61 75 | valid..|outDefau|
|00002730| 6c 74 53 69 7a 65 20 2d | 20 4f 6e 20 65 78 69 74 |ltSize -| On exit|
|00002740| 20 63 6f 6e 74 61 69 6e | 73 20 74 68 65 20 64 65 | contain|s the de|
|00002750| 66 61 75 6c 74 20 68 65 | 69 67 68 74 20 61 6e 64 |fault he|ight and|
|00002760| 20 77 69 64 74 68 20 6f | 66 20 74 68 65 20 63 6f | width o|f the co|
|00002770| 6e 74 72 6f 6c 0d 0d 0d | 49 6e 20 70 72 65 76 69 |ntrol...|In previ|
|00002780| 6f 75 73 20 72 65 6c 65 | 61 73 65 73 2c 20 6d 75 |ous rele|ases, mu|
|00002790| 63 68 20 6f 66 20 77 68 | 61 74 20 6f 62 6a 65 63 |ch of wh|at objec|
|000027a0| 74 20 69 6e 66 6f 72 6d | 61 74 69 6f 6e 20 73 75 |t inform|ation su|
|000027b0| 70 70 6f 72 74 73 20 77 | 61 73 20 64 65 66 69 6e |pports w|as defin|
|000027c0| 65 64 20 69 6e 6c 69 6e | 65 20 69 6e 20 65 61 63 |ed inlin|e in eac|
|000027d0| 68 20 63 6f 6e 74 72 6f | 6c 27 73 20 72 65 67 69 |h contro|l's regi|
|000027e0| 73 74 65 72 2e 68 20 66 | 69 6c 65 2e 20 20 54 68 |ster.h f|ile. Th|
|000027f0| 65 20 6d 6f 76 65 20 74 | 6f 20 61 20 72 65 73 6f |e move t|o a reso|
|00002800| 75 72 63 65 2d 62 61 73 | 65 64 20 64 65 73 63 72 |urce-bas|ed descr|
|00002810| 69 70 74 69 6f 6e 20 6f | 66 20 74 68 69 73 20 69 |iption o|f this i|
|00002820| 6e 66 6f 72 6d 61 74 69 | 6f 6e 20 69 73 20 68 69 |nformati|on is hi|
|00002830| 67 68 6c 79 20 72 65 63 | 6f 6d 6d 65 6e 64 65 64 |ghly rec|ommended|
|00002840| 2e 20 20 54 68 65 20 63 | 68 61 6e 67 65 20 69 73 |. The c|hange is|
|00002850| 20 6e 6f 74 20 72 65 71 | 75 69 72 65 64 20 68 6f | not req|uired ho|
|00002860| 77 65 76 65 72 2c 20 61 | 73 20 63 6f 6e 74 72 6f |wever, a|s contro|
|00002870| 6c 73 20 77 69 6c 6c 20 | 73 74 69 6c 6c 20 66 75 |ls will |still fu|
|00002880| 6e 63 74 69 6f 6e 20 75 | 73 69 6e 67 20 74 68 65 |nction u|sing the|
|00002890| 20 6f 6c 64 65 72 20 72 | 65 67 69 73 74 72 79 2e | older r|egistry.|
|000028a0| 68 20 61 70 70 72 6f 61 | 63 68 2e 20 20 41 6c 6c |h approa|ch. All|
|000028b0| 20 73 61 6d 70 6c 65 20 | 63 6f 6e 74 72 6f 6c 73 | sample |controls|
|000028c0| 20 6e 6f 77 20 73 75 70 | 70 6f 72 74 20 65 69 74 | now sup|port eit|
|000028d0| 68 65 72 20 61 70 70 72 | 6f 61 63 68 2e 20 20 46 |her appr|oach. F|
|000028e0| 45 41 54 55 52 45 5f 4f | 42 4a 45 43 54 49 4e 46 |EATURE_O|BJECTINF|
|000028f0| 4f 20 69 73 20 61 20 66 | 6c 61 67 20 69 6e 20 65 |O is a f|lag in e|
|00002900| 61 63 68 20 73 61 6d 70 | 6c 65 20 63 6f 6e 74 72 |ach samp|le contr|
|00002910| 6f 6c 27 73 20 72 65 67 | 69 73 74 65 72 2e 68 20 |ol's reg|ister.h |
|00002920| 66 69 6c 65 20 74 68 61 | 74 20 74 6f 67 67 6c 65 |file tha|t toggle|
|00002930| 73 20 62 65 74 77 65 65 | 6e 20 20 61 20 68 65 61 |s betwee|n a hea|
|00002940| 64 65 72 20 66 69 6c 65 | 20 61 70 70 72 6f 61 63 |der file| approac|
|00002950| 68 20 6f 72 20 61 20 72 | 65 73 6f 75 72 63 65 2d |h or a r|esource-|
|00002960| 62 61 73 65 64 20 61 70 | 70 72 6f 61 63 68 2e 0d |based ap|proach..|
|00002970| 0d 49 66 20 79 6f 75 20 | 77 61 6e 74 20 79 6f 75 |.If you |want you|
|00002980| 72 20 63 6f 6e 74 72 6f | 6c 20 74 6f 20 73 75 70 |r contro|l to sup|
|00002990| 70 6f 72 74 20 64 69 73 | 70 6c 61 79 61 62 6c 65 |port dis|playable|
|000029a0| 20 4f 62 6a 65 63 74 49 | 6e 66 6f 20 77 69 74 68 | ObjectI|nfo with|
|000029b0| 20 76 65 72 79 20 6c 69 | 74 74 6c 65 20 77 6f 72 | very li|ttle wor|
|000029c0| 6b 20 6f 6e 20 79 6f 75 | 72 20 70 61 72 74 2c 20 |k on you|r part, |
|000029d0| 20 79 6f 75 20 6e 65 65 | 64 20 74 6f 20 73 77 69 | you nee|d to swi|
|000029e0| 74 63 68 20 74 6f 20 74 | 68 65 20 6e 65 77 20 72 |tch to t|he new r|
|000029f0| 65 73 6f 75 72 63 65 2d | 62 61 73 65 64 20 61 70 |esource-|based ap|
|00002a00| 70 72 6f 61 63 68 2e 20 | 20 53 69 6d 70 6c 65 43 |proach. | SimpleC|
|00002a10| 6f 6e 74 61 69 6e 65 72 | 20 61 6e 64 20 41 63 74 |ontainer| and Act|
|00002a20| 69 76 65 58 41 70 70 20 | 62 6f 74 68 20 63 6f 6e |iveXApp |both con|
|00002a30| 74 61 69 6e 20 6d 65 6e | 75 20 69 74 65 6d 73 20 |tain men|u items |
|00002a40| 74 68 61 74 20 64 69 73 | 70 6c 61 79 20 74 68 69 |that dis|play thi|
|00002a50| 73 20 64 61 74 61 20 66 | 6f 72 20 63 6f 6e 74 72 |s data f|or contr|
|00002a60| 6f 6c 73 2e 20 20 54 6f | 20 73 77 69 74 63 68 20 |ols. To| switch |
|00002a70| 74 6f 20 74 68 65 20 6e | 65 77 20 61 70 70 72 6f |to the n|ew appro|
|00002a80| 61 63 68 20 79 6f 75 20 | 6d 75 73 74 20 63 72 65 |ach you |must cre|
|00002a90| 61 74 65 20 61 6e 20 27 | 4f 49 6e 66 27 20 72 65 |ate an '|OInf' re|
|00002aa0| 73 6f 75 72 63 65 20 61 | 6e 64 20 74 68 65 20 61 |source a|nd the a|
|00002ab0| 73 73 6f 63 69 61 74 65 | 64 20 27 53 54 52 23 27 |ssociate|d 'STR#'|
|00002ac0| 20 72 65 73 6f 75 72 63 | 65 2e 20 20 54 68 65 73 | resourc|e. Thes|
|00002ad0| 65 20 72 65 73 6f 75 72 | 63 65 73 20 61 72 65 20 |e resour|ces are |
|00002ae0| 63 72 65 61 74 65 64 20 | 66 6f 72 20 79 6f 75 20 |created |for you |
|00002af0| 69 66 20 79 6f 75 20 75 | 73 65 20 74 68 65 20 41 |if you u|se the A|
|00002b00| 75 74 6f 6d 61 74 6f 72 | 20 55 74 69 6c 69 74 79 |utomator| Utility|
|00002b10| 20 61 70 70 6c 69 63 61 | 74 69 6f 6e 20 77 68 69 | applica|tion whi|
|00002b20| 63 68 20 69 73 20 64 65 | 73 63 72 69 62 65 64 20 |ch is de|scribed |
|00002b30| 6c 61 74 65 72 20 69 6e | 20 74 68 69 73 20 64 6f |later in| this do|
|00002b40| 63 75 6d 65 6e 74 2e 0d | 0d 54 65 6d 70 6c 61 74 |cument..|.Templat|
|00002b50| 65 73 20 66 6f 72 20 74 | 68 65 20 27 4f 49 6e 66 |es for t|he 'OInf|
|00002b60| 27 20 72 65 73 6f 75 72 | 63 65 20 63 61 6e 20 62 |' resour|ce can b|
|00002b70| 65 20 66 6f 75 6e 64 20 | 69 6e 20 41 58 43 6f 6e |e found |in AXCon|
|00002b80| 74 72 6f 6c 54 4d 50 4c | 2e 72 73 72 63 20 69 6e |trolTMPL|.rsrc in|
|00002b90| 20 74 68 65 20 43 6f 6e | 74 72 6f 6c 20 43 6f 6d | the Con|trol Com|
|00002ba0| 6d 6f 6e 20 66 6f 6c 64 | 65 72 2e 20 20 54 68 65 |mon fold|er. The|
|00002bb0| 20 66 69 72 73 74 20 6d | 65 6d 62 65 72 20 6f 66 | first m|ember of|
|00002bc0| 20 74 68 65 20 72 65 73 | 6f 75 72 63 65 20 70 6f | the res|ource po|
|00002bd0| 69 6e 74 73 20 74 6f 20 | 61 20 53 54 52 23 20 72 |ints to |a STR# r|
|00002be0| 65 73 6f 75 72 63 65 20 | 74 68 61 74 20 63 6f 6e |esource |that con|
|00002bf0| 74 61 69 6e 73 20 61 20 | 6c 69 73 74 20 6f 66 20 |tains a |list of |
|00002c00| 73 74 72 69 6e 67 73 20 | 74 68 61 74 20 61 72 65 |strings |that are|
|00002c10| 20 73 65 6c 65 63 74 61 | 62 6c 65 20 62 79 20 74 | selecta|ble by t|
|00002c20| 68 65 20 41 58 49 44 4b | 69 6e 64 20 70 61 72 61 |he AXIDK|ind para|
|00002c30| 6d 65 74 65 72 20 6f 66 | 20 74 68 65 20 63 6f 6e |meter of| the con|
|00002c40| 74 61 69 6e 65 72 20 6c | 69 62 72 61 72 79 20 41 |tainer l|ibrary A|
|00002c50| 50 49 20 63 61 6c 6c 73 | 2e 0d 0d 20 0d 4f 62 6a |PI calls|... .Obj|
|00002c60| 65 63 74 20 44 65 73 63 | 72 69 70 74 69 6f 6e 20 |ect Desc|ription |
|00002c70| 41 50 49 0d 0d 41 63 74 | 69 76 65 58 20 63 6f 6e |API..Act|iveX con|
|00002c80| 74 72 6f 6c 73 20 6f 6e | 20 74 68 65 20 57 49 4e |trols on| the WIN|
|00002c90| 33 32 20 70 6c 61 74 66 | 6f 72 6d 20 68 61 76 65 |32 platf|orm have|
|00002ca0| 20 74 68 65 20 63 61 70 | 61 62 69 6c 69 74 79 20 | the cap|ability |
|00002cb0| 74 68 72 6f 75 67 68 20 | 74 68 65 20 75 73 65 20 |through |the use |
|00002cc0| 6f 66 20 74 79 70 65 20 | 6c 69 62 72 61 72 69 65 |of type |librarie|
|00002cd0| 73 20 6f 66 20 61 6c 6c | 6f 77 69 6e 67 20 6f 62 |s of all|owing ob|
|00002ce0| 6a 65 63 74 20 62 72 6f | 77 73 65 72 73 20 74 6f |ject bro|wsers to|
|00002cf0| 20 65 78 61 6d 69 6e 65 | 20 74 68 65 20 70 72 6f | examine| the pro|
|00002d00| 70 65 72 74 69 65 73 2c | 20 6d 65 74 68 6f 64 73 |perties,| methods|
|00002d10| 20 61 6e 64 20 65 76 65 | 6e 74 73 20 73 75 70 70 | and eve|nts supp|
|00002d20| 6f 72 74 65 64 20 62 79 | 20 41 63 74 69 76 65 58 |orted by| ActiveX|
|00002d30| 20 63 6f 6e 74 72 6f 6c | 73 2e 20 20 54 79 70 65 | control|s. Type|
|00002d40| 20 6c 69 62 72 61 72 69 | 65 73 20 65 78 69 73 74 | librari|es exist|
|00002d50| 20 61 73 20 73 65 70 61 | 72 61 74 65 20 43 4f 4d | as sepa|rate COM|
|00002d60| 20 6f 62 6a 65 63 74 73 | 20 74 68 61 74 20 63 61 | objects| that ca|
|00002d70| 6e 20 62 65 20 69 6e 73 | 74 61 6e 74 69 61 74 65 |n be ins|tantiate|
|00002d80| 64 20 61 6e 64 20 71 75 | 65 72 69 65 64 20 66 6f |d and qu|eried fo|
|00002d90| 72 20 74 68 69 73 20 69 | 6e 66 6f 72 6d 61 74 69 |r this i|nformati|
|00002da0| 6f 6e 2e 20 20 4d 61 63 | 20 41 63 74 69 76 65 58 |on. Mac| ActiveX|
|00002db0| 20 64 6f 65 73 20 6e 6f | 74 20 63 75 72 72 65 6e | does no|t curren|
|00002dc0| 74 6c 79 20 73 75 70 70 | 6f 72 74 20 74 68 65 20 |tly supp|ort the |
|00002dd0| 74 72 61 64 69 74 69 6f | 6e 61 6c 20 74 79 70 65 |traditio|nal type|
|00002de0| 20 6c 69 62 72 61 72 79 | 20 6d 65 63 68 61 6e 69 | library| mechani|
|00002df0| 73 6d 2e 20 20 54 68 69 | 73 20 72 65 6c 65 61 73 |sm. Thi|s releas|
|00002e00| 65 20 64 6f 65 73 2c 20 | 68 6f 77 65 76 65 72 2c |e does, |however,|
|00002e10| 20 61 6c 6c 6f 77 20 61 | 20 6d 6f 72 65 20 6c 69 | allow a| more li|
|00002e20| 67 68 74 77 65 69 67 68 | 74 20 61 63 63 65 73 73 |ghtweigh|t access|
|00002e30| 20 74 6f 20 73 69 6d 69 | 6c 61 72 20 66 75 6e 63 | to simi|lar func|
|00002e40| 74 69 6f 6e 61 6c 69 74 | 79 2e 0d 0d 41 67 61 69 |tionalit|y...Agai|
|00002e50| 6e 2c 20 64 65 6d 6f 6e | 73 74 72 61 74 69 6f 6e |n, demon|stration|
|00002e60| 73 20 6f 66 20 74 68 69 | 73 20 66 75 6e 63 74 69 |s of thi|s functi|
|00002e70| 6f 6e 61 6c 69 74 79 20 | 65 78 69 73 74 20 69 6e |onality |exist in|
|00002e80| 20 53 69 6d 70 6c 65 43 | 6f 6e 74 61 69 6e 65 72 | SimpleC|ontainer|
|00002e90| 20 61 6e 64 20 41 63 74 | 69 76 65 58 41 70 70 2e | and Act|iveXApp.|
|00002ea0| 20 20 4f 62 6a 65 63 74 | 20 44 65 73 63 72 69 70 | Object| Descrip|
|00002eb0| 74 69 6f 6e 20 64 61 74 | 61 20 63 61 6e 20 62 65 |tion dat|a can be|
|00002ec0| 20 6f 62 74 61 69 6e 65 | 64 20 77 68 65 74 68 65 | obtaine|d whethe|
|00002ed0| 72 20 74 68 65 20 63 6f | 6e 74 72 6f 6c 20 69 73 |r the co|ntrol is|
|00002ee0| 20 72 75 6e 6e 69 6e 67 | 20 61 6e 64 20 69 6e 73 | running| and ins|
|00002ef0| 74 61 6e 74 69 61 74 65 | 64 20 6f 72 20 6e 6f 74 |tantiate|d or not|
|00002f00| 2e 20 20 49 66 20 61 20 | 63 6f 6e 74 72 6f 6c 20 |. If a |control |
|00002f10| 69 73 20 6e 6f 74 20 72 | 75 6e 6e 69 6e 67 2c 20 |is not r|unning, |
|00002f20| 74 68 65 20 41 50 49 20 | 63 61 6c 6c 73 20 6d 75 |the API |calls mu|
|00002f30| 73 74 20 62 65 20 62 6f | 75 6e 64 65 64 20 62 79 |st be bo|unded by|
|00002f40| 20 41 58 5f 4f 70 65 6e | 4f 62 6a 65 63 74 49 6e | AX_Open|ObjectIn|
|00002f50| 66 6f 20 61 6e 64 20 41 | 58 5f 43 6c 6f 73 65 4f |fo and A|X_CloseO|
|00002f60| 62 6a 65 63 74 49 6e 66 | 6f 20 63 61 6c 6c 73 20 |bjectInf|o calls |
|00002f70| 64 65 73 63 72 69 62 65 | 64 20 61 62 6f 76 65 20 |describe|d above |
|00002f80| 74 6f 20 67 65 6e 65 72 | 61 74 65 20 61 20 72 65 |to gener|ate a re|
|00002f90| 66 65 72 65 6e 63 65 20 | 74 6f 20 74 68 65 20 63 |ference |to the c|
|00002fa0| 6f 6e 74 72 6f 6c 27 73 | 20 72 65 73 6f 75 72 63 |ontrol's| resourc|
|00002fb0| 65 20 66 6f 72 6b 2e 20 | 20 49 66 20 74 68 65 20 |e fork. | If the |
|00002fc0| 63 6f 6e 74 72 6f 6c 20 | 69 73 20 72 75 6e 6e 69 |control |is runni|
|00002fd0| 6e 67 2c 20 74 68 65 20 | 53 69 74 65 49 44 20 72 |ng, the |SiteID r|
|00002fe0| 65 74 75 72 6e 65 64 20 | 66 72 6f 6d 20 74 68 65 |eturned |from the|
|00002ff0| 20 63 6f 6e 74 61 69 6e | 65 72 20 6c 69 62 72 61 | contain|er libra|
|00003000| 72 79 20 73 68 6f 75 6c | 64 20 62 65 20 75 73 65 |ry shoul|d be use|
|00003010| 64 20 61 6e 64 20 74 68 | 65 20 4f 70 65 6e 2f 43 |d and th|e Open/C|
|00003020| 6c 6f 73 65 20 63 61 6c | 6c 73 20 61 72 65 20 6e |lose cal|ls are n|
|00003030| 6f 74 20 72 65 71 75 69 | 72 65 64 2e 0d 0d 43 6f |ot requi|red...Co|
|00003040| 6e 74 61 69 6e 65 72 73 | 20 63 61 6e 20 75 73 65 |ntainers| can use|
|00003050| 20 74 68 65 20 66 6f 6c | 6c 6f 77 69 6e 67 20 43 | the fol|lowing C|
|00003060| 6f 6e 74 61 69 6e 65 72 | 20 4c 69 62 72 61 72 79 |ontainer| Library|
|00003070| 20 41 50 49 20 63 61 6c | 6c 73 20 66 6f 75 6e 64 | API cal|ls found|
|00003080| 20 69 6e 20 49 6e 66 6f | 41 50 49 2e 68 20 74 6f | in Info|API.h to|
|00003090| 20 67 65 74 20 69 6e 66 | 6f 72 6d 61 74 69 6f 6e | get inf|ormation|
|000030a0| 20 61 62 6f 75 74 20 74 | 68 65 20 70 72 6f 70 65 | about t|he prope|
|000030b0| 72 74 69 65 73 20 61 6e | 64 20 6d 65 74 68 6f 64 |rties an|d method|
|000030c0| 73 20 61 20 63 6f 6e 74 | 72 6f 6c 20 73 75 70 70 |s a cont|rol supp|
|000030d0| 6f 72 74 73 3a 0d 0d 55 | 69 6e 74 33 32 20 09 09 |orts:..U|int32 ..|
|000030e0| 41 58 5f 47 65 74 4d 65 | 74 68 6f 64 43 6f 75 6e |AX_GetMe|thodCoun|
|000030f0| 74 28 41 58 52 65 66 49 | 44 20 69 6e 53 69 74 65 |t(AXRefI|D inSite|
|00003100| 49 44 2c 20 41 58 52 65 | 66 49 44 20 69 6e 49 6e |ID, AXRe|fID inIn|
|00003110| 66 6f 52 65 66 2c 20 41 | 58 4d 65 74 68 6f 64 4b |foRef, A|XMethodK|
|00003120| 69 6e 64 20 69 6e 4b 69 | 6e 64 29 0d 0d 52 65 74 |ind inKi|nd)..Ret|
|00003130| 75 72 6e 73 20 74 68 65 | 20 6e 75 6d 62 65 72 20 |urns the| number |
|00003140| 6f 66 20 6d 65 74 68 6f | 64 73 20 6f 66 20 61 20 |of metho|ds of a |
|00003150| 70 61 72 74 69 63 75 6c | 61 72 20 6b 69 6e 64 20 |particul|ar kind |
|00003160| 74 68 65 20 63 6f 6e 74 | 72 6f 6c 20 73 75 70 70 |the cont|rol supp|
|00003170| 6f 72 74 73 2e 20 20 41 | 58 4d 65 74 68 6f 64 4b |orts. A|XMethodK|
|00003180| 69 6e 64 20 69 73 20 61 | 6e 20 65 6e 75 6d 20 74 |ind is a|n enum t|
|00003190| 68 61 74 20 73 75 70 70 | 6f 72 74 73 20 73 70 65 |hat supp|orts spe|
|000031a0| 63 69 66 79 69 6e 67 20 | 70 72 6f 70 65 72 74 69 |cifying |properti|
|000031b0| 65 73 2c 20 6d 65 74 68 | 6f 64 73 20 61 6e 64 20 |es, meth|ods and |
|000031c0| 65 76 65 6e 74 73 2e 20 | 0d 0d 69 6e 53 69 74 65 |events. |..inSite|
|000031d0| 49 44 20 2d 20 53 69 74 | 65 49 44 20 74 68 61 74 |ID - Sit|eID that|
|000031e0| 20 77 61 73 20 72 65 74 | 75 72 6e 65 64 20 66 72 | was ret|urned fr|
|000031f0| 6f 6d 20 61 20 70 72 65 | 76 69 6f 75 73 20 41 58 |om a pre|vious AX|
|00003200| 5f 43 72 65 61 74 65 53 | 69 74 65 20 6f 72 20 41 |_CreateS|ite or A|
|00003210| 58 5f 4e 65 77 53 69 74 | 65 20 63 61 6c 6c 2e 20 |X_NewSit|e call. |
|00003220| 20 49 66 20 30 2c 20 69 | 6e 49 6e 66 6f 52 65 66 | If 0, i|nInfoRef|
|00003230| 20 6d 75 73 74 20 62 65 | 20 76 61 6c 69 64 2e 0d | must be| valid..|
|00003240| 69 6e 49 6e 66 6f 52 65 | 66 20 2d 20 49 6e 66 6f |inInfoRe|f - Info|
|00003250| 20 52 65 66 65 72 65 6e | 63 65 20 72 65 74 75 72 | Referen|ce retur|
|00003260| 6e 65 64 20 66 72 6f 6d | 20 61 20 70 72 65 76 69 |ned from| a previ|
|00003270| 6f 75 73 20 41 58 5f 4f | 70 65 6e 4f 62 6a 65 63 |ous AX_O|penObjec|
|00003280| 74 49 6e 66 6f 20 63 61 | 6c 6c 2e 20 20 49 66 20 |tInfo ca|ll. If |
|00003290| 30 2c 20 69 6e 53 69 74 | 65 49 44 20 6d 75 73 74 |0, inSit|eID must|
|000032a0| 20 62 65 20 76 61 6c 69 | 64 2e 0d 69 6e 4b 69 6e | be vali|d..inKin|
|000032b0| 64 20 2d 20 53 70 65 63 | 69 66 69 65 73 20 74 68 |d - Spec|ifies th|
|000032c0| 65 20 74 79 70 65 20 6f | 66 20 6d 65 74 68 6f 64 |e type o|f method|
|000032d0| 20 62 65 69 6e 67 20 61 | 73 6b 65 64 20 61 62 6f | being a|sked abo|
|000032e0| 75 74 2e 20 20 50 61 73 | 73 20 6b 41 58 41 6c 6c |ut. Pas|s kAXAll|
|000032f0| 4d 65 74 68 6f 64 4b 69 | 6e 64 20 74 6f 20 67 65 |MethodKi|nd to ge|
|00003300| 74 20 61 20 63 6f 75 6e | 74 20 6f 66 20 61 6c 6c |t a coun|t of all|
|00003310| 20 70 72 6f 70 65 72 74 | 69 65 73 2c 20 6d 65 74 | propert|ies, met|
|00003320| 68 6f 64 73 20 61 6e 64 | 20 65 76 65 6e 74 73 2e |hods and| events.|
|00003330| 0d 0d 52 65 74 75 72 6e | 73 20 74 68 65 20 6e 75 |..Return|s the nu|
|00003340| 6d 62 65 72 20 6f 66 20 | 70 72 6f 70 65 72 74 69 |mber of |properti|
|00003350| 65 73 2c 20 6d 65 74 68 | 6f 64 73 2c 20 65 76 65 |es, meth|ods, eve|
|00003360| 6e 74 73 20 6f 72 20 61 | 6c 6c 20 61 73 20 73 70 |nts or a|ll as sp|
|00003370| 65 63 69 66 69 65 64 20 | 62 79 20 74 68 65 20 69 |ecified |by the i|
|00003380| 6e 4b 69 6e 64 20 70 61 | 72 61 6d 65 74 65 72 2e |nKind pa|rameter.|
|00003390| 0d 0d 41 58 4d 65 74 68 | 6f 64 4b 69 6e 64 20 69 |..AXMeth|odKind i|
|000033a0| 73 20 64 65 66 69 6e 65 | 64 20 69 6e 20 48 65 61 |s define|d in Hea|
|000033b0| 64 65 72 73 3a 41 58 4f | 62 6a 65 63 74 44 65 73 |ders:AXO|bjectDes|
|000033c0| 63 2e 68 2e 0d 0d 0d 41 | 58 45 72 72 6f 72 43 6f |c.h....A|XErrorCo|
|000033d0| 64 65 09 41 58 5f 47 65 | 74 4d 65 74 68 6f 64 44 |de.AX_Ge|tMethodD|
|000033e0| 65 73 63 72 69 70 74 69 | 6f 6e 28 41 58 52 65 66 |escripti|on(AXRef|
|000033f0| 49 44 20 69 6e 53 69 74 | 65 49 44 2c 20 41 58 52 |ID inSit|eID, AXR|
|00003400| 65 66 49 44 20 69 6e 49 | 6e 66 6f 52 65 66 2c 20 |efID inI|nfoRef, |
|00003410| 41 58 4d 65 74 68 6f 64 | 4b 69 6e 64 20 69 6e 4b |AXMethod|Kind inK|
|00003420| 69 6e 64 2c 20 0d 09 09 | 09 09 09 09 09 09 09 09 |ind, ...|........|
|00003430| 09 09 09 09 09 09 09 09 | 09 09 09 09 09 09 09 09 |........|........|
|00003440| 09 09 09 09 09 09 09 09 | 09 09 09 49 6e 74 31 36 |........|...Int16|
|00003450| 20 69 6e 49 6e 64 65 78 | 2c 20 41 58 4d 65 74 68 | inIndex|, AXMeth|
|00003460| 6f 64 44 65 73 63 2a 20 | 6f 75 74 44 65 73 63 29 |odDesc* |outDesc)|
|00003470| 0d 0d 52 65 74 75 72 6e | 73 20 61 20 6d 65 74 68 |..Return|s a meth|
|00003480| 6f 64 20 64 65 73 63 72 | 69 70 74 69 6f 6e 20 66 |od descr|iption f|
|00003490| 6f 72 20 74 68 65 20 73 | 70 65 63 69 66 69 65 64 |or the s|pecified|
|000034a0| 20 70 72 6f 70 65 72 74 | 79 2c 20 6d 65 74 68 6f | propert|y, metho|
|000034b0| 64 20 6f 72 20 65 76 65 | 6e 74 2e 0d 0d 69 6e 53 |d or eve|nt...inS|
|000034c0| 69 74 65 49 44 20 2d 20 | 53 69 74 65 49 44 20 74 |iteID - |SiteID t|
|000034d0| 68 61 74 20 77 61 73 20 | 72 65 74 75 72 6e 65 64 |hat was |returned|
|000034e0| 20 66 72 6f 6d 20 61 20 | 70 72 65 76 69 6f 75 73 | from a |previous|
|000034f0| 20 41 58 5f 43 72 65 61 | 74 65 53 69 74 65 20 6f | AX_Crea|teSite o|
|00003500| 72 20 41 58 5f 4e 65 77 | 53 69 74 65 20 63 61 6c |r AX_New|Site cal|
|00003510| 6c 2e 20 20 49 66 20 30 | 2c 20 69 6e 49 6e 66 6f |l. If 0|, inInfo|
|00003520| 52 65 66 20 6d 75 73 74 | 20 62 65 20 76 61 6c 69 |Ref must| be vali|
|00003530| 64 2e 0d 69 6e 49 6e 66 | 6f 52 65 66 20 2d 20 49 |d..inInf|oRef - I|
|00003540| 6e 66 6f 20 52 65 66 65 | 72 65 6e 63 65 20 72 65 |nfo Refe|rence re|
|00003550| 74 75 72 6e 65 64 20 66 | 72 6f 6d 20 61 20 70 72 |turned f|rom a pr|
|00003560| 65 76 69 6f 75 73 20 41 | 58 5f 4f 70 65 6e 4f 62 |evious A|X_OpenOb|
|00003570| 6a 65 63 74 49 6e 66 6f | 20 63 61 6c 6c 2e 20 20 |jectInfo| call. |
|00003580| 49 66 20 30 2c 20 69 6e | 53 69 74 65 49 44 20 6d |If 0, in|SiteID m|
|00003590| 75 73 74 20 62 65 20 76 | 61 6c 69 64 2e 0d 69 6e |ust be v|alid..in|
|000035a0| 4b 69 6e 64 20 2d 20 53 | 70 65 63 69 66 69 65 73 |Kind - S|pecifies|
|000035b0| 20 74 68 65 20 74 79 70 | 65 20 6f 66 20 6d 65 74 | the typ|e of met|
|000035c0| 68 6f 64 20 62 65 69 6e | 67 20 61 73 6b 65 64 20 |hod bein|g asked |
|000035d0| 61 62 6f 75 74 2e 6b 41 | 58 41 6c 6c 4d 65 74 68 |about.kA|XAllMeth|
|000035e0| 6f 64 4b 69 6e 64 20 69 | 73 20 6e 6f 74 20 73 75 |odKind i|s not su|
|000035f0| 70 70 6f 72 74 65 64 20 | 69 6e 20 74 68 69 73 20 |pported |in this |
|00003600| 63 61 6c 6c 0d 69 6e 49 | 6e 64 65 78 20 2d 20 53 |call.inI|ndex - S|
|00003610| 70 65 63 69 66 69 65 73 | 20 77 68 69 63 68 20 70 |pecifies| which p|
|00003620| 72 6f 70 65 72 74 79 2c | 20 6d 65 74 68 6f 64 20 |roperty,| method |
|00003630| 6f 72 20 65 76 65 6e 74 | 20 69 73 20 62 65 69 6e |or event| is bein|
|00003640| 67 20 72 65 71 75 65 73 | 74 65 64 2e 20 20 49 6e |g reques|ted. In|
|00003650| 64 65 78 65 73 20 61 72 | 65 20 31 2d 62 61 73 65 |dexes ar|e 1-base|
|00003660| 64 2e 20 20 50 61 73 73 | 20 61 20 30 20 74 6f 20 |d. Pass| a 0 to |
|00003670| 67 65 74 20 61 6c 6c 20 | 6d 65 74 68 6f 64 73 20 |get all |methods |
|00003680| 6f 66 20 61 20 70 61 72 | 74 69 63 75 6c 61 72 20 |of a par|ticular |
|00003690| 74 79 70 65 2e 20 0d 6f | 75 74 44 65 73 63 20 2d |type. .o|utDesc -|
|000036a0| 20 4f 6e 20 72 65 74 75 | 72 6e 2c 20 74 68 65 20 | On retu|rn, the |
|000036b0| 6d 65 74 68 6f 64 20 64 | 65 73 63 72 69 70 74 69 |method d|escripti|
|000036c0| 6f 6e 20 62 65 69 6e 67 | 20 72 65 71 75 65 73 74 |on being| request|
|000036d0| 65 64 20 69 73 20 63 6f | 70 69 65 64 20 69 6e 74 |ed is co|pied int|
|000036e0| 6f 20 74 68 69 73 20 6d | 65 6d 6f 72 79 20 6f 77 |o this m|emory ow|
|000036f0| 6e 65 64 20 62 79 20 74 | 68 65 20 63 6f 6e 74 61 |ned by t|he conta|
|00003700| 69 6e 65 72 2e 0d 0d 46 | 6f 72 20 65 78 61 6d 70 |iner...F|or examp|
|00003710| 6c 65 2c 20 74 6f 20 67 | 65 74 20 6d 65 74 68 6f |le, to g|et metho|
|00003720| 64 20 64 65 73 63 72 69 | 70 74 69 6f 6e 73 20 66 |d descri|ptions f|
|00003730| 6f 72 20 61 6c 6c 20 70 | 72 6f 70 65 72 74 69 65 |or all p|ropertie|
|00003740| 73 20 6f 6e 65 20 61 74 | 20 61 20 74 69 6d 65 20 |s one at| a time |
|00003750| 64 6f 20 74 68 65 20 66 | 6f 6c 6c 6f 77 69 6e 67 |do the f|ollowing|
|00003760| 3a 0d 0d 4e 75 6d 50 72 | 6f 70 73 20 3d 20 41 58 |:..NumPr|ops = AX|
|00003770| 5f 47 65 74 4d 65 74 68 | 6f 64 43 6f 75 6e 74 28 |_GetMeth|odCount(|
|00003780| 4d 79 53 69 74 65 49 44 | 2c 20 30 29 3b 0d 66 6f |MySiteID|, 0);.fo|
|00003790| 72 20 28 20 69 3d 31 3b | 20 69 20 3c 3d 20 4e 75 |r ( i=1;| i <= Nu|
|000037a0| 6d 50 72 6f 70 73 3b 20 | 69 2b 2b 20 29 0d 09 41 |mProps; |i++ )..A|
|000037b0| 58 5f 47 65 74 4d 65 74 | 68 6f 64 44 65 73 63 28 |X_GetMet|hodDesc(|
|000037c0| 4d 79 53 69 74 65 49 44 | 2c 20 30 2c 20 6b 41 58 |MySiteID|, 0, kAX|
|000037d0| 50 72 6f 70 65 72 74 79 | 4b 69 6e 64 2c 20 69 2c |Property|Kind, i,|
|000037e0| 20 26 4d 79 50 72 6f 70 | 65 72 74 69 65 73 5b 69 | &MyProp|erties[i|
|000037f0| 5d 29 3b 0d 0d 46 6f 72 | 20 65 78 61 6d 70 6c 65 |]);..For| example|
|00003800| 2c 20 74 6f 20 67 65 74 | 20 6d 65 74 68 6f 64 20 |, to get| method |
|00003810| 64 65 73 63 72 69 70 74 | 69 6f 6e 73 20 66 6f 72 |descript|ions for|
|00003820| 20 61 6c 6c 20 70 72 6f | 70 65 72 74 69 65 73 20 | all pro|perties |
|00003830| 61 74 20 6f 6e 63 65 20 | 64 6f 20 74 68 65 20 66 |at once |do the f|
|00003840| 6f 6c 6c 6f 77 69 6e 67 | 3a 0d 0d 4e 75 6d 50 72 |ollowing|:..NumPr|
|00003850| 6f 70 73 20 3d 20 41 58 | 5f 47 65 74 4d 65 74 68 |ops = AX|_GetMeth|
|00003860| 6f 64 43 6f 75 6e 74 28 | 4d 79 53 69 74 65 49 44 |odCount(|MySiteID|
|00003870| 2c 20 30 29 3b 0d 4d 79 | 50 72 6f 70 65 72 74 69 |, 0);.My|Properti|
|00003880| 65 73 20 3d 20 4e 65 77 | 50 74 72 28 73 69 7a 65 |es = New|Ptr(size|
|00003890| 6f 66 28 41 58 4d 65 74 | 68 6f 64 44 65 73 63 29 |of(AXMet|hodDesc)|
|000038a0| 20 2a 20 4e 75 6d 50 72 | 6f 70 73 29 3b 0d 41 58 | * NumPr|ops);.AX|
|000038b0| 5f 47 65 74 4d 65 74 68 | 6f 64 44 65 73 63 72 69 |_GetMeth|odDescri|
|000038c0| 70 74 69 6f 6e 28 4d 79 | 53 69 74 65 49 44 2c 20 |ption(My|SiteID, |
|000038d0| 30 2c 20 6b 41 58 50 72 | 6f 70 65 72 74 79 4b 69 |0, kAXPr|opertyKi|
|000038e0| 6e 64 2c 20 30 2c 20 20 | 4d 79 50 72 6f 70 65 72 |nd, 0, |MyProper|
|000038f0| 74 69 65 73 29 3b 0d 0d | 41 58 4d 65 74 68 6f 64 |ties);..|AXMethod|
|00003900| 44 65 73 63 20 69 73 20 | 64 65 66 69 6e 65 64 20 |Desc is |defined |
|00003910| 69 6e 20 41 58 4f 62 6a | 65 63 74 44 65 73 63 2e |in AXObj|ectDesc.|
|00003920| 68 2e 0d 0d 41 74 20 74 | 68 65 20 63 6f 6e 74 72 |h...At t|he contr|
|00003930| 6f 6c 20 6c 65 76 65 6c | 2c 20 74 68 69 73 20 66 |ol level|, this f|
|00003940| 75 6e 63 74 69 6f 6e 61 | 6c 69 74 79 20 69 73 20 |unctiona|lity is |
|00003950| 65 78 70 6f 73 65 64 20 | 62 79 20 74 68 65 20 66 |exposed |by the f|
|00003960| 6f 6c 6c 6f 77 69 6e 67 | 3a 0d 20 31 29 20 20 43 |ollowing|:. 1) C|
|00003970| 6f 6e 74 61 69 6e 69 6e | 67 20 27 4d 74 68 23 27 |ontainin|g 'Mth#'|
|00003980| 20 61 6e 64 20 27 50 72 | 6d 23 27 20 72 65 73 6f | and 'Pr|m#' reso|
|00003990| 75 72 63 65 73 20 69 6e | 20 74 68 65 20 72 65 73 |urces in| the res|
|000039a0| 6f 75 72 63 65 20 66 6f | 72 6b 20 6f 66 20 74 68 |ource fo|rk of th|
|000039b0| 65 20 63 6f 6e 74 72 6f | 6c 2e 0d 20 32 29 20 20 |e contro|l.. 2) |
|000039c0| 45 78 70 6f 73 69 6e 67 | 20 74 68 65 20 49 4f 62 |Exposing| the IOb|
|000039d0| 6a 65 63 74 44 65 73 63 | 20 61 6e 64 20 49 4f 62 |jectDesc| and IOb|
|000039e0| 6a 65 63 74 49 6e 66 6f | 20 69 6e 74 65 72 66 61 |jectInfo| interfa|
|000039f0| 63 65 73 20 69 6e 20 51 | 75 65 72 79 49 6e 74 65 |ces in Q|ueryInte|
|00003a00| 72 66 61 63 65 20 28 61 | 75 74 6f 6d 61 74 69 63 |rface (a|utomatic|
|00003a10| 61 6c 6c 79 20 64 6f 6e | 65 20 69 6e 20 43 42 61 |ally don|e in CBa|
|00003a20| 73 65 43 6f 6e 74 72 6f | 6c 29 2e 20 0d 0d 41 20 |seContro|l). ..A |
|00003a30| 73 74 61 74 69 63 20 6c | 69 62 72 61 72 79 20 4f |static l|ibrary O|
|00003a40| 62 6a 65 63 74 44 65 73 | 63 2e 4c 69 62 2c 20 66 |bjectDes|c.Lib, f|
|00003a50| 6f 75 6e 64 20 69 6e 20 | 43 6f 6d 6d 6f 6e 2c 20 |ound in |Common, |
|00003a60| 20 63 61 6e 20 62 65 20 | 6c 69 6e 6b 65 64 20 69 | can be |linked i|
|00003a70| 6e 74 6f 20 61 6e 79 20 | 63 6f 6e 74 72 6f 6c 20 |nto any |control |
|00003a80| 74 68 61 74 20 77 61 6e | 74 73 20 73 75 70 70 6f |that wan|ts suppo|
|00003a90| 72 74 20 66 6f 72 20 6f | 62 6a 65 63 74 20 69 6e |rt for o|bject in|
|00003aa0| 66 6f 72 6d 61 74 69 6f | 6e 20 61 6e 64 20 6f 62 |formatio|n and ob|
|00003ab0| 6a 65 63 74 20 64 65 73 | 63 72 69 70 74 69 6f 6e |ject des|cription|
|00003ac0| 73 20 74 6f 20 68 61 6e | 64 6c 65 20 74 68 65 20 |s to han|dle the |
|00003ad0| 72 65 61 64 69 6e 67 20 | 6f 66 20 74 68 65 20 75 |reading |of the u|
|00003ae0| 6e 64 65 72 6c 79 69 6e | 67 20 72 65 73 6f 75 72 |nderlyin|g resour|
|00003af0| 63 65 20 66 6f 72 6d 61 | 74 73 2e 20 20 54 65 6d |ce forma|ts. Tem|
|00003b00| 70 6c 61 74 65 73 20 66 | 6f 72 20 74 68 65 20 6d |plates f|or the m|
|00003b10| 65 74 68 6f 64 20 6c 69 | 73 74 20 61 6e 64 20 70 |ethod li|st and p|
|00003b20| 61 72 61 6d 20 6c 69 73 | 74 20 72 65 73 6f 75 72 |aram lis|t resour|
|00003b30| 63 65 73 20 63 61 6e 20 | 62 65 20 66 6f 75 6e 64 |ces can |be found|
|00003b40| 20 69 6e 20 41 58 43 6f | 6e 74 72 6f 6c 54 4d 50 | in AXCo|ntrolTMP|
|00003b50| 4c 2e 72 73 72 63 2e 20 | 20 20 0d 0d 49 74 20 69 |L.rsrc. | ..It i|
|00003b60| 73 20 72 65 63 6f 6d 6d | 65 6e 64 65 64 20 74 68 |s recomm|ended th|
|00003b70| 61 74 20 79 6f 75 20 64 | 6f 20 4e 4f 54 20 63 72 |at you d|o NOT cr|
|00003b80| 65 61 74 65 20 61 6e 64 | 20 65 64 69 74 20 74 68 |eate and| edit th|
|00003b90| 65 20 27 4d 74 68 23 27 | 20 61 6e 64 20 27 50 72 |e 'Mth#'| and 'Pr|
|00003ba0| 6d 23 27 20 72 65 73 6f | 75 72 63 65 73 20 6d 61 |m#' reso|urces ma|
|00003bb0| 6e 75 61 6c 6c 79 2c 20 | 62 75 74 20 72 61 74 68 |nually, |but rath|
|00003bc0| 65 72 20 75 73 65 20 74 | 68 65 20 41 75 74 6f 6d |er use t|he Autom|
|00003bd0| 61 74 6f 72 20 75 74 69 | 6c 69 74 79 2c 20 64 65 |ator uti|lity, de|
|00003be0| 73 63 72 69 62 65 64 20 | 6c 61 74 65 72 20 74 6f |scribed |later to|
|00003bf0| 20 67 65 6e 65 72 61 74 | 65 20 74 68 65 20 72 65 | generat|e the re|
|00003c00| 73 6f 75 72 63 65 20 66 | 6f 72 6d 61 74 73 20 66 |source f|ormats f|
|00003c10| 6f 72 20 79 6f 75 2e 20 | 20 4f 6e 63 65 20 74 68 |or you. | Once th|
|00003c20| 65 20 72 65 73 6f 75 72 | 63 65 73 20 61 72 65 20 |e resour|ces are |
|00003c30| 69 6e 20 70 6c 61 63 65 | 20 69 6e 20 74 68 65 20 |in place| in the |
|00003c40| 63 6f 6e 74 72 6f 6c 2c | 20 74 68 65 20 49 4f 62 |control,| the IOb|
|00003c50| 6a 65 63 74 44 65 73 63 | 20 61 6e 64 20 49 4f 62 |jectDesc| and IOb|
|00003c60| 6a 65 63 74 49 6e 66 6f | 20 69 6e 74 65 72 66 61 |jectInfo| interfa|
|00003c70| 63 65 20 73 75 70 70 6f | 72 74 20 69 73 20 61 75 |ce suppo|rt is au|
|00003c80| 74 6f 6d 61 74 69 63 2c | 20 62 65 63 61 75 73 65 |tomatic,| because|
|00003c90| 20 69 74 20 69 73 20 62 | 75 69 6c 74 20 69 6e 74 | it is b|uilt int|
|00003ca0| 6f 20 43 42 61 73 65 43 | 6f 6e 74 72 6f 6c 2e 20 |o CBaseC|ontrol. |
|00003cb0| 0d 0d 0d 41 75 74 6f 6d | 61 74 6f 72 20 55 74 69 |...Autom|ator Uti|
|00003cc0| 6c 69 74 79 0d 0d 41 75 | 74 6f 6d 61 74 6f 72 20 |lity..Au|tomator |
|00003cd0| 69 73 20 61 20 75 74 69 | 6c 69 74 79 20 61 70 70 |is a uti|lity app|
|00003ce0| 6c 69 63 61 74 69 6f 6e | 20 74 68 61 74 20 61 6c |lication| that al|
|00003cf0| 6c 6f 77 73 20 61 20 63 | 6f 6e 74 72 6f 6c 20 64 |lows a c|ontrol d|
|00003d00| 65 76 65 6c 6f 70 65 72 | 20 74 6f 20 67 65 6e 65 |eveloper| to gene|
|00003d10| 72 61 74 65 20 74 68 65 | 20 6e 65 63 65 73 73 61 |rate the| necessa|
|00003d20| 72 79 20 72 65 73 6f 75 | 72 63 65 20 66 6f 72 6d |ry resou|rce form|
|00003d30| 61 74 73 20 66 6f 72 20 | 4f 62 6a 65 63 74 20 49 |ats for |Object I|
|00003d40| 6e 66 6f 72 6d 61 74 69 | 6f 6e 20 61 6e 64 20 4f |nformati|on and O|
|00003d50| 62 6a 65 63 74 20 44 65 | 73 63 72 69 70 74 69 6f |bject De|scriptio|
|00003d60| 6e 73 20 61 75 74 6f 6d | 61 74 69 63 61 6c 6c 79 |ns autom|atically|
|00003d70| 2e 20 20 49 74 20 70 72 | 6f 76 69 64 65 73 20 61 |. It pr|ovides a|
|00003d80| 6e 20 65 61 73 79 20 77 | 61 79 20 74 6f 20 64 65 |n easy w|ay to de|
|00003d90| 66 69 6e 65 20 70 72 6f | 70 65 72 74 69 65 73 2c |fine pro|perties,|
|00003da0| 20 6d 65 74 68 6f 64 73 | 20 61 6e 64 20 65 76 65 | methods| and eve|
|00003db0| 6e 74 73 20 77 68 69 63 | 68 20 63 61 6e 20 74 68 |nts whic|h can th|
|00003dc0| 65 6e 20 62 65 20 73 61 | 76 65 64 20 74 6f 20 61 |en be sa|ved to a|
|00003dd0| 20 63 6f 6e 74 72 6f 6c | 27 73 20 72 65 73 6f 75 | control|'s resou|
|00003de0| 72 63 65 20 66 6f 72 6b | 2e 20 49 74 20 61 6c 6c |rce fork|. It all|
|00003df0| 6f 77 73 20 79 6f 75 20 | 74 6f 20 73 68 6f 77 20 |ows you |to show |
|00003e00| 61 20 70 72 6f 70 65 72 | 74 79 20 65 64 69 74 6f |a proper|ty edito|
|00003e10| 72 2c 20 6d 65 74 68 6f | 64 20 65 64 69 74 6f 72 |r, metho|d editor|
|00003e20| 20 6f 72 20 65 76 65 6e | 74 20 65 64 69 74 6f 72 | or even|t editor|
|00003e30| 20 66 6f 72 20 64 65 73 | 63 72 69 62 69 6e 67 20 | for des|cribing |
|00003e40| 70 72 6f 70 65 72 74 69 | 65 73 2c 20 6d 65 74 68 |properti|es, meth|
|00003e50| 6f 64 73 20 61 6e 64 20 | 65 76 65 6e 74 73 2e 20 |ods and |events. |
|00003e60| 20 52 65 73 75 6c 74 69 | 6e 67 20 64 65 73 63 72 | Resulti|ng descr|
|00003e70| 69 70 74 69 6f 6e 73 20 | 63 61 6e 20 62 65 20 73 |iptions |can be s|
|00003e80| 61 76 65 64 20 69 6e 74 | 6f 20 74 68 65 20 72 65 |aved int|o the re|
|00003e90| 73 6f 75 72 63 65 20 66 | 6f 72 6b 20 6f 66 20 61 |source f|ork of a|
|00003ea0| 20 63 6f 6e 74 72 6f 6c | 2c 20 65 6e 61 62 6c 69 | control|, enabli|
|00003eb0| 6e 67 20 6f 62 6a 65 63 | 74 20 64 65 73 63 72 69 |ng objec|t descri|
|00003ec0| 70 74 69 6f 6e 20 73 75 | 70 70 6f 72 74 2e 0d 0d |ption su|pport...|
|00003ed0| 54 79 70 69 63 61 6c 20 | 75 73 65 20 6f 66 20 74 |Typical |use of t|
|00003ee0| 68 65 20 41 75 74 6f 6d | 61 74 6f 72 20 55 74 69 |he Autom|ator Uti|
|00003ef0| 6c 69 74 79 20 77 6f 75 | 6c 64 20 62 65 20 61 73 |lity wou|ld be as|
|00003f00| 20 66 6f 6c 6c 6f 77 73 | 3a 0d 0d 31 2e 20 43 72 | follows|:..1. Cr|
|00003f10| 65 61 74 65 20 61 20 6e | 65 77 20 64 6f 63 75 6d |eate a n|ew docum|
|00003f20| 65 6e 74 20 75 73 69 6e | 67 20 46 69 6c 65 3a 4e |ent usin|g File:N|
|00003f30| 65 77 2e 0d 32 2e 20 46 | 69 6c 6c 20 69 6e 20 74 |ew..2. F|ill in t|
|00003f40| 68 65 20 6f 62 6a 65 63 | 74 20 69 6e 66 6f 20 69 |he objec|t info i|
|00003f50| 6e 20 74 68 65 20 74 6f | 70 20 70 61 6e 65 20 6f |n the to|p pane o|
|00003f60| 66 20 74 68 65 20 64 6f | 63 75 6d 65 6e 74 20 77 |f the do|cument w|
|00003f70| 69 6e 64 6f 77 2e 0d 33 | 2e 20 41 64 64 20 70 72 |indow..3|. Add pr|
|00003f80| 6f 70 65 72 74 69 65 73 | 20 75 73 69 6e 67 20 74 |operties| using t|
|00003f90| 68 65 20 70 72 6f 70 65 | 72 74 79 20 65 64 69 74 |he prope|rty edit|
|00003fa0| 6f 72 20 77 69 6e 64 6f | 77 20 66 72 6f 6d 20 41 |or windo|w from A|
|00003fb0| 75 74 6f 6d 61 74 65 3a | 53 68 6f 77 20 50 72 6f |utomate:|Show Pro|
|00003fc0| 70 65 72 74 79 20 45 64 | 69 74 6f 72 2e 0d 34 2e |perty Ed|itor..4.|
|00003fd0| 20 41 64 64 20 6d 65 74 | 68 6f 64 73 20 75 73 69 | Add met|hods usi|
|00003fe0| 6e 67 20 74 68 65 20 6d | 65 74 68 6f 64 20 65 64 |ng the m|ethod ed|
|00003ff0| 69 74 6f 72 20 77 69 6e | 64 6f 77 20 66 72 6f 6d |itor win|dow from|
|00004000| 20 41 75 74 6f 6d 61 74 | 65 3a 53 68 6f 77 20 4d | Automat|e:Show M|
|00004010| 65 74 68 6f 64 20 45 64 | 69 74 6f 72 2e 0d 35 2e |ethod Ed|itor..5.|
|00004020| 20 41 64 64 20 65 76 65 | 6e 74 73 20 75 73 69 6e | Add eve|nts usin|
|00004030| 67 20 74 68 65 20 65 76 | 65 6e 74 20 65 64 69 74 |g the ev|ent edit|
|00004040| 6f 72 20 77 69 6e 64 6f | 77 20 66 72 6f 6d 20 41 |or windo|w from A|
|00004050| 75 74 6f 6d 61 74 65 3a | 53 68 6f 77 20 45 76 65 |utomate:|Show Eve|
|00004060| 6e 74 20 45 64 69 74 6f | 72 2e 0d 36 2e 20 53 61 |nt Edito|r..6. Sa|
|00004070| 76 65 54 6f 20 74 68 65 | 20 72 65 73 6f 75 72 63 |veTo the| resourc|
|00004080| 65 20 66 69 6c 65 20 6f | 66 20 79 6f 75 72 20 63 |e file o|f your c|
|00004090| 6f 6e 74 72 6f 6c 2e 20 | 20 28 20 65 2e 67 2e 20 |ontrol. | ( e.g. |
|000040a0| 4d 79 43 6f 6e 74 72 6f | 6c 2e 72 73 72 63 20 29 |MyContro|l.rsrc )|
|000040b0| 0d 0d 4f 6e 63 65 20 74 | 68 69 73 20 69 73 20 64 |..Once t|his is d|
|000040c0| 6f 6e 65 2c 20 79 6f 75 | 72 20 63 6f 6e 74 72 6f |one, you|r contro|
|000040d0| 6c 20 68 61 73 20 4f 62 | 6a 65 63 74 20 49 6e 66 |l has Ob|ject Inf|
|000040e0| 6f 72 6d 61 74 69 6f 6e | 20 61 6e 64 20 4f 62 6a |ormation| and Obj|
|000040f0| 65 63 74 20 44 65 73 63 | 72 69 70 74 69 6f 6e 20 |ect Desc|ription |
|00004100| 73 75 70 70 6f 72 74 20 | 61 75 74 6f 6d 61 74 69 |support |automati|
|00004110| 63 61 6c 6c 79 20 69 66 | 20 79 6f 75 20 75 73 65 |cally if| you use|
|00004120| 20 74 68 65 20 53 44 4b | 20 76 65 72 73 69 6f 6e | the SDK| version|
|00004130| 20 6f 66 20 43 42 61 73 | 65 43 6f 6e 74 72 6f 6c | of CBas|eControl|
|00004140| 20 61 6e 64 20 6c 69 6e | 6b 20 69 6e 20 74 68 65 | and lin|k in the|
|00004150| 20 4f 62 6a 65 63 74 44 | 65 73 63 2e 4c 69 62 2e | ObjectD|esc.Lib.|
|00004160| 20 20 54 68 69 73 20 6c | 69 62 72 61 72 79 20 6d | This l|ibrary m|
|00004170| 61 6e 61 67 65 73 20 69 | 6e 73 74 61 6e 74 69 61 |anages i|nstantia|
|00004180| 74 69 6f 6e 20 6f 66 20 | 61 20 43 4f 62 6a 65 63 |tion of |a CObjec|
|00004190| 74 44 65 73 63 20 6f 62 | 6a 65 63 74 20 74 68 61 |tDesc ob|ject tha|
|000041a0| 74 20 63 61 6e 20 72 65 | 61 64 20 27 4f 49 6e 66 |t can re|ad 'OInf|
|000041b0| 27 2c 20 27 4d 74 68 23 | 27 20 61 6e 64 20 27 50 |', 'Mth#|' and 'P|
|000041c0| 72 6d 23 27 20 72 65 73 | 6f 75 72 63 65 73 2e 20 |rm#' res|ources. |
|000041d0| 20 43 42 61 73 65 43 6f | 6e 74 72 6f 6c 27 73 20 | CBaseCo|ntrol's |
|000041e0| 51 75 65 72 79 49 6e 74 | 65 72 66 61 63 65 20 77 |QueryInt|erface w|
|000041f0| 69 6c 6c 20 72 65 74 75 | 72 6e 20 61 6e 20 69 6e |ill retu|rn an in|
|00004200| 74 65 72 66 61 63 65 20 | 70 6f 69 6e 74 65 72 20 |terface |pointer |
|00004210| 66 6f 72 20 49 4f 62 6a | 65 63 74 44 65 73 63 20 |for IObj|ectDesc |
|00004220| 6f 72 20 49 4f 62 6a 65 | 63 74 49 6e 66 6f 20 74 |or IObje|ctInfo t|
|00004230| 6f 20 61 6e 79 20 63 6c | 69 65 6e 74 2e 20 20 54 |o any cl|ient. T|
|00004240| 68 65 73 65 20 69 6e 74 | 65 72 66 61 63 65 73 20 |hese int|erfaces |
|00004250| 61 72 65 20 69 6d 70 6c | 65 6d 65 6e 74 65 64 20 |are impl|emented |
|00004260| 62 79 20 74 68 65 20 43 | 4f 62 6a 65 63 74 44 65 |by the C|ObjectDe|
|00004270| 73 63 20 6f 62 6a 65 63 | 74 20 69 6e 20 4f 62 6a |sc objec|t in Obj|
|00004280| 65 63 74 44 65 73 63 2e | 4c 69 62 2e 0d 0d 4e 6f |ectDesc.|Lib...No|
|00004290| 72 6d 61 6c 6c 79 20 79 | 6f 75 20 77 6f 75 6c 64 |rmally y|ou would|
|000042a0| 20 6e 6f 74 20 63 72 65 | 61 74 65 20 6f 62 6a 65 | not cre|ate obje|
|000042b0| 63 74 20 64 65 73 63 72 | 69 70 74 69 6f 6e 73 20 |ct descr|iptions |
|000042c0| 66 6f 72 20 79 6f 75 72 | 20 63 6f 6e 74 72 6f 6c |for your| control|
|000042d0| 20 75 6e 6c 65 73 73 20 | 79 6f 75 20 61 6c 73 6f | unless |you also|
|000042e0| 20 73 75 70 70 6f 72 74 | 65 64 20 74 68 65 20 49 | support|ed the I|
|000042f0| 44 69 73 70 61 74 63 68 | 20 69 6e 74 65 72 66 61 |Dispatch| interfa|
|00004300| 63 65 20 66 6f 72 20 61 | 75 74 6f 6d 61 74 69 6f |ce for a|utomatio|
|00004310| 6e 2e 20 20 54 68 65 20 | 44 69 73 70 49 44 73 20 |n. The |DispIDs |
|00004320| 64 65 66 69 6e 65 64 20 | 69 6e 20 79 6f 75 72 20 |defined |in your |
|00004330| 6f 62 6a 65 63 74 20 64 | 65 73 63 72 69 70 74 69 |object d|escripti|
|00004340| 6f 6e 73 20 77 6f 75 6c | 64 20 6d 61 70 20 69 6e |ons woul|d map in|
|00004350| 74 6f 20 44 69 73 70 49 | 44 73 20 68 61 6e 64 6c |to DispI|Ds handl|
|00004360| 65 64 20 62 79 20 79 6f | 75 72 20 49 44 69 73 70 |ed by yo|ur IDisp|
|00004370| 61 74 63 68 3a 3a 49 6e | 76 6f 6b 65 20 61 6e 64 |atch::In|voke and|
|00004380| 20 49 44 69 73 70 61 74 | 63 68 3a 3a 47 65 74 49 | IDispat|ch::GetI|
|00004390| 44 73 4f 66 4e 61 6d 65 | 73 20 6d 65 74 68 6f 64 |DsOfName|s method|
|000043a0| 73 2e 0d 0d 4e 6f 74 20 | 61 6c 6c 20 63 6f 6e 74 |s...Not |all cont|
|000043b0| 72 6f 6c 73 20 77 69 6c | 6c 20 6e 65 65 64 20 74 |rols wil|l need t|
|000043c0| 6f 20 75 73 65 20 74 68 | 65 20 6f 62 6a 65 63 74 |o use th|e object|
|000043d0| 20 64 65 73 63 72 69 70 | 74 69 6f 6e 20 69 6e 74 | descrip|tion int|
|000043e0| 65 72 66 61 63 65 73 2c | 20 62 75 74 20 6d 6f 73 |erfaces,| but mos|
|000043f0| 74 20 63 6f 75 6c 64 20 | 6d 61 6b 65 20 75 73 65 |t could |make use|
|00004400| 20 6f 66 20 74 68 65 20 | 4f 62 6a 65 63 74 20 49 | of the |Object I|
|00004410| 6e 66 6f 20 69 6e 74 65 | 72 66 61 63 65 2e 20 20 |nfo inte|rface. |
|00004420| 4f 6e 65 20 73 70 65 63 | 69 61 6c 20 76 61 6c 75 |One spec|ial valu|
|00004430| 65 20 69 6e 20 74 68 65 | 20 4f 49 6e 66 20 73 74 |e in the| OInf st|
|00004440| 72 69 6e 67 20 6c 69 73 | 74 2c 20 63 6f 64 65 62 |ring lis|t, codeb|
|00004450| 61 73 65 20 65 78 74 65 | 6e 73 69 6f 6e 2c 20 63 |ase exte|nsion, c|
|00004460| 61 6e 20 62 65 20 75 73 | 65 64 20 69 6e 20 63 6f |an be us|ed in co|
|00004470| 6e 6a 75 6e 63 74 69 6f | 6e 20 77 69 74 68 20 74 |njunctio|n with t|
|00004480| 68 65 20 55 73 65 72 4e | 61 6d 65 2c 20 74 6f 20 |he UserN|ame, to |
|00004490| 61 6c 6c 6f 77 20 79 6f | 75 72 20 63 6f 6e 74 72 |allow yo|ur contr|
|000044a0| 6f 6c 20 74 6f 20 62 65 | 20 74 65 73 74 65 64 20 |ol to be| tested |
|000044b0| 69 6e 20 53 69 6d 70 6c | 65 43 6f 6e 74 61 69 6e |in Simpl|eContain|
|000044c0| 65 72 20 6f 72 20 41 63 | 74 69 76 65 58 41 70 70 |er or Ac|tiveXApp|
|000044d0| 2e 20 20 53 65 65 20 74 | 68 65 20 73 61 6d 70 6c |. See t|he sampl|
|000044e0| 65 20 63 6f 64 65 20 69 | 6e 20 74 68 65 20 63 6f |e code i|n the co|
|000044f0| 6e 74 72 6f 6c 20 69 6e | 73 74 61 6e 74 69 61 74 |ntrol in|stantiat|
|00004500| 69 6f 6e 20 66 75 6e 63 | 74 69 6f 6e 73 20 69 6e |ion func|tions in|
|00004510| 20 74 68 65 73 65 20 73 | 61 6d 70 6c 65 20 61 70 | these s|ample ap|
|00004520| 70 6c 69 63 61 74 69 6f | 6e 73 20 66 6f 72 20 64 |plicatio|ns for d|
|00004530| 65 74 61 69 6c 73 2e 0d | 0d 0d 53 63 72 69 70 74 |etails..|..Script|
|00004540| 69 6e 67 20 55 74 69 6c | 69 74 79 20 41 50 49 0d |ing Util|ity API.|
|00004550| 0d 54 68 65 20 53 63 72 | 69 70 74 69 6e 67 20 55 |.The Scr|ipting U|
|00004560| 74 69 6c 69 74 79 20 41 | 50 49 20 69 73 20 61 20 |tility A|PI is a |
|00004570| 73 65 74 20 6f 66 20 63 | 61 6c 6c 73 20 74 68 61 |set of c|alls tha|
|00004580| 74 20 6d 61 6b 65 73 20 | 64 65 61 6c 69 6e 67 20 |t makes |dealing |
|00004590| 77 69 74 68 20 73 6f 6d | 65 20 6f 66 20 74 68 65 |with som|e of the|
|000045a0| 20 56 41 52 49 41 4e 54 | 20 61 6e 64 20 44 49 53 | VARIANT| and DIS|
|000045b0| 50 50 41 52 41 4d 20 73 | 74 72 75 63 74 75 72 65 |PPARAM s|tructure|
|000045c0| 73 20 65 61 73 69 65 72 | 2e 20 20 53 6f 6d 65 20 |s easier|. Some |
|000045d0| 6f 66 20 74 68 65 73 65 | 20 63 61 6c 6c 73 20 61 |of these| calls a|
|000045e0| 72 65 20 73 74 72 69 63 | 74 6c 79 20 77 72 61 70 |re stric|tly wrap|
|000045f0| 70 65 72 73 20 74 6f 20 | 63 61 6c 6c 73 20 74 68 |pers to |calls th|
|00004600| 61 74 20 63 61 6e 20 62 | 65 20 66 6f 75 6e 64 20 |at can b|e found |
|00004610| 69 6e 20 74 68 65 20 4d | 53 20 56 61 72 69 61 6e |in the M|S Varian|
|00004620| 74 20 4c 69 62 2e 20 20 | 4f 74 68 65 72 73 20 61 |t Lib. |Others a|
|00004630| 72 65 20 75 74 69 6c 69 | 74 69 65 73 20 74 68 61 |re utili|ties tha|
|00004640| 74 20 70 72 6f 76 69 64 | 65 64 20 68 61 6e 64 79 |t provid|ed handy|
|00004650| 20 66 75 6e 63 74 69 6f | 6e 61 6c 69 74 79 2e 20 | functio|nality. |
|00004660| 20 41 6c 73 6f 2c 20 6e | 6f 74 69 63 65 20 74 68 | Also, n|otice th|
|00004670| 61 74 20 74 68 65 20 65 | 78 69 73 74 69 6e 67 20 |at the e|xisting |
|00004680| 41 58 5f 43 6f 6e 6e 65 | 63 74 53 63 72 69 70 74 |AX_Conne|ctScript|
|00004690| 73 20 61 6e 64 20 41 58 | 5f 44 69 73 63 6f 6e 6e |s and AX|_Disconn|
|000046a0| 65 63 74 53 63 72 69 70 | 74 73 20 63 61 6c 6c 73 |ectScrip|ts calls|
|000046b0| 20 61 72 65 20 6e 6f 77 | 20 64 65 66 69 6e 65 64 | are now| defined|
|000046c0| 20 69 6e 20 53 63 72 69 | 70 74 69 6e 67 41 50 49 | in Scri|ptingAPI|
|000046d0| 2e 68 2e 0d 0d 54 68 65 | 20 6e 65 77 20 63 61 6c |.h...The| new cal|
|000046e0| 6c 73 20 20 61 72 65 20 | 64 65 66 69 6e 65 64 20 |ls are |defined |
|000046f0| 61 73 20 66 6f 6c 6c 6f | 77 73 3a 0d 0d 63 68 61 |as follo|ws:..cha|
|00004700| 72 2a 20 09 09 41 58 5f | 47 65 74 42 53 54 52 28 |r* ..AX_|GetBSTR(|
|00004710| 56 41 52 49 41 4e 54 2a | 20 69 6e 42 53 54 52 29 |VARIANT*| inBSTR)|
|00004720| 0d 0d 52 65 74 75 72 6e | 73 20 61 20 63 68 61 72 |..Return|s a char|
|00004730| 2a 20 76 65 72 69 73 6f | 6e 20 6f 66 20 61 20 42 |* veriso|n of a B|
|00004740| 53 54 52 20 63 6f 6e 74 | 61 69 6e 65 64 20 69 6e |STR cont|ained in|
|00004750| 20 61 20 56 41 52 49 41 | 4e 54 2e 20 20 45 61 73 | a VARIA|NT. Eas|
|00004760| 79 20 77 61 79 20 74 6f | 20 67 65 74 20 73 74 72 |y way to| get str|
|00004770| 69 6e 67 20 70 72 6f 70 | 65 72 74 69 65 73 20 77 |ing prop|erties w|
|00004780| 69 74 68 6f 75 74 20 6b | 6e 6f 77 69 6e 67 20 74 |ithout k|nowing t|
|00004790| 68 65 20 66 6f 72 6d 61 | 74 20 6f 66 20 61 20 42 |he forma|t of a B|
|000047a0| 53 54 52 2e 20 20 4d 6f | 73 74 20 75 73 65 66 75 |STR. Mo|st usefu|
|000047b0| 6c 20 61 66 74 65 72 20 | 64 6f 69 6e 67 20 61 6e |l after |doing an|
|000047c0| 20 49 44 69 73 70 61 74 | 63 68 3a 3a 49 6e 76 6f | IDispat|ch::Invo|
|000047d0| 6b 65 28 29 20 77 69 74 | 68 20 61 20 50 52 4f 50 |ke() wit|h a PROP|
|000047e0| 45 52 54 59 5f 47 45 54 | 20 66 6c 61 67 20 77 68 |ERTY_GET| flag wh|
|000047f0| 65 6e 20 74 68 65 20 70 | 72 6f 70 65 72 74 79 20 |en the p|roperty |
|00004800| 77 61 73 20 72 65 74 75 | 72 6e 65 64 20 61 73 20 |was retu|rned as |
|00004810| 61 20 42 53 54 52 2e 0d | 0d 0d 41 58 45 72 72 6f |a BSTR..|..AXErro|
|00004820| 72 43 6f 64 65 20 41 58 | 5f 53 65 74 42 53 54 52 |rCode AX|_SetBSTR|
|00004830| 28 63 68 61 72 2a 20 69 | 6e 53 74 72 2c 20 56 41 |(char* i|nStr, VA|
|00004840| 52 49 41 4e 54 2a 20 6f | 75 74 42 53 54 52 29 0d |RIANT* o|utBSTR).|
|00004850| 0d 43 6f 70 69 65 73 20 | 61 6e 20 65 78 69 73 74 |.Copies |an exist|
|00004860| 69 6e 67 20 63 68 61 72 | 2a 20 69 6e 74 6f 20 61 |ing char|* into a|
|00004870| 20 56 41 52 49 41 4e 54 | 2e 20 20 45 61 73 79 20 | VARIANT|. Easy |
|00004880| 77 61 79 20 74 6f 20 70 | 75 74 20 61 6e 20 65 78 |way to p|ut an ex|
|00004890| 69 73 69 6e 67 20 63 68 | 61 72 2a 20 69 6e 74 6f |ising ch|ar* into|
|000048a0| 20 61 20 56 41 52 49 41 | 4e 54 20 73 74 72 75 63 | a VARIA|NT struc|
|000048b0| 74 75 72 65 20 77 69 74 | 68 6f 75 74 20 68 61 76 |ture wit|hout hav|
|000048c0| 69 6e 67 20 74 6f 20 6b | 6e 6f 77 20 74 68 65 20 |ing to k|now the |
|000048d0| 6c 61 79 6f 75 74 20 6f | 66 20 61 20 56 41 52 49 |layout o|f a VARI|
|000048e0| 41 4e 54 20 73 74 72 75 | 63 74 75 72 65 2e 20 20 |ANT stru|cture. |
|000048f0| 4d 6f 73 74 20 75 73 65 | 66 75 6c 20 77 68 65 6e |Most use|ful when|
|00004900| 20 79 6f 75 20 6e 65 65 | 64 20 74 6f 20 64 6f 20 | you nee|d to do |
|00004910| 61 6e 20 49 44 69 73 70 | 61 74 63 68 3a 3a 49 6e |an IDisp|atch::In|
|00004920| 76 6f 6b 65 28 29 20 77 | 69 74 68 20 61 20 50 52 |voke() w|ith a PR|
|00004930| 4f 50 45 52 54 59 5f 50 | 55 54 20 66 6c 61 67 20 |OPERTY_P|UT flag |
|00004940| 75 73 69 6e 67 20 73 74 | 72 69 6e 67 20 70 72 6f |using st|ring pro|
|00004950| 70 65 72 74 69 65 73 2e | 0d 0d 0d 41 58 45 72 72 |perties.|...AXErr|
|00004960| 6f 72 43 6f 64 65 20 41 | 58 5f 49 6e 69 74 44 69 |orCode A|X_InitDi|
|00004970| 73 70 61 74 63 68 50 61 | 72 61 6d 73 28 44 49 53 |spatchPa|rams(DIS|
|00004980| 50 50 41 52 41 4d 53 2a | 20 69 6f 50 61 72 61 6d |PPARAMS*| ioParam|
|00004990| 73 2c 20 55 69 6e 74 33 | 32 20 69 6e 4e 75 6d 50 |s, Uint3|2 inNumP|
|000049a0| 61 72 61 6d 73 29 0d 0d | 49 6e 69 74 69 61 6c 69 |arams)..|Initiali|
|000049b0| 7a 65 73 20 61 20 44 49 | 53 50 50 41 52 41 4d 53 |zes a DI|SPPARAMS|
|000049c0| 20 73 74 72 75 63 74 75 | 72 65 20 66 6f 72 20 69 | structu|re for i|
|000049d0| 6e 4e 75 6d 50 61 72 61 | 6d 73 20 50 61 72 61 6d |nNumPara|ms Param|
|000049e0| 73 2e 20 20 45 61 73 79 | 20 77 61 79 20 74 6f 20 |s. Easy| way to |
|000049f0| 62 65 67 69 6e 20 73 65 | 74 74 69 6e 67 20 75 70 |begin se|tting up|
|00004a00| 20 61 20 44 49 53 50 50 | 41 52 41 4d 53 20 73 74 | a DISPP|ARAMS st|
|00004a10| 72 75 63 74 75 72 65 20 | 66 6f 72 20 75 73 65 20 |ructure |for use |
|00004a20| 69 6e 20 61 6e 20 49 44 | 69 73 70 61 74 63 68 3a |in an ID|ispatch:|
|00004a30| 3a 49 6e 76 6f 6b 65 28 | 29 20 6d 65 74 68 6f 64 |:Invoke(|) method|
|00004a40| 20 63 61 6c 6c 20 77 69 | 74 68 6f 75 74 20 68 61 | call wi|thout ha|
|00004a50| 76 69 6e 67 20 74 6f 20 | 6b 6e 6f 77 20 74 68 65 |ving to |know the|
|00004a60| 20 75 6e 64 65 72 6c 79 | 69 6e 67 20 66 6f 72 6d | underly|ing form|
|00004a70| 61 74 20 6f 66 20 61 20 | 44 49 53 50 50 41 52 41 |at of a |DISPPARA|
|00004a80| 4d 53 20 73 74 72 75 63 | 74 75 72 65 20 61 6e 64 |MS struc|ture and|
|00004a90| 20 77 68 61 74 20 69 6e | 74 65 72 6e 61 6c 20 66 | what in|ternal f|
|00004aa0| 69 65 6c 64 73 20 6e 65 | 65 64 20 74 6f 20 62 65 |ields ne|ed to be|
|00004ab0| 20 61 6c 6c 6f 63 61 74 | 65 64 2e 20 20 0d 0d 0d | allocat|ed. ...|
|00004ac0| 41 58 45 72 72 6f 72 43 | 6f 64 65 20 41 58 5f 41 |AXErrorC|ode AX_A|
|00004ad0| 64 64 44 69 73 70 61 74 | 63 68 50 61 72 61 6d 28 |ddDispat|chParam(|
|00004ae0| 56 41 52 49 41 4e 54 41 | 52 47 2a 20 69 6e 50 61 |VARIANTA|RG* inPa|
|00004af0| 72 61 6d 2c 20 44 49 53 | 50 50 41 52 41 4d 53 2a |ram, DIS|PPARAMS*|
|00004b00| 20 69 6f 50 61 72 61 6d | 73 29 0d 0d 41 64 64 73 | ioParam|s)..Adds|
|00004b10| 20 61 20 56 41 52 49 41 | 4e 54 20 70 61 72 61 6d | a VARIA|NT param|
|00004b20| 65 74 65 72 20 74 6f 20 | 61 6e 20 65 78 69 73 74 |eter to |an exist|
|00004b30| 69 6e 67 20 44 49 53 50 | 50 41 52 41 4d 53 20 73 |ing DISP|PARAMS s|
|00004b40| 74 72 75 63 74 75 72 65 | 20 74 68 61 74 20 68 61 |tructure| that ha|
|00004b50| 73 20 62 65 65 6e 20 69 | 6e 69 74 69 61 6c 69 7a |s been i|nitializ|
|00004b60| 65 64 20 70 72 65 76 69 | 6f 75 73 6c 79 20 77 69 |ed previ|ously wi|
|00004b70| 74 68 20 74 68 65 20 41 | 58 5f 49 6e 69 74 44 69 |th the A|X_InitDi|
|00004b80| 73 70 61 74 63 68 50 61 | 72 61 6d 73 28 29 20 63 |spatchPa|rams() c|
|00004b90| 61 6c 6c 2e 20 20 0d 0d | 0d 41 58 45 72 72 6f 72 |all. ..|.AXError|
|00004ba0| 43 6f 64 65 20 41 58 5f | 52 65 6c 65 61 73 65 44 |Code AX_|ReleaseD|
|00004bb0| 69 73 70 61 74 63 68 50 | 61 72 61 6d 73 28 44 49 |ispatchP|arams(DI|
|00004bc0| 53 50 50 41 52 41 4d 53 | 2a 20 69 6f 50 61 72 61 |SPPARAMS|* ioPara|
|00004bd0| 6d 73 29 0d 0d 52 65 6c | 65 61 73 65 73 20 61 6c |ms)..Rel|eases al|
|00004be0| 6c 20 6d 65 6d 6f 72 79 | 20 61 6c 6c 6f 63 61 74 |l memory| allocat|
|00004bf0| 65 64 20 74 68 72 6f 75 | 67 68 20 74 68 65 20 73 |ed throu|gh the s|
|00004c00| 65 71 75 65 6e 63 65 20 | 6f 66 20 41 58 5f 49 6e |equence |of AX_In|
|00004c10| 69 74 44 69 73 70 61 74 | 63 68 50 61 72 61 6d 73 |itDispat|chParams|
|00004c20| 2c 20 41 58 5f 41 64 64 | 44 69 73 70 61 74 63 68 |, AX_Add|Dispatch|
|00004c30| 50 61 72 61 6d 20 63 61 | 6c 6c 73 2e 20 20 55 73 |Param ca|lls. Us|
|00004c40| 65 20 74 68 69 73 20 61 | 66 74 65 72 20 79 6f 75 |e this a|fter you|
|00004c50| 20 68 61 76 65 20 72 65 | 74 75 72 6e 65 64 20 66 | have re|turned f|
|00004c60| 72 6f 6d 20 61 6e 20 49 | 44 69 73 70 61 74 63 68 |rom an I|Dispatch|
|00004c70| 3a 3a 49 6e 76 6f 6b 65 | 20 63 61 6c 6c 2e 0d 0d |::Invoke| call...|
|00004c80| 54 68 65 20 61 62 6f 76 | 65 20 74 68 72 65 65 20 |The abov|e three |
|00004c90| 63 61 6c 6c 73 20 61 72 | 65 20 74 79 70 69 63 61 |calls ar|e typica|
|00004ca0| 6c 6c 79 20 75 73 65 64 | 20 69 6e 20 73 65 71 75 |lly used| in sequ|
|00004cb0| 65 6e 63 65 20 69 6e 20 | 73 65 74 74 69 6e 67 20 |ence in |setting |
|00004cc0| 75 70 20 66 6f 72 20 61 | 6e 20 49 44 69 73 70 61 |up for a|n IDispa|
|00004cd0| 74 63 68 3a 3a 49 6e 76 | 6f 6b 65 28 29 20 63 61 |tch::Inv|oke() ca|
|00004ce0| 6c 6c 20 61 73 20 69 6e | 3a 0d 0d 44 49 53 50 50 |ll as in|:..DISPP|
|00004cf0| 41 52 41 4d 53 20 4d 79 | 50 61 72 61 6d 73 3b 0d |ARAMS My|Params;.|
|00004d00| 56 41 52 49 41 4e 54 20 | 4d 79 56 61 72 69 61 6e |VARIANT |MyVarian|
|00004d10| 74 3b 0d 0d 41 58 5f 49 | 6e 69 74 44 69 73 70 61 |t;..AX_I|nitDispa|
|00004d20| 74 63 68 50 61 72 61 6d | 73 28 26 4d 79 44 69 73 |tchParam|s(&MyDis|
|00004d30| 70 50 61 72 61 6d 73 2c | 20 4d 79 4e 75 6d 50 61 |pParams,| MyNumPa|
|00004d40| 72 61 6d 73 29 3b 0d 66 | 6f 72 20 28 20 69 20 3d |rams);.f|or ( i =|
|00004d50| 20 30 3b 20 69 20 3c 20 | 20 4d 79 4e 75 6d 50 61 | 0; i < | MyNumPa|
|00004d60| 72 61 6d 73 3b 20 20 69 | 2b 2b 20 29 0d 7b 0d 09 |rams; i|++ ).{..|
|00004d70| 20 41 58 5f 53 65 74 42 | 53 54 52 28 4d 79 50 61 | AX_SetB|STR(MyPa|
|00004d80| 72 61 6d 53 74 72 2c 20 | 26 4d 79 56 61 72 69 61 |ramStr, |&MyVaria|
|00004d90| 6e 74 29 3b 0d 20 20 20 | 20 41 58 5f 41 64 64 44 |nt);. | AX_AddD|
|00004da0| 69 73 70 61 74 63 68 50 | 61 72 61 6d 28 26 4d 79 |ispatchP|aram(&My|
|00004db0| 56 61 72 69 61 6e 74 2c | 20 26 4d 79 50 61 72 61 |Variant,| &MyPara|
|00004dc0| 6d 73 29 3b 0d 7d 0d 44 | 69 73 70 61 74 63 68 2d |ms);.}.D|ispatch-|
|00004dd0| 3e 49 6e 76 6f 6b 65 28 | 20 2e 2e 2e 2e 2e 20 29 |>Invoke(| ..... )|
|00004de0| 3b 0d 41 58 5f 52 65 6c | 65 61 73 65 44 69 73 70 |;.AX_Rel|easeDisp|
|00004df0| 61 74 63 68 50 61 72 61 | 6d 73 28 26 4d 79 50 61 |atchPara|ms(&MyPa|
|00004e00| 72 61 6d 73 29 3b 0d 0d | 0d 41 58 45 72 72 6f 72 |rams);..|.AXError|
|00004e10| 43 6f 64 65 20 41 58 5f | 49 6e 69 74 56 61 72 69 |Code AX_|InitVari|
|00004e20| 61 6e 74 28 56 41 52 49 | 41 4e 54 2a 20 69 6f 56 |ant(VARI|ANT* ioV|
|00004e30| 61 72 69 61 6e 74 29 0d | 0d 49 6e 69 74 69 61 6c |ariant).|.Initial|
|00004e40| 69 7a 65 73 20 61 20 56 | 41 52 49 41 4e 54 20 73 |izes a V|ARIANT s|
|00004e50| 74 72 75 63 74 75 72 65 | 2e 20 20 0d 0d 41 58 45 |tructure|. ..AXE|
|00004e60| 72 72 6f 72 43 6f 64 65 | 20 41 58 5f 52 65 6c 65 |rrorCode| AX_Rele|
|00004e70| 61 73 65 56 61 72 69 61 | 6e 74 28 56 41 52 49 41 |aseVaria|nt(VARIA|
|00004e80| 4e 54 2a 20 69 6f 56 61 | 72 69 61 6e 74 29 0d 0d |NT* ioVa|riant)..|
|00004e90| 52 65 6c 65 61 73 65 73 | 20 61 20 56 41 52 49 41 |Releases| a VARIA|
|00004ea0| 4e 54 20 73 74 72 75 63 | 74 75 72 65 2e 0d 0d 0d |NT struc|ture....|
|00004eb0| 41 58 45 72 72 6f 72 43 | 6f 64 65 20 41 58 5f 43 |AXErrorC|ode AX_C|
|00004ec0| 68 61 6e 67 65 54 79 70 | 65 28 56 41 52 49 41 4e |hangeTyp|e(VARIAN|
|00004ed0| 54 2a 20 69 6e 53 6f 75 | 72 63 65 2c 20 56 41 52 |T* inSou|rce, VAR|
|00004ee0| 54 59 50 45 20 69 6e 54 | 79 70 65 2c 20 55 69 6e |TYPE inT|ype, Uin|
|00004ef0| 74 31 36 20 69 6e 46 6c | 61 67 73 2c 20 56 41 52 |t16 inFl|ags, VAR|
|00004f00| 49 41 4e 54 2a 20 6f 75 | 74 44 65 73 74 29 0d 0d |IANT* ou|tDest)..|
|00004f10| 43 6f 6e 76 65 72 74 73 | 20 56 41 52 49 41 4e 54 |Converts| VARIANT|
|00004f20| 20 70 61 72 61 6d 65 74 | 65 72 73 20 66 72 6f 6d | paramet|ers from|
|00004f30| 20 6f 6e 65 20 74 79 70 | 65 20 74 6f 20 61 6e 6f | one typ|e to ano|
|00004f40| 74 68 65 72 2e 20 20 57 | 72 61 70 70 65 72 20 66 |ther. W|rapper f|
|00004f50| 6f 72 20 74 68 65 20 41 | 75 74 6f 6d 61 74 69 6f |or the A|utomatio|
|00004f60| 6e 20 63 61 6c 6c 20 56 | 61 72 43 68 61 6e 67 65 |n call V|arChange|
|00004f70| 54 79 70 65 2e 0d 0d 0d | 53 65 65 20 4f 62 6a 65 |Type....|See Obje|
|00004f80| 63 74 49 6e 66 6f 57 69 | 6e 2e 63 20 69 6e 20 53 |ctInfoWi|n.c in S|
|00004f90| 69 6d 70 6c 65 43 6f 6e | 74 61 69 6e 65 72 20 66 |impleCon|tainer f|
|00004fa0| 6f 72 20 73 61 6d 70 6c | 65 20 63 6f 64 65 20 74 |or sampl|e code t|
|00004fb0| 68 61 74 20 75 73 65 73 | 20 74 68 65 73 65 20 63 |hat uses| these c|
|00004fc0| 61 6c 6c 73 2e 0d 0d 53 | 61 76 69 6e 67 20 61 6e |alls...S|aving an|
|00004fd0| 64 20 72 65 61 64 69 6e | 67 20 63 6f 6e 74 72 6f |d readin|g contro|
|00004fe0| 6c 73 0d 0d 57 65 20 68 | 61 76 65 20 61 64 64 65 |ls..We h|ave adde|
|00004ff0| 64 20 73 75 70 70 6f 72 | 74 20 66 6f 72 20 73 61 |d suppor|t for sa|
|00005000| 76 69 6e 67 20 41 63 74 | 69 76 65 58 20 63 6f 6e |ving Act|iveX con|
|00005010| 74 72 6f 6c 73 20 77 69 | 74 68 69 6e 20 61 20 64 |trols wi|thin a d|
|00005020| 6f 63 75 6d 65 6e 74 20 | 61 6e 64 20 72 65 61 64 |ocument |and read|
|00005030| 69 6e 67 20 74 68 65 20 | 64 6f 63 75 6d 65 6e 74 |ing the |document|
|00005040| 20 61 6e 64 20 69 6e 73 | 74 61 6e 74 69 61 74 69 | and ins|tantiati|
|00005050| 6e 67 20 74 68 65 20 73 | 61 76 65 64 20 63 6f 6e |ng the s|aved con|
|00005060| 74 72 6f 6c 73 2e 20 53 | 69 6d 70 6c 65 43 6f 6e |trols. S|impleCon|
|00005070| 74 61 69 6e 65 72 20 61 | 6e 64 20 41 63 74 69 76 |tainer a|nd Activ|
|00005080| 65 58 41 70 70 20 69 6d | 70 6c 65 6d 65 6e 74 20 |eXApp im|plement |
|00005090| 73 61 76 69 6e 67 20 61 | 6e 64 20 6f 70 65 6e 69 |saving a|nd openi|
|000050a0| 6e 67 20 64 6f 63 75 6d | 65 6e 74 73 20 75 73 69 |ng docum|ents usi|
|000050b0| 6e 67 20 74 68 69 73 20 | 41 50 49 2e 0d 0d 41 58 |ng this |API...AX|
|000050c0| 45 72 72 6f 72 43 6f 64 | 65 20 41 58 5f 53 61 76 |ErrorCod|e AX_Sav|
|000050d0| 65 43 6f 6e 74 72 6f 6c | 28 41 58 52 65 66 49 44 |eControl|(AXRefID|
|000050e0| 20 69 6e 53 69 74 65 49 | 44 2c 20 48 61 6e 64 6c | inSiteI|D, Handl|
|000050f0| 65 20 2a 44 61 74 61 29 | 0d 0d 43 61 75 73 65 73 |e *Data)|..Causes|
|00005100| 20 74 68 65 20 63 6f 6e | 74 72 6f 6c 73 20 70 61 | the con|trols pa|
|00005110| 72 61 6d 65 74 65 72 73 | 20 74 6f 20 62 65 20 73 |rameters| to be s|
|00005120| 61 76 65 64 20 69 6e 74 | 6f 20 74 68 65 20 44 61 |aved int|o the Da|
|00005130| 74 61 20 68 61 6e 64 6c | 65 20 73 6f 20 74 68 65 |ta handl|e so the|
|00005140| 79 20 63 61 6e 20 62 65 | 20 77 72 69 74 74 65 6e |y can be| written|
|00005150| 20 74 6f 20 61 20 66 69 | 6c 65 2e 20 54 68 69 73 | to a fi|le. This|
|00005160| 20 69 73 20 61 63 63 6f | 6d 70 6c 69 73 68 65 64 | is acco|mplished|
|00005170| 20 62 79 20 63 61 6c 6c | 69 6e 67 20 74 68 65 20 | by call|ing the |
|00005180| 63 6f 6e 74 72 6f 6c 73 | 20 49 50 65 72 73 69 73 |controls| IPersis|
|00005190| 74 50 72 6f 70 65 72 74 | 79 42 61 67 3a 3a 53 61 |tPropert|yBag::Sa|
|000051a0| 76 65 20 66 75 6e 63 74 | 69 6f 6e 2c 20 74 68 65 |ve funct|ion, the|
|000051b0| 6e 20 63 6f 70 79 69 6e | 67 20 74 68 65 20 70 72 |n copyin|g the pr|
|000051c0| 6f 70 65 72 74 79 20 62 | 61 67 20 64 61 74 61 20 |operty b|ag data |
|000051d0| 74 6f 20 69 6e 74 6f 20 | 74 68 65 20 68 61 6e 64 |to into |the hand|
|000051e0| 6c 65 2e 20 46 6f 72 20 | 74 68 69 73 20 66 75 6e |le. For |this fun|
|000051f0| 63 74 69 6f 6e 20 74 6f | 20 77 6f 72 6b 2c 20 61 |ction to| work, a|
|00005200| 6c 6c 20 41 63 74 69 76 | 65 58 20 63 6f 6e 74 72 |ll Activ|eX contr|
|00005210| 6f 6c 73 20 6d 75 73 74 | 20 69 6d 70 6c 65 6d 65 |ols must| impleme|
|00005220| 6e 74 20 49 50 65 72 73 | 69 73 74 50 72 6f 70 65 |nt IPers|istPrope|
|00005230| 72 74 79 42 61 67 3a 3a | 53 61 76 65 2e 20 54 68 |rtyBag::|Save. Th|
|00005240| 65 20 62 61 73 65 20 63 | 6f 6e 74 72 6f 6c 20 68 |e base c|ontrol h|
|00005250| 61 73 20 62 65 65 6e 20 | 6d 6f 64 69 66 69 65 64 |as been |modified|
|00005260| 20 74 6f 20 64 61 76 65 | 20 74 68 65 20 68 65 69 | to dave| the hei|
|00005270| 67 68 74 2c 20 77 69 64 | 74 68 20 61 6e 64 20 69 |ght, wid|th and i|
|00005280| 64 20 70 61 72 61 6d 65 | 6e 74 65 72 20 62 75 74 |d parame|nter but|
|00005290| 20 74 68 65 20 63 6f 6e | 74 72 6f 6c 20 6d 75 73 | the con|trol mus|
|000052a0| 74 20 6f 76 65 72 72 69 | 64 65 20 53 61 76 65 20 |t overri|de Save |
|000052b0| 74 6f 20 68 61 6e 64 6c | 65 20 6f 74 68 65 72 20 |to handl|e other |
|000052c0| 63 6f 6e 74 72 6f 6c 20 | 73 70 65 63 69 66 69 63 |control |specific|
|000052d0| 20 70 61 72 61 6d 65 74 | 65 72 73 2e 20 54 68 65 | paramet|ers. The|
|000052e0| 20 63 6c 61 73 73 69 64 | 20 70 61 72 61 6d 65 74 | classid| paramet|
|000052f0| 65 72 20 6e 65 65 64 20 | 6e 6f 74 20 62 65 20 73 |er need |not be s|
|00005300| 61 76 65 64 20 61 73 20 | 41 58 5f 53 61 76 65 43 |aved as |AX_SaveC|
|00005310| 6f 6e 74 72 6f 6c 20 73 | 61 76 65 73 20 74 68 69 |ontrol s|aves thi|
|00005320| 73 20 69 74 73 65 6c 66 | 2e 0d 0d 41 58 45 72 72 |s itself|...AXErr|
|00005330| 6f 72 43 6f 64 65 20 41 | 58 5f 43 72 65 61 74 65 |orCode A|X_Create|
|00005340| 46 72 6f 6d 44 61 74 61 | 28 41 58 52 65 66 49 44 |FromData|(AXRefID|
|00005350| 20 69 6e 53 69 74 65 49 | 44 2c 20 48 61 6e 64 6c | inSiteI|D, Handl|
|00005360| 65 20 44 61 74 61 29 0d | 0d 41 58 5f 43 72 65 61 |e Data).|.AX_Crea|
|00005370| 74 65 46 72 6f 6d 44 61 | 74 61 20 69 6e 73 74 61 |teFromDa|ta insta|
|00005380| 6e 74 69 61 74 65 73 20 | 61 20 63 6f 6e 74 72 6f |ntiates |a contro|
|00005390| 6c 20 66 72 6f 6d 20 74 | 68 65 20 64 61 74 61 20 |l from t|he data |
|000053a0| 73 61 76 65 64 20 62 79 | 20 53 61 76 65 43 6f 6e |saved by| SaveCon|
|000053b0| 74 72 6f 6c 2e 20 55 73 | 69 6e 67 20 74 68 69 73 |trol. Us|ing this|
|000053c0| 20 66 75 6e 63 74 69 6f | 6e 20 74 6f 20 69 6e 73 | functio|n to ins|
|000053d0| 74 61 6e 74 69 61 74 65 | 20 61 20 63 6f 6e 74 72 |tantiate| a contr|
|000053e0| 6f 6c 20 69 73 20 76 65 | 72 79 20 73 74 72 61 69 |ol is ve|ry strai|
|000053f0| 67 68 74 20 66 6f 72 77 | 61 72 64 2e 20 52 65 61 |ght forw|ard. Rea|
|00005400| 6e 20 74 68 65 20 73 61 | 76 65 64 20 64 61 74 61 |n the sa|ved data|
|00005410| 20 69 6e 74 6f 20 61 20 | 68 61 6e 64 6c 65 2e 20 | into a |handle. |
|00005420| 43 72 65 61 74 65 20 61 | 20 73 69 74 65 20 77 69 |Create a| site wi|
|00005430| 74 68 20 65 69 74 68 65 | 72 20 41 58 5f 4e 65 77 |th eithe|r AX_New|
|00005440| 53 69 74 65 20 6f 72 20 | 41 58 5f 43 72 65 61 74 |Site or |AX_Creat|
|00005450| 65 53 69 74 65 2e 20 49 | 6e 73 74 61 6e 74 69 61 |eSite. I|nstantia|
|00005460| 74 65 20 74 68 65 20 63 | 6f 6e 74 72 6f 6c 20 77 |te the c|ontrol w|
|00005470| 69 74 68 20 43 72 65 61 | 74 65 46 72 6f 6d 44 61 |ith Crea|teFromDa|
|00005480| 74 61 2c 20 70 61 73 73 | 69 6e 67 20 69 6e 20 74 |ta, pass|ing in t|
|00005490| 68 65 20 73 69 74 65 49 | 44 20 61 6e 64 20 64 61 |he siteI|D and da|
|000054a0| 74 61 20 68 61 6e 64 6c | 65 2e 20 4c 61 73 74 2c |ta handl|e. Last,|
|000054b0| 20 63 61 6c 6c 20 41 58 | 5f 4c 6f 61 64 43 6f 6e | call AX|_LoadCon|
|000054c0| 74 72 6f 6c 20 74 6f 20 | 70 61 73 73 20 69 74 20 |trol to |pass it |
|000054d0| 61 6c 6c 20 74 68 65 20 | 73 61 76 65 64 20 70 61 |all the |saved pa|
|000054e0| 72 61 6d 65 74 65 72 73 | 2e 20 0d 0d 53 65 65 20 |rameters|. ..See |
|000054f0| 46 69 67 75 72 65 2e 63 | 20 69 6e 20 53 69 6d 70 |Figure.c| in Simp|
|00005500| 6c 65 43 6f 6e 74 61 69 | 6e 65 72 20 66 6f 72 20 |leContai|ner for |
|00005510| 73 61 6d 70 6c 65 20 63 | 6f 64 65 20 74 68 61 74 |sample c|ode that|
|00005520| 20 75 73 65 73 20 74 68 | 65 73 65 20 63 61 6c 6c | uses th|ese call|
|00005530| 73 2e 0d 0d 0d 42 69 6e | 64 54 6f 4f 62 6a 65 63 |s....Bin|dToObjec|
|00005540| 74 0d 0d 42 69 6e 64 54 | 6f 4f 62 6a 65 63 74 20 |t..BindT|oObject |
|00005550| 69 73 20 61 20 6d 65 63 | 68 61 6e 69 73 6d 20 6f |is a mec|hanism o|
|00005560| 66 20 55 52 4c 20 4d 6f | 6e 69 6b 65 72 20 74 6f |f URL Mo|niker to|
|00005570| 20 73 74 61 6e 64 61 72 | 64 69 7a 65 20 74 68 65 | standar|dize the|
|00005580| 20 69 6e 73 74 61 6e 74 | 69 61 74 69 6e 67 20 6f | instant|iating o|
|00005590| 66 20 61 20 43 4f 4d 20 | 6f 62 6a 65 63 74 20 74 |f a COM |object t|
|000055a0| 6f 20 76 69 65 77 20 64 | 61 74 61 2e 20 55 73 69 |o view d|ata. Usi|
|000055b0| 6e 67 20 74 68 69 73 20 | 6d 65 63 68 61 6e 69 73 |ng this |mechanis|
|000055c0| 6d 2c 20 74 68 65 20 61 | 70 70 72 6f 70 72 69 61 |m, the a|ppropria|
|000055d0| 74 65 20 43 4f 4d 20 6f | 62 6a 65 63 74 20 66 6f |te COM o|bject fo|
|000055e0| 72 20 61 20 55 52 4c 20 | 69 73 20 69 6e 73 74 61 |r a URL |is insta|
|000055f0| 6e 74 69 61 74 65 64 20 | 61 6e 64 20 74 68 65 20 |ntiated |and the |
|00005600| 55 52 4c 27 73 20 64 61 | 74 61 20 69 73 20 70 61 |URL's da|ta is pa|
|00005610| 73 73 65 64 20 74 6f 20 | 74 68 65 20 43 4f 4d 20 |ssed to |the COM |
|00005620| 6f 62 6a 65 63 74 20 66 | 6f 72 20 64 69 73 70 6c |object f|or displ|
|00005630| 61 79 2e 20 53 69 6d 70 | 6c 65 43 6f 6e 74 61 69 |ay. Simp|leContai|
|00005640| 6e 65 72 20 61 6e 64 20 | 50 69 63 74 50 6c 61 79 |ner and |PictPlay|
|00005650| 65 72 20 69 6d 70 6c 65 | 6d 65 6e 74 20 74 68 65 |er imple|ment the|
|00005660| 20 6e 65 63 65 73 73 61 | 72 79 20 41 50 49 20 61 | necessa|ry API a|
|00005670| 6e 64 20 6f 62 6a 65 63 | 74 73 20 6e 65 63 65 73 |nd objec|ts neces|
|00005680| 73 61 72 79 20 66 6f 72 | 20 74 68 69 73 20 74 6f |sary for| this to|
|00005690| 20 77 6f 72 6b 2e 20 4f | 6e 63 65 20 50 69 63 74 | work. O|nce Pict|
|000056a0| 50 6c 61 79 65 72 20 69 | 73 20 72 65 67 69 73 74 |Player i|s regist|
|000056b0| 65 72 65 64 20 6f 6e 20 | 79 6f 75 72 20 63 6f 6d |ered on |your com|
|000056c0| 70 75 74 65 72 2c 20 73 | 69 6d 70 6c 79 20 64 72 |puter, s|imply dr|
|000056d0| 6f 70 70 69 6e 67 20 61 | 20 50 49 43 54 20 66 69 |opping a| PICT fi|
|000056e0| 6c 65 20 6f 6e 20 61 20 | 53 69 6d 70 6c 65 43 6f |le on a |SimpleCo|
|000056f0| 6e 74 61 69 6e 65 72 20 | 77 69 6e 64 6f 77 20 77 |ntainer |window w|
|00005700| 69 6c 6c 20 63 61 75 73 | 65 20 50 69 63 74 50 6c |ill caus|e PictPl|
|00005710| 61 79 65 72 20 74 6f 20 | 62 65 20 69 6e 73 74 61 |ayer to |be insta|
|00005720| 6e 74 69 61 74 65 64 20 | 61 6e 64 20 74 68 65 20 |ntiated |and the |
|00005730| 50 49 43 54 20 64 69 73 | 70 6c 61 79 65 64 2e 0d |PICT dis|played..|
|00005740| 0d 41 58 45 72 72 6f 72 | 43 6f 64 65 20 41 58 5f |.AXError|Code AX_|
|00005750| 42 69 6e 64 54 6f 4f 62 | 6a 65 63 74 28 41 58 52 |BindToOb|ject(AXR|
|00005760| 65 66 49 44 20 69 6e 53 | 69 74 65 49 44 2c 20 63 |efID inS|iteID, c|
|00005770| 68 61 72 2a 20 69 6e 44 | 61 74 61 55 52 4c 29 0d |har* inD|ataURL).|
|00005780| 0d 43 72 65 61 74 65 20 | 61 20 73 69 74 65 20 61 |.Create |a site a|
|00005790| 6e 64 20 74 68 65 6e 20 | 63 61 6c 6c 20 41 58 5f |nd then |call AX_|
|000057a0| 42 69 6e 64 54 6f 4f 62 | 6a 65 63 74 20 77 69 74 |BindToOb|ject wit|
|000057b0| 68 20 74 68 65 20 73 69 | 74 65 49 44 20 61 6e 64 |h the si|teID and|
|000057c0| 20 55 52 4c 2e 20 54 68 | 65 20 77 69 6c 6c 20 62 | URL. Th|e will b|
|000057d0| 65 20 69 6e 73 74 61 6e | 74 69 61 74 65 64 20 61 |e instan|tiated a|
|000057e0| 6e 64 20 74 68 65 20 64 | 61 74 61 20 64 69 73 70 |nd the d|ata disp|
|000057f0| 6c 61 79 65 64 2e 20 0d | 0d 53 65 65 20 46 69 67 |layed. .|.See Fig|
|00005800| 75 72 65 2e 63 20 69 6e | 20 53 69 6d 70 6c 65 43 |ure.c in| SimpleC|
|00005810| 6f 6e 74 61 69 6e 65 72 | 20 66 6f 72 20 73 61 6d |ontainer| for sam|
|00005820| 70 6c 65 20 63 6f 64 65 | 20 74 68 61 74 20 75 73 |ple code| that us|
|00005830| 65 73 20 74 68 69 73 20 | 63 61 6c 6c 2e 00 00 00 |es this |call....|
|00005840| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005850| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005860| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005870| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005880| 00 00 01 00 00 00 0a 02 | 00 00 09 02 00 00 00 32 |........|.......2|
|00005890| 00 00 00 04 00 5d 00 00 | 00 02 07 00 00 01 28 31 |.....]..|......(1|
|000058a0| 00 07 00 00 00 04 07 00 | 00 01 28 56 00 10 00 00 |........|..(V....|
|000058b0| 11 44 52 33 20 52 65 6c | 65 61 73 65 20 4e 6f 74 |.DR3 Rel|ease Not|
|000058c0| 65 73 02 00 00 00 50 61 | 72 74 53 49 54 21 00 00 |es....Pa|rtSIT!..|
|000058d0| 00 00 50 61 72 74 53 49 | 54 21 00 00 00 00 00 00 |..PartSI|T!......|
|000058e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000058f0| 00 00 b0 56 8e 1e 00 00 | 00 00 00 00 0a 34 0f 3b |...V....|.....4.;|
|00005900| 00 05 00 00 00 05 07 00 | 00 03 19 90 00 0f 00 00 |........|........|
|00005910| 00 10 07 00 00 02 fa cc | 00 08 00 00 00 10 07 00 |........|........|
|00005920| 00 02 fa a9 00 05 00 00 | 00 10 07 00 00 02 9d 63 |........|.......c|
|00005930| 00 24 00 00 00 10 07 00 | 00 02 86 f9 00 03 00 00 |.$......|........|
|00005940| 00 10 07 00 00 02 66 8c | 00 13 00 00 00 11 07 00 |......f.|........|
|00005950| 00 02 6f 9f 00 07 00 00 | 00 05 07 00 00 01 a8 b0 |..o.....|........|
|00005960| 00 d0 00 00 00 01 07 00 | 00 01 a8 b0 00 d0 00 00 |........|........|
|00005970| 00 01 07 00 00 01 a8 b0 | 00 d0 00 00 00 01 07 00 |........|........|
|00005980| 00 00 08 fe 00 73 00 00 | 00 00 00 11 00 0c 00 03 |.....s..|........|
|00005990| 01 00 00 0e 00 00 00 00 | 00 00 00 00 00 1e 00 0f |........|........|
|000059a0| 00 0a 00 03 01 00 00 0c | 00 00 00 00 00 00 00 00 |........|........|
|000059b0| 00 1f 00 0d 00 0a 00 03 | 00 00 00 0a 00 00 00 00 |........|........|
|000059c0| 00 00 00 00 03 a6 00 0d | 00 09 00 03 05 00 00 0a |........|........|
|000059d0| 00 00 00 00 00 00 00 00 | 03 a7 00 0f 00 0a 00 03 |........|........|
|000059e0| 05 00 00 0c 00 00 00 00 | 00 00 00 00 03 b6 00 0d |........|........|
|000059f0| 00 0a 00 03 00 00 00 0a | 00 00 00 00 00 00 00 00 |........|........|
|00005a00| 08 2d 00 0f 00 0a 00 03 | 05 00 00 0c 00 00 00 00 |.-......|........|
|00005a10| 00 00 00 00 08 2e 00 0f | 00 0a 00 03 01 00 00 0c |........|........|
|00005a20| 00 00 00 00 00 00 00 00 | 08 2f 00 0f 00 0a 00 03 |........|./......|
|00005a30| 05 00 00 0c 00 00 00 00 | 00 00 00 00 08 68 00 0d |........|.....h..|
|00005a40| 00 09 00 03 01 00 00 0a | 00 00 00 00 00 00 00 00 |........|........|
|00005a50| 08 69 00 0d 00 0a 00 03 | 00 00 00 0a 00 00 00 00 |.i......|........|
|00005a60| 00 00 00 00 0b 8f 00 0d | 00 09 00 03 01 00 00 0a |........|........|
|00005a70| 00 00 00 00 00 00 00 00 | 0b a0 00 0d 00 0a 00 03 |........|........|
|00005a80| 00 00 00 0a 00 00 00 00 | 00 00 00 00 0b f5 00 0d |........|........|
|00005a90| 00 09 00 03 04 00 00 0a | 00 00 00 00 00 00 00 00 |........|........|
|00005aa0| 0b f6 00 0d 00 0a 00 03 | 00 00 00 0a 00 00 00 00 |........|........|
|00005ab0| 00 00 00 00 0d e4 00 0d | 00 09 00 03 01 00 00 0a |........|........|
|00005ac0| 00 00 00 00 00 00 00 00 | 0d f7 00 0d 00 0a 00 03 |........|........|
|00005ad0| 00 00 00 0a 00 00 00 00 | 00 00 00 00 0e 0b 00 0d |........|........|
|00005ae0| 00 09 00 03 01 00 00 0a | 00 00 00 00 00 00 00 00 |........|........|
|00005af0| 0e 0c 00 0d 00 09 00 03 | 05 00 00 0a 00 00 00 00 |........|........|
|00005b00| 00 00 00 00 0e 0d 00 0d | 00 0a 00 03 00 00 00 0a |........|........|
|00005b10| 00 00 00 00 00 00 00 00 | 0f 26 00 0d 00 09 00 03 |........|.&......|
|00005b20| 05 00 00 0a 00 00 00 00 | 00 00 00 00 0f 29 00 0d |........|.....)..|
|00005b30| 00 0a 00 03 00 00 00 0a | 00 00 00 00 00 00 00 00 |........|........|
|00005b40| 0f 35 00 0d 00 09 00 03 | 01 00 00 0a 00 00 00 00 |.5......|........|
|00005b50| 00 00 00 00 0f 3f 00 0d | 00 0a 00 03 00 00 00 0a |.....?..|........|
|00005b60| 00 00 00 00 00 00 00 00 | 0f c9 00 0d 00 09 00 03 |........|........|
|00005b70| 04 00 00 0a 00 00 00 00 | 00 00 00 00 0f ca 00 0d |........|........|
|00005b80| 00 0a 00 03 00 00 00 0a | 00 00 00 00 00 00 00 00 |........|........|
|00005b90| 11 c5 00 0d 00 09 00 03 | 01 00 00 0a 00 00 00 00 |........|........|
|00005ba0| 00 00 00 00 11 d5 00 0d | 00 0a 00 03 00 00 00 0a |........|........|
|00005bb0| 00 00 00 00 00 00 00 00 | 11 f2 00 0d 00 09 00 03 |........|........|
|00005bc0| 04 00 00 0a 00 00 00 00 | 00 00 00 00 11 f3 00 0d |........|........|
|00005bd0| 00 0a 00 03 00 00 00 0a | 00 00 00 00 00 00 00 00 |........|........|
|00005be0| 14 b4 00 0f 00 0a 00 03 | 05 00 00 0c 00 00 00 00 |........|........|
|00005bf0| 00 00 00 00 14 d2 00 0d | 00 0a 00 03 00 00 00 0a |........|........|
|00005c00| 00 00 00 00 00 00 00 00 | 17 a8 00 0f 00 0a 00 03 |........|........|
|00005c10| 05 00 00 0c 00 00 00 00 | 00 00 00 00 17 a9 00 0d |........|........|
|00005c20| 00 09 00 03 05 00 00 0a | 00 00 00 00 00 00 00 00 |........|........|
|00005c30| 17 aa 00 0d 00 09 00 03 | 01 00 00 0a 00 00 00 00 |........|........|
|00005c40| 00 00 00 00 17 ab 00 0f | 00 0a 00 03 05 00 00 0c |........|........|
|00005c50| 00 00 00 00 00 00 00 00 | 17 c2 00 0d 00 09 00 03 |........|........|
|00005c60| 05 00 00 0a 00 00 00 00 | 00 00 00 00 17 c3 00 0d |........|........|
|00005c70| 00 0a 00 03 00 00 00 0a | 00 00 00 00 00 00 00 00 |........|........|
|00005c80| 1c a5 00 0d 00 09 00 03 | 01 00 00 0a 00 00 00 00 |........|........|
|00005c90| 00 00 00 00 1c b6 00 0d | 00 0a 00 03 00 00 00 0a |........|........|
|00005ca0| 00 00 00 00 00 00 00 00 | 1d 0a 00 0d 00 09 00 03 |........|........|
|00005cb0| 04 00 00 0a 00 00 00 00 | 00 00 00 00 1d 0b 00 0d |........|........|
|00005cc0| 00 0a 00 03 00 00 00 0a | 00 00 00 00 00 00 00 00 |........|........|
|00005cd0| 1e 91 00 0d 00 09 00 03 | 04 00 00 0a 00 00 00 00 |........|........|
|00005ce0| 00 00 00 00 1e 92 00 0d | 00 0a 00 03 00 00 00 0a |........|........|
|00005cf0| 00 00 00 00 00 00 00 00 | 1e 9f 00 0d 00 09 00 03 |........|........|
|00005d00| 01 00 00 0a 00 00 00 00 | 00 00 00 00 1e b1 00 0d |........|........|
|00005d10| 00 0a 00 03 00 00 00 0a | 00 00 00 00 00 00 00 00 |........|........|
|00005d20| 1e c5 00 0d 00 09 00 03 | 04 00 00 0a 00 00 00 00 |........|........|
|00005d30| 00 00 00 00 1e c6 00 0d | 00 0a 00 03 00 00 00 0a |........|........|
|00005d40| 00 00 00 00 00 00 00 00 | 1f 6e 00 0d 00 09 00 03 |........|.n......|
|00005d50| 04 00 00 0a 00 00 00 00 | 00 00 00 00 1f 71 00 0d |........|.....q..|
|00005d60| 00 0a 00 03 00 00 00 0a | 00 00 00 00 00 00 00 00 |........|........|
|00005d70| 1f d4 00 0d 00 09 00 03 | 01 00 00 0a 00 00 00 00 |........|........|
|00005d80| 00 00 00 00 1f e1 00 0d | 00 0a 00 03 00 00 00 0a |........|........|
|00005d90| 00 00 00 00 00 00 00 00 | 20 1c 00 0d 00 09 00 03 |........| .......|
|00005da0| 04 00 00 0a 00 00 00 00 | 00 00 00 00 20 1d 00 0d |........|.... ...|
|00005db0| 00 0a 00 03 00 00 00 0a | 00 00 00 00 00 00 00 00 |........|........|
|00005dc0| 21 78 00 0d 00 09 00 03 | 04 00 00 0a 00 00 00 00 |!x......|........|
|00005dd0| 00 00 00 00 21 79 00 0d | 00 0a 00 03 00 00 00 0a |....!y..|........|
|00005de0| 00 00 00 00 00 00 00 00 | 21 85 00 0d 00 09 00 03 |........|!.......|
|00005df0| 01 00 00 0a 00 00 00 00 | 00 00 00 00 21 93 00 0d |........|....!...|
|00005e00| 00 0a 00 03 00 00 00 0a | 00 00 00 00 00 00 00 00 |........|........|
|00005e10| 22 0a 00 0d 00 09 00 03 | 04 00 00 0a 00 00 00 00 |".......|........|
|00005e20| 00 00 00 00 22 0b 00 0d | 00 0a 00 03 00 00 00 0a |...."...|........|
|00005e30| 00 00 00 00 00 00 00 00 | 25 35 00 0d 00 09 00 03 |........|%5......|
|00005e40| 04 00 00 0a 00 00 00 00 | 00 00 00 00 25 36 00 0d |........|....%6..|
|00005e50| 00 0a 00 03 00 00 00 0a | 00 00 00 00 00 00 00 00 |........|........|
|00005e60| 25 42 00 0d 00 09 00 03 | 01 00 00 0a 00 00 00 00 |%B......|........|
|00005e70| 00 00 00 00 25 53 00 0d | 00 0a 00 03 00 00 00 0a |....%S..|........|
|00005e80| 00 00 00 00 00 00 00 00 | 25 9a 00 0d 00 09 00 03 |........|%.......|
|00005e90| 04 00 00 0a 00 00 00 00 | 00 00 00 00 25 9b 00 0d |........|....%...|
|00005ea0| 00 0a 00 03 00 00 00 0a | 00 00 00 00 00 00 00 00 |........|........|
|00005eb0| 25 c5 00 0d 00 09 00 03 | 04 00 00 0a 00 00 00 00 |%.......|........|
|00005ec0| 00 00 00 00 25 c6 00 0d | 00 0a 00 03 00 00 00 0a |....%...|........|
|00005ed0| 00 00 00 00 00 00 00 00 | 2b dd 00 0f 00 0a 00 03 |........|+.......|
|00005ee0| 05 00 00 0c 00 00 00 00 | 00 00 00 00 2b f3 00 0f |........|....+...|
|00005ef0| 00 0a 00 03 01 00 00 0c | 00 00 00 00 00 00 00 00 |........|........|
|00005f00| 2b f4 00 0d 00 09 00 03 | 01 00 00 0a 00 00 00 00 |+.......|........|
|00005f10| 00 00 00 00 2b f5 00 0d | 00 0a 00 03 00 00 00 0a |....+...|........|
|00005f20| 00 00 00 00 00 00 00 00 | 30 60 00 0d 00 09 00 03 |........|0`......|
|00005f30| 01 00 00 0a 00 00 00 00 | 00 00 00 00 30 71 00 0d |........|....0q..|
|00005f40| 00 0a 00 03 00 00 00 0a | 00 00 00 00 00 00 00 00 |........|........|
|00005f50| 30 ac 00 0d 00 09 00 03 | 04 00 00 0a 00 00 00 00 |0.......|........|
|00005f60| 00 00 00 00 30 ad 00 0d | 00 0a 00 03 00 00 00 0a |....0...|........|
|00005f70| 00 00 00 00 00 00 00 00 | 33 53 00 0d 00 09 00 03 |........|3S......|
|00005f80| 01 00 00 0a 00 00 00 00 | 00 00 00 00 33 6a 00 0d |........|....3j..|
|00005f90| 00 0a 00 03 00 00 00 0a | 00 00 00 00 00 00 00 00 |........|........|
|00005fa0| 3c 30 00 0d 00 09 00 03 | 05 00 00 0a 00 00 00 00 |<0......|........|
|00005fb0| 00 00 00 00 3c 31 00 0d | 00 09 00 03 01 00 00 0a |....<1..|........|
|00005fc0| 00 00 00 00 00 00 00 00 | 3c 33 00 0f 00 0a 00 03 |........|<3......|
|00005fd0| 05 00 00 0c 00 00 00 00 | 00 00 00 00 3c 45 00 0d |........|....<E..|
|00005fe0| 00 09 00 03 01 00 00 0a | 00 00 00 00 00 00 00 00 |........|........|
|00005ff0| 3c 46 00 0d 00 0a 00 03 | 00 00 00 0a 00 00 00 00 |<F......|........|
|00006000| 00 00 00 00 44 ba 00 0f | 00 0a 00 03 05 00 00 0c |....D...|........|
|00006010| 00 00 00 00 00 00 00 00 | 44 d0 00 0d 00 0a 00 03 |........|D.......|
|00006020| 00 00 00 0a 00 00 00 00 | 00 00 00 00 46 85 00 0d |........|....F...|
|00006030| 00 09 00 03 01 00 00 0a | 00 00 00 00 00 00 00 00 |........|........|
|00006040| 46 8f 00 0d 00 0a 00 03 | 00 00 00 0a 00 00 00 00 |F.......|........|
|00006050| 00 00 00 00 47 a6 00 0d | 00 09 00 03 01 00 00 0a |....G...|........|
|00006060| 00 00 00 00 00 00 00 00 | 47 b0 00 0d 00 0a 00 03 |........|G.......|
|00006070| 00 00 00 0a 00 00 00 00 | 00 00 00 00 48 e6 00 0d |........|....H...|
|00006080| 00 09 00 03 01 00 00 0a | 00 00 00 00 00 00 00 00 |........|........|
|00006090| 48 fc 00 0d 00 0a 00 03 | 00 00 00 0a 00 00 00 00 |H.......|........|
|000060a0| 00 00 00 00 4a 4c 00 0d | 00 09 00 03 01 00 00 0a |....JL..|........|
|000060b0| 00 00 00 00 00 00 00 00 | 4a 5f 00 0d 00 0a 00 03 |........|J_......|
|000060c0| 00 00 00 0a 00 00 00 00 | 00 00 00 00 4b 25 00 0d |........|....K%..|
|000060d0| 00 09 00 03 01 00 00 0a | 00 00 00 00 00 00 00 00 |........|........|
|000060e0| 4b 3d 00 0d 00 0a 00 03 | 00 00 00 0a 00 00 00 00 |K=......|........|
|000060f0| 00 00 00 00 4d 95 00 0d | 00 09 00 03 01 00 00 0a |....M...|........|
|00006100| 00 00 00 00 00 00 00 00 | 4d a3 00 0d 00 0a 00 03 |........|M.......|
|00006110| 00 00 00 0a 00 00 00 00 | 00 00 00 00 4d e9 00 0d |........|....M...|
|00006120| 00 09 00 03 01 00 00 0a | 00 00 00 00 00 00 00 00 |........|........|
|00006130| 4d fa 00 0d 00 0a 00 03 | 00 00 00 0a 00 00 00 00 |M.......|........|
|00006140| 00 00 00 00 4e 3c 00 0d | 00 09 00 03 01 00 00 0a |....N<..|........|
|00006150| 00 00 00 00 00 00 00 00 | 4e 49 00 0d 00 0a 00 03 |........|NI......|
|00006160| 00 00 00 0a 00 00 00 00 | 00 00 00 00 4f 47 00 0f |........|....OG..|
|00006170| 00 0a 00 03 05 00 00 0c | 00 00 00 00 00 00 00 00 |........|........|
|00006180| 4f 63 00 0d 00 0a 00 03 | 00 00 00 0a 00 00 00 00 |Oc......|........|
|00006190| 00 00 00 00 50 4a 00 0d | 00 09 00 03 01 00 00 0a |....PJ..|........|
|000061a0| 00 00 00 00 00 00 00 00 | 50 4c 00 0d 00 0a 00 03 |........|PL......|
|000061b0| 00 00 00 0a 00 00 00 00 | 00 00 00 00 50 4d 00 0d |........|....PM..|
|000061c0| 00 09 00 03 01 00 00 0a | 00 00 00 00 00 00 00 00 |........|........|
|000061d0| 50 58 00 0d 00 0a 00 03 | 00 00 00 0a 00 00 00 00 |PX......|........|
|000061e0| 00 00 00 00 52 b7 00 0d | 00 09 00 03 01 00 00 0a |....R...|........|
|000061f0| 00 00 00 00 00 00 00 00 | 52 b9 00 0d 00 0a 00 03 |........|R.......|
|00006200| 00 00 00 0a 00 00 00 00 | 00 00 00 00 52 ba 00 0d |........|....R...|
|00006210| 00 09 00 03 01 00 00 0a | 00 00 00 00 00 00 00 00 |........|........|
|00006220| 52 c8 00 0d 00 0a 00 03 | 00 00 00 0a 00 00 00 00 |R.......|........|
|00006230| 00 00 00 00 54 b5 00 0f | 00 0a 00 03 05 00 00 0c |....T...|........|
|00006240| 00 00 00 00 00 00 00 00 | 54 c3 00 0d 00 0a 00 03 |........|T.......|
|00006250| 00 00 00 0a 00 00 00 00 | 00 00 00 00 56 cd 00 0d |........|....V...|
|00006260| 00 09 00 03 01 00 00 0a | 00 00 00 00 00 00 00 00 |........|........|
|00006270| 56 dc 00 0d 00 0a 00 03 | 00 00 00 0a 00 00 00 00 |V.......|........|
|00006280| 00 00 00 00 01 00 00 00 | 0a 02 00 00 09 02 00 00 |........|........|
|00006290| 00 32 03 d6 95 b8 1c a6 | 00 00 00 1c 00 32 00 00 |.2......|.....2..|
|000062a0| 73 74 79 6c 00 00 00 0a | 00 80 ff ff 00 00 00 00 |styl....|........|
|000062b0| 03 d6 97 7c 00 00 00 00 | 00 00 00 00 00 00 00 00 |...|....|........|
|000062c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000062d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000062e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000062f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
+--------+-------------------------+-------------------------+--------+--------+