import a C++ function
From: Szymon Guz (guzo_at_stud.ics.p.lodz.pl)
Date: 02/28/04
- Next message: tmoran_at_acm.org: "Re: Error-names."
- Previous message: tmoran_at_acm.org: "Re: Those "home hobbyists..." (was: No call for Ada)"
- Next in thread: Jerry van Dijk: "Re: import a C++ function"
- Reply: Jerry van Dijk: "Re: import a C++ function"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Sat, 28 Feb 2004 20:13:54 +0100
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;
- Next message: tmoran_at_acm.org: "Re: Error-names."
- Previous message: tmoran_at_acm.org: "Re: Those "home hobbyists..." (was: No call for Ada)"
- Next in thread: Jerry van Dijk: "Re: import a C++ function"
- Reply: Jerry van Dijk: "Re: import a C++ function"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|