home *** CD-ROM | disk | FTP | other *** search
- ;------------------------------------------------
- ; Main emedit
- ; Early Morning Software
- ; Copyright ⌐ 1994. All Rights Reserved.
- ;
- ; SUBSYSTEM: emedit.exe Module Defintion File
- ; FILE: emedtapp.def
- ; AUTHOR: Ted Stockwell
- ;
- ;------------------------------------------------
-
-
- ; I discovered a bug (I'm pretty sure it's a bug) in BIVBX.DLL.
- ; The bug is this : if I change the NAME entry below to emedit
- ; instead of empad then later on BIVBX.DLL will refuse to load
- ; EMEDIT.VBX when VBXCreate is called. I suppose it's gets confused
- ; by the similar task name. However, it shouldn't be confusing the task EMEDIT
- ; (emedit.exe) with the module EMEDIT(emedit.vbx) since they're not the same
- ; thing and the Windows API distinquishes between the two. With Visual Basic I
- ; can create a task with a name of EMEDIT and that task can use EMEDIT.VBX (a
- ; task called EMEDIT actually shows up on the TASK list and a module called
- ; EMEDIT shows up on the module list) so I suspect the problem is with
- ; BIVBX.DLL. If I was more creative then I wouldn't be using the
- ; same name for both the VBX and the sample app and then I wouldn't
- ; have these problems. It took four days of my free time to figure
- ; this out.
-
- NAME empad
-
- DESCRIPTION 'Early Morning Editor Sample Application - Copyright ⌐ 1994. All Rights Reserved.'
- EXETYPE WINDOWS
- CODE PRELOAD MOVEABLE DISCARDABLE
- DATA PRELOAD MOVEABLE MULTIPLE
- HEAPSIZE 4096
-
- ; I use a stack size of 20K because that's how much VB uses.
- ; The examples in the Borland Visual Solution Pack use 16K as a rule.
- ; I started with 4K and that wasn't quite enough.
- STACKSIZE 20480
-
-