all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Peter Lee <pete.a.lee@gmail.com>
Subject: Re: Interfacing ActiveX/COM-objects "natively" in Emacs
Date: Sun, 27 Mar 2005 23:28:43 -0600	[thread overview]
Message-ID: <ud5tkibjo.fsf@gmail.com> (raw)
In-Reply-To: 7dbe73ed05032703218114182@mail.gmail.com

>>>> Mathias Dahl writes:

    > I have needed to access different COM-objects, and the only way
    > to do that seems to be by using an external program, in my case
    > cscript.exe, the command-line VBScript interpreter.

Have a look at http://www.gnusoftware.com/Emacs/Com/

A few years ago I was looking for a way to do similar things.  At the
time I wanted to spawn devstudio help on a word within an emacs
buffer... similar to hitting F1 within devstudio.

I looked at the COM patch and it seemed flaky...

I ended up using http://www.gnusoftware.com/Emacs/Dynamic/ and simply
creating a method to make the COM calls from within the plug-in dll.
It worked pretty well for what I was trying to do... namely the
automation of msdn viewer, but it wasn't very flexible.  Adding
support for a new component required a recompile of the plug-in.  Also
I like to use cvs emacs, so everytime I updated I would have to
remember to apply the patch as well... which only lasted a few months.

I'm sure you could do something similar... making it more generic.
Could probably do that by using dispinterfaces and named parms.

  parent reply	other threads:[~2005-03-28  5:28 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-03-27 11:21 Interfacing ActiveX/COM-objects "natively" in Emacs Mathias Dahl
2005-03-27 12:18 ` David Kastrup
2005-03-27 13:27   ` Mathias Dahl
2005-03-28 16:26     ` Richard Stallman
2005-03-28 18:38       ` David Kastrup
2005-03-27 19:31   ` Eli Zaretskii
2005-03-27 19:48     ` David Kastrup
2005-03-27 20:00     ` Jan D.
2005-03-27 21:24       ` Mathias Dahl
2005-03-28  4:20       ` Eli Zaretskii
2005-03-28 10:07         ` David Kastrup
2005-03-28 11:06           ` Mathias Dahl
2005-03-28 14:33             ` Stefan Monnier
2005-03-28 18:42               ` David Kastrup
2005-03-28 21:31           ` Eli Zaretskii
2005-03-29  5:11             ` Jan D.
2005-03-29  8:54               ` David Kastrup
2005-03-28  5:28 ` Peter Lee [this message]
2005-03-28 15:53 ` Kai Großjohann
2005-03-28 16:26 ` Richard Stallman
2005-03-28 20:15 ` Jérôme Marant

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ud5tkibjo.fsf@gmail.com \
    --to=pete.a.lee@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.