Ada equivalent to С++ header sentence.
From: Johnswort (rhezusfactor_at_yahoo.com)
Date: 08/20/04
- Next message: Pascal Obry: "Re: Bitmanipulation in Ada"
- Previous message: Jean-Pierre Rosen: "Re: Bitmanipulation in Ada"
- Next in thread: Jeff C,: "Re: Ada equivalent to С++ header sentence."
- Reply: Jeff C,: "Re: Ada equivalent to С++ header sentence."
- Reply: Stephen Leake: "Re: Ada equivalent to С++ header sentence."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 20 Aug 2004 01:22:49 -0700
I try to make a binding on an API, which has a header in C++ syntax.
As a complete moron in both C/C++, I want to grab the last straw
before giving up. So I ask for a hint: what would be the Ada
equivalent to the following:
typedef BOOL (_stdcall T_hcConnect)(LPSTR lszCmd);
Presumingly, LPSTR may come from Win32. Just in case, VB header
translates it into
Declare Function hbConnect Lib "hapi.dll" Alias "hcConnect" (ByVal
command As String) As Long
Thank you in advance.
P.S. Yep, almost forgot: GNAT 3.15., Win2000 sp4. API comes from
HyperChem 6, if curious.
- Next message: Pascal Obry: "Re: Bitmanipulation in Ada"
- Previous message: Jean-Pierre Rosen: "Re: Bitmanipulation in Ada"
- Next in thread: Jeff C,: "Re: Ada equivalent to С++ header sentence."
- Reply: Jeff C,: "Re: Ada equivalent to С++ header sentence."
- Reply: Stephen Leake: "Re: Ada equivalent to С++ header sentence."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|