Re: Problem creating bindings - please help
- From: "Gerd" <GerdM.O@xxxxxxxxxxx>
- Date: 18 May 2006 03:51:48 -0700
What about "_CAN_GetHwParam"? It looks like 'extern "C"' stuff.
The GNAT Users Guide say that the "_" and the "@16" is appended
automatically for "__stdcall" (as far as I understood). And the
function is declared as "__stdcall" in the header-file.
BTW, is it a CAN-bus adapter APIs? Which vendor?
Yes, it is. It's a "PEAK-Service GmbH, Darmstadt" device.
Are there any CAN-bus bindings for Ada available on the net (for any
vendor)?
What about "_CAN_GetHwParam"? It looks like 'extern "C"' stuff.
Or maybe, pragma Import (C, CAN_GetHwParam, "CAN_GetHwParam");
Thanks, I will try it.
Gerd
.
- Follow-Ups:
- Re: Problem creating bindings - please help
- From: Dmitry A. Kazakov
- Re: Problem creating bindings - please help
- From: christoph . grein
- Re: Problem creating bindings - please help
- References:
- Problem creating bindings - please help
- From: Gerd
- Re: Problem creating bindings - please help
- From: Dmitry A. Kazakov
- Problem creating bindings - please help
- Prev by Date: Re: Problem creating bindings - please help
- Next by Date: Re: Problem creating bindings - please help
- Previous by thread: Re: Problem creating bindings - please help
- Next by thread: Re: Problem creating bindings - please help
- Index(es):
Relevant Pages
|
|