GIDForums  

Go Back   GIDForums > Computer Programming Forums > MS Visual C++ / MFC Forum
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

 
 
Thread Tools Search this Thread Rate Thread
  #1  
Old 03-Jan-2005, 20:09
Arthur M Arthur M is offline
New Member
 
Join Date: Jan 2005
Posts: 1
Arthur M is on a distinguished road

Microsoft Word Event handling help...


I am trying to capture events from a running instance of Microsoft Word. If I could do this using MFC libraries, this would be a walk in the park. However, I HAVE to do this using straight C++ without the help of MFC libraries what-so-ever.

I have done a lot of reading on this topic and have tried to implement this event handling in a VC++ console application. I understand that you need to have event sinks to handle these events and that the COM object has to support the interface that the client application is exposing. The problem I have, is that in all the examples I have found on the web, the developers have created their own COM object and have a client that talks to that. What I haven't been able to find, is a straight forward example of how to make a connection to any of the Microsoft Office applications using the Adise method. Every time I try it, it fails.

Could anyone help me out here? I just need a basic explanation of how to set up this connection, or better yet, some very basic source on how to do this.

Any help would be massively appreciated!
 
 

Recent GIDBlogToyota - 2008 August Promotion by Nihal

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
won't read file from disk, dunno why wbsquared03 C++ Forum 3 29-Nov-2004 11:19
testing word file "need help" alexandro C Programming Language 2 03-Jun-2004 14:38
coding a word with a givin factor funnyf C++ Forum 2 13-Jan-2004 08:32
CSS and handling LOOONG words.. how? JdS Web Design Forum 5 08-Aug-2003 10:51
Microsoft users warned of serious flaw jrobbio Computer Software Forum - Windows 3 25-Mar-2003 08:52

Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The

All times are GMT -6. The time now is 04:52.


vBulletin, Copyright © 2000 - 2008, Jelsoft Enterprises Ltd.