home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / smart21b.zip / SMARTAUX / MEL / MEL.DOC next >
Text File  |  1995-09-20  |  4KB  |  94 lines

  1.                                  All About MEL
  2.  
  3.                    The use of MEL (Migration Export Library)
  4.                       in estimating porting effort to OS/2.
  5.  
  6.  
  7.                               By Mark Bosakowski
  8.  
  9.  
  10. Abstract
  11.  
  12. A new set of extensions to the base OS/2 Warp toolkit called the DAPIE API
  13. library has been developed by IBM to assist software developers when porting
  14. software from Microsoft Windows to OS/2 Warp.  DAPIE (Developer API Extensions)
  15. is an OS/2 Warp library that provides direct emulation of over 800 Windows
  16. API's and can greatly reduce the overall porting effort.
  17.  
  18.  
  19. To compliment DAPIE, a library named MEL (Migration Export Library) has been
  20. developed that will help the Windows developer in the analysis stage of the
  21. porting process.  MEL will help decide if a DAPIE based porting strategy is
  22. appropriate by isolating the Windows API's that are not supported by DAPIE in
  23. their codebase.  MEL accomplishes this task in the Windows development
  24. environment, thus providing a quick and accurate breakdown of the DAPIE and
  25. non-DAPIE API's in the application.
  26.  
  27.  
  28. The information generated by MEL provides the raw data required to accurately
  29. estimate the size and scope of porting DAPIE and non-DAPIE Windows code to OS/2
  30. Warp.
  31.  
  32.  
  33.  
  34. The MEL Library
  35.  
  36. MEL is a Windows library whose sole purpose is to help the Windows developer
  37. determine how much of their codebase will not be supported in a porting effort
  38. when using the DAPIE library.   MEL would not be used in an actual porting
  39. effort or in the OS/2 development or runtime environment.   The primary use
  40. of MEL is as a tool to quickly identify the Windows API's that would not be
  41. supported in a DAPIE based porting strategy.  Because MEL works in the Windows
  42. environment, there is no need to install OS/2, or the OS/2 development tools.
  43.  
  44.  
  45. How MEL Works
  46.  
  47. In layman's terms, the MEL library is a facade.  In a Windows development
  48. environment, MEL looks, compiles and links like the Windows libraries.
  49. Because the MEL library only includes the DAPIE supported Windows API's,  a
  50. program compiled and linked with MEL will never link or run.  However, an
  51. artifact of the linking process,  a list of unresolved Windows API's will be
  52. generated by the linker.   The list of unresolved Windows API's is by
  53. definition the "non-DAPIE" API set.
  54.  
  55.  
  56.  
  57. Using MEL to Determine a Porting Strategy
  58.  
  59. MEL is only useful in the first stage of the software porting process, which
  60. is to determine the best porting strategy to pursue.  DAPIE is a new and unique
  61. strategy for porting to OS/2 Warp, and one that is best suited for applications
  62. that have a high percentage of Windows API's that are directly supported in
  63. the DAPIE library .  To determine if  DAPIE is an appropriate porting strategy,
  64. the developer needs to know how much of their codebase will be supported by
  65. the DAPIE library in the OS/2 Warp environment.
  66.  
  67.  
  68.                                  All About MEL
  69.  
  70.  
  71.  
  72. The DAPIE decision process is outlined below.
  73.  
  74.     - Compile and link Windows source code with the MEL library
  75.           and header files.
  76.     - Organize the list of Windows API's that were not resolved
  77.           by the linker.
  78.     - Sort the list by the frequency of calls to each API.
  79.     
  80. With further analysis of this list (The Windows non-DAPIE  API's), one can
  81. determine if the remaining porting effort will be easy, difficult or in some
  82. cases, impossible.
  83.  
  84. This list of API's can then be used with other porting tools, such as the
  85. analysis reporting tool in the SMART Toolset, to determine the porting effort
  86. required.
  87.  
  88.  
  89. Where can I Obtain MEL?
  90.  
  91. MEL is available on the internet World Wide Web Home page
  92. www://os2.migration.ibm.com, or can be obtained from the Migration
  93. Assitance Team at (407) 443-7700.
  94.