Second instance of Word - Not SDI and Application Error

M

Mark

Hi,
I have recently migrated a series of templates from Word
97 to Word 2000 (SR-1) and have run into a problem. If
Word is open and I add a document via template a second
instance of Word is created which did not occur with Word
97. This isn't SDI, because 'Task Manager' shows two
separate instances of WINWORD.EXE on the 'Processes' tab.
The second instance of Word is occupying about 50% more
memory than the first instance. If I use the second
instance of Word and then close the application everything
works fine. But when I close the first instance of Word I
get the following application error:

The instruction at "0x3097a3c0" referenced memory
at "0x00000036". The memory could not be "read".
Click on OK to terminate the program
Click on CANCEL to debug the program

If I click on OK, the program closes without a problem. If
I click on CANCEL, a Dr. Watson error flashes on the
screen then disappears followed by a 'Program Error' which
states:

WINWORD.exe has generated errors and will be
closed by Windows. You will need to restart the program.
An error log is being created.

If I don't use the second instance of Word, I can close
both instances of the application without any errors. Does
anyone know how I can prevent the second instance of Word?
I am using Windows 2000 Service Pack 4, Word 2000 SR1,
Adobe 6, and Symantec AntiVirus 8.1.1.314.My templates are
an add-in. Any help would be greatly appreciated. Thanks!

Mark
 
B

Beth Melton

Hi Mark,

Do the templates contain macros?

If they do and they instantiate a new session of Word then that could be causing another instance of Word and the underlying cause of the issue.

What happens if you create a new document based on one of the built-in templates?

Also, how are you creating the new document? Are you using File/New?

~~~~~~~~~~~~~~
Beth Melton
Microsoft Office MVP
 
M

Mark

Hi Beth,
Yes, the templates contain macros, but none start a
session of Word. Creation odf documents based upon
templates is either done using a command bar button or by
double-clicking on the file name. Creating a single
document works correctly, but passing variables between
documents may be causing a problem.
Mark
-----Original Message-----
Hi Mark,

Do the templates contain macros?

If they do and they instantiate a new session of Word
then that could be causing another instance of Word and
the underlying cause of the issue.
 
Top