When I hook WriteFile() api in dll, Word appear error message and exit

V

Vic.Dong

Hello:

I make a dll and inject into word process by registry, that dll hooked
WriteFile() api but it do nothing in mine_writefile() api.
When my hook dll attached word process as word starting, word appears error
message and exit.

Why does word process appear error and exit when my dll attached process?
That mine_writefile() funcation in dll is do nothing only direcly pass
through.



B.R.


Vic
 
C

Chuck Henrich

It sounds like you're trying to get a COM add in to connect with Word and
having problems, yes? You should try searching the newsgroups that relate to
the programming language you're using (VB / VB.Net /Cx etc). For best
results use http://groups.google.com and search through the
microsoft.public.* groups - that way you'll get all archived as well as
current posts.

If after searching those groups you don't find any messages that relate to
your problem, you should post a question that explains the specific lines of
your code that aren't working and the exact error messages you are receiving.
Otherwise people won't be able to help you.
--
Chuck Henrich
http://www.ProductivityApps.com

Stylist Style Generator - easily create and define paragraph styles,
automatically generate numbering and heading styles : Version 3 out now -
improved performance, enhanced features, bug fixes.
http://www.productivityapps.com/stylist_style_generator.html
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top