Re: Problem creating bindings - please help



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

.



Relevant Pages

  • Re: Ada used in General Aviation (GA) applications?
    ... compiler & all the goodies sitting right there and they're practically ... How is some alternative vendor ... I am afraid that Ada is missing the ... > embedded programming market which in the foreseeable future will ...
    (comp.lang.ada)
  • Re: Blocking syscalls in Tasks
    ... As for Janus/Ada, IBM and other Ada compilers to most they are outdated. ... Windows 95/98, they will suggest you find another provider. ... Also, back in the late 90s using Windows 98, GNAT used threads that was ... you simply have to ask your vendor. ...
    (comp.lang.ada)
  • Re: What is wrong with Ada?
    ... Sure the geeks could download stuff in 1994. ... Google ADA and see all the sites that have ... managers, not developers. ... for one project puts the vendor on the approved vendor list. ...
    (comp.lang.ada)
  • Re: An Ada Advice Inquiry
    ... of a probationary period with a vendor. ... I recall that at least one vendor considers the Ada information ... flow between employees at the customer site (trivial, ... questions can be answered by a knowledgeable Ada person in house); ...
    (comp.lang.ada)
  • Re: ada IDE
    ... like DO-178b level a or b) then the IDE is really secondary to the ... If you select something like Greenhills Ada with the Integrity OS then it ... Ada Apex system. ... justifying the use of the tools you really want from a different vendor". ...
    (comp.lang.ada)