comp.lang.ada
 help / color / mirror / Atom feed
From: "Dmitry A. Kazakov" <mailbox@dmitry-kazakov.de>
Subject: Re: Ada interface to Excel file
Date: Thu, 20 Apr 2023 11:18:53 +0200	[thread overview]
Message-ID: <u1r01s$h72t$1@dont-email.me> (raw)
In-Reply-To: <fb877c1f-9dc3-45ed-af3a-fab90f77d548n@googlegroups.com>

On 2023-04-19 19:36, AdaMagica wrote:
> I create Ada code from an Excel file. For this, I first manually export the file to csv format. The code generator works on the csv file.
> I'd like to automate this first step by including the export into the code generator.
> 
> I guess there is a C interface for Excel. I only just need the export functionality, not a full interface.
> However, being illiterate in C, I'd further welcome help on the way to define an Ada interface to this C code.
> 
> Can anyone help, please? Thanx a lot.

AFAIK, Excel has an ODBC driver. So you can simply read/write an Excel 
table directly from Ada using ODBC SQL statements.

-- 
Regards,
Dmitry A. Kazakov
http://www.dmitry-kazakov.de

  parent reply	other threads:[~2023-04-20  9:18 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-04-19 17:36 Ada interface to Excel file AdaMagica
2023-04-19 18:22 ` Jeffrey R.Carter
2023-04-20 19:24   ` Gautier write-only address
2023-04-20 20:48     ` Jeffrey R.Carter
2023-04-24 10:15       ` AdaMagica
2023-04-20  9:18 ` Dmitry A. Kazakov [this message]
2023-04-20 19:08 ` Gautier write-only address
2023-04-20 20:07   ` Björn Lundin
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox