comp.lang.ada
 help / color / mirror / Atom feed
* import a C++ function
@ 2004-02-28 19:13 Szymon Guz
  0 siblings, 0 replies; only message in thread
From: Szymon Guz @ 2004-02-28 19:13 UTC (permalink / 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;



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2004-02-28 19:13 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-02-28 19:13 import a C++ function Szymon Guz

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