Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

86 lines
3.3 KiB

  1. This file contains information about:
  2. - working with the Phone Book Administrator (pbadmin.exe)
  3. - packaging this into the PBA install package (pbainst.exe)
  4. Working With the Phone Book Administrator
  5. -----------------------------------------
  6. This is a VB application. To edit this, it is best to copy the sources over to another
  7. directory, then edit the VB project using Visual Basic (the current version used is VB6).
  8. The sources to copy are (a) buildit\sources0\pbserver.mdb, (b) buildit\sources1\empty_pb.mdb,
  9. and (c) the 'source' subdirectory itself (rest of the files). When done with editing,
  10. compare the files with the originals, check out the ones that have changed and
  11. check in the updated files. You must also use Visual Basic to generate PBADMIN.exe,
  12. which is checked in separately, see below.
  13. Changing resource strings
  14. -------------------------
  15. This one is special :-) Most of the string resources used by PBA are in a .res file,
  16. pbadmin.res. Look for the string you need to change - if it is actually in a form you
  17. can just make the changes using VB6 (as above).
  18. Otherwise, check out pba_res.rc for editing and make the changes needed. See if your
  19. razzle window has a variable named INCLUDE, with the Windows header files on it. If not:
  20. > set INCLUDE=%_NTDRIVE%%_NTROOT%\public\sdk\inc
  21. Now build the new .res file:
  22. > nmake pba_res.res
  23. Now check out pbadmin.res, and copy pba_res.res to pbadmin.res. Using the new .res
  24. file, start up VB6, generate PBADMIN.exe as above, and check in all the changes.
  25. Localization
  26. ------------
  27. In the interest of even more job security, PBA contains hardcoded country lists
  28. in both country.txt and empty_pdb.mdb. The mdb is in an old format and can only
  29. be edited using Access 7.0.
  30. Install Locations
  31. -----------------
  32. Access 7.0
  33. \\products\public\Boneyard\us\relapps\ACCESS70.95\Netsetup\Setup.exe
  34. Visual Basic 6.0
  35. \\products\public\products\Developers\Visual_Basic_6.0\Professional\Disk1\setup.exe
  36. Creating the PBA install package
  37. --------------------------------
  38. To build this, you need several support files (which probably will not change),
  39. as well as the PBADMIN.exe you've created above. The required common files are
  40. checked in under the 'buildit' subdirectory. Under buildit, 'sources0' contains
  41. "external" support files and 'sources1' contains other ("internal") support files.
  42. PBAINST.exe is automatically built during the PostBuild process, using the script
  43. %_NTBINDIR%\tools\PostBuildScripts\PbaInst.cmd. In preparation for this, during
  44. the compile phase any required files must be binplace'd to %_NTTREE%\PbaInst as
  45. needed. Once built, PBAINST.exe is placed in Valueadd\Msft\Mgmt\Pba.
  46. Directory Structure
  47. -------------------
  48. \pba
  49. - contains 00README.txt (this file)
  50. - contains PBAINST.ex (which gets binplaced into %_NTTREE%\PbaInst)
  51. - contains README.HTM (which gets binplaced into %_NTTREE%\PbaInst)
  52. \pba\source
  53. - contains VB project for pbadmin
  54. \pba\buildit
  55. - contains .SED file needed to build PBAINST.exe
  56. \pba\buildit\sources0
  57. - "external" support files (which get binplaced into %_NTTREE%\PbaInst\Sources0)
  58. \pba\buildit\sources1
  59. - "internal" support files (which get binplaced into %_NTTREE%\PbaInst\Sources1)