comp.lang.ada
 help / color / mirror / Atom feed
From: Szymon Guz <guzo@stud.ics.p.lodz.pl>
Subject: import a C++ function
Date: Sat, 28 Feb 2004 20:13:54 +0100
Date: 2004-02-28T20:13:54+01:00	[thread overview]
Message-ID: <c1qpa6$dje$1@atlantis.news.tpi.pl> (raw)

Hi,
how can I import from a dll such a function written in C:

static CRuntimeClass* PASCAL Load(CArchive& ar, UINT* pwSchemaNum);

the main problem I've got is with the "PASCAL" word.
And one thing more, how to declare the CArchive class, bacause writing
type CArchive;
doesn't help. The truth is that I don't have the type CArchive written 
in Ada yet and I only want to declare it, sth. like defining in C:
class CArchive;



                 reply	other threads:[~2004-02-28 19:13 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
replies disabled

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