Windows Script Host Error 0x800700C1 Code 800700C1

0

I was reading chapter 20 "Automation" of the book by Jeff Prosise "Programming Windows with MFC", 2nd ed. There are instructions on how to create a small automation server with methods long Add(long, long), long Subtract(long, long), and a property double Pi. There's also a script in VBScript to test that server. When I ran that script the message box with error 0x800700c1 was shown.

c++
vbscript
mfc
wsh
ole-automation
asked on Stack Overflow Jun 14, 2014 by user1257 • edited Jun 14, 2014 by user1257

1 Answer

0

The problem was with the file \Documents in my system drive (where Windows is installed). The automation server was in one of \Documents and Settings subfolders of the same drive. After deleting \Documents file everything ran fine. I currently don't know which application created that file.

answered on Stack Overflow Jun 14, 2014 by user1257

User contributions licensed under CC BY-SA 3.0