ebmDevMag.com home
ebm Developer's Magazine
links

developer's mag
main page

article
part 1
part 2
part 3
part 4
part 5
part 6
part 7


6 - Testing Your MMC Code

Testing MMC access is easier than regular file access. More than likely, to work with ordinary files you've had to make an entry to your initial.mom file like this:

  object PankhurstAlgorithmics rtf3 pai PankhurstAlgorithmics!rtf3!pai 

In this case, I have a file called PankhurstAlgorithmics!rtf3!pai - the three parts, separated by spaces are listed, followed by the full file name (note that PankhurstAlgorithmics is all one word because extra spaces cause problems in the entry).

While not a real difficulty, it does mean that a modification to initial.mom is required for each file tested. In contrast, testing MMC files requires no file-by-file adjustments. From your program's directory, create a directory 'mmc', and a subdirectory below that of 'virtual'. Place your MMC files there, in SEB format only; your program now will see them via ebo_next_xobject().

Previous Section
Next Section

Copyright © 2001-2006 ebmDevMag.com - Legal Notice