From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26391 invoked by alias); 14 Jun 2004 06:10:22 -0000 Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-help-owner@gcc.gnu.org Received: (qmail 26315 invoked from network); 14 Jun 2004 06:10:17 -0000 Received: from unknown (HELO main.gmane.org) (80.91.224.249) by sourceware.org with SMTP; 14 Jun 2004 06:10:17 -0000 Received: from root by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1BZkfd-0003hE-00 for ; Mon, 14 Jun 2004 08:10:13 +0200 Received: from mail.treesforlife.org ([68.98.206.109]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 14 Jun 2004 08:10:13 +0200 Received: from christian by mail.treesforlife.org with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 14 Jun 2004 08:10:13 +0200 To: gcc-help@gcc.gnu.org From: "Christian Junker" Subject: Windows COM code snippet needed Date: Mon, 14 Jun 2004 06:10:00 -0000 Message-ID: X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: mail.treesforlife.org X-Newsreader: Microsoft Outlook Express 6.00.2800.1409 X-SW-Source: 2004-06/txt/msg00125.txt.bz2 Hello everybody, probably it's not the right mailinglist I am writing to, but I am in progress of writing a list how OpenOffice can be accessed via (D)COM with different programming languages. The code snippet I am asking for is how can one make use of COM in C. I would appreciate any code (even if it's only 3 or 4 lines) that just give me a starting point. Probably the best would be if someone could give me a working example of how to open up a new document in MS Word or MS Excel via COM with programming language C. Thanks in advance. Best regards Christian Junker