Message from external app should: Open document and goto line #
-
I would like to have an external application supply VC++ with a filename and line number (when a user double-clicks in a window in the external app), and have VC++ open the file and go to the file number. Any ideas about how I might send that information and get VC++ to respond to it?
-
I would like to have an external application supply VC++ with a filename and line number (when a user double-clicks in a window in the external app), and have VC++ open the file and go to the file number. Any ideas about how I might send that information and get VC++ to respond to it?
-
Search your docs for 'Developer Studio objects', these automation interfaces should allow you to control VC++ from an external application. Ben Burnett "It's all absolutely devastatingly true -- except the bits that are lies" - Douglas Adams
Thanks! Just what I was looking for. Don't know why I couldn't find this in the docs on my own... You wouldn't happen to have any example code that shows how to create an instance of the 'Developer Studio objects' in the other app (in C++, not VB)? It seems to have something to do with IRunningObjectTable::GetObject(...), but I'm having trouble putting it all together...
-
Thanks! Just what I was looking for. Don't know why I couldn't find this in the docs on my own... You wouldn't happen to have any example code that shows how to create an instance of the 'Developer Studio objects' in the other app (in C++, not VB)? It seems to have something to do with IRunningObjectTable::GetObject(...), but I'm having trouble putting it all together...
No sample :( just a link, take a look at: Getting the most out of IDispatch http://www.codeproject.com/useritems/comdispatchdriver.asp seems to me that it could help you get going in no time flat. Ben Burnett "It's all absolutely devastatingly true -- except the bits that are lies" - Douglas Adams