home *** CD-ROM | disk | FTP | other *** search
/ Programmer 7500 / MAX_PROGRAMMERS.iso / VISUAL_B / PROGRAMS / EM_EDIT / SAMPLES.ZIP / OWL / EMEDTAPP.DEF < prev    next >
Encoding:
Text File  |  1994-04-11  |  1.7 KB  |  41 lines

  1. ;------------------------------------------------
  2. ;   Main emedit
  3. ;   Early Morning Software
  4. ;   Copyright ⌐ 1994. All Rights Reserved.
  5. ;
  6. ;   SUBSYSTEM:    emedit.exe Module Defintion File
  7. ;   FILE:         emedtapp.def
  8. ;   AUTHOR:       Ted Stockwell
  9. ;
  10. ;------------------------------------------------
  11.  
  12.  
  13. ; I discovered a bug (I'm pretty sure it's a bug) in BIVBX.DLL.
  14. ; The bug is this : if I change the NAME entry below to emedit
  15. ; instead of empad then later on BIVBX.DLL will refuse to load
  16. ; EMEDIT.VBX when VBXCreate is called.  I suppose it's gets confused
  17. ; by the similar task name.  However, it shouldn't be confusing the task EMEDIT
  18. ; (emedit.exe) with the module EMEDIT(emedit.vbx) since they're not the same
  19. ; thing and the Windows API distinquishes between the two.  With Visual Basic I
  20. ; can create a task with a name of EMEDIT and that task can use EMEDIT.VBX (a
  21. ; task called EMEDIT actually shows up on the TASK list and a module called
  22. ; EMEDIT shows up on the module list) so I suspect the problem is with
  23. ; BIVBX.DLL.  If I was more creative then I wouldn't be using the
  24. ; same name for both the VBX and the sample app and then I wouldn't
  25. ; have these problems.  It took four days of my free time to figure
  26. ; this out.
  27.  
  28. NAME empad
  29.  
  30. DESCRIPTION 'Early Morning Editor Sample Application - Copyright ⌐ 1994. All Rights Reserved.'
  31. EXETYPE     WINDOWS
  32. CODE        PRELOAD MOVEABLE DISCARDABLE
  33. DATA        PRELOAD MOVEABLE MULTIPLE
  34. HEAPSIZE    4096
  35.  
  36. ; I use a stack size of 20K because that's how much VB uses.
  37. ; The examples in the Borland Visual Solution Pack use 16K as a rule.
  38. ; I started with 4K and that wasn't quite enough.
  39. STACKSIZE   20480
  40.  
  41.