Re: Reference variables in jawin?

Morten Andersen <[email protected]>
Newsgroups gmane.comp.windows.devel.jawin
Organization Arosii Information Systems A/S
Message-ID <[email protected]>
Hi Roger

Roger I Martin PhD wrote:

> Hi Morten,
>
> Do you think that generating for dll's from header files would be a good
> next implementation that I could do next?

That would probably be a great extension, but do you think there is
enough type-information in a header-file to make it possible at all? Eg.
like in Jonas' case, how should "int*" be interpreted, since JTB will
have to generate completely different code whether it is an
[out]-integer or an [in] array of integers. (and I think there are cases
that are a lot worse/more complex than this).

I haven't looked at neither Chaperon or JFlex, but I am a little
skeptic/pessimistic about whether we can actually implement this, for
more than the simplest cases.

Another way to go, would be to announce that we will never be able to
generate stubs for DLL's and solve it by documenting the instruction
strings thoroughly. But of course it will make the entry-barrier for
using Jawin for DLL'entry calls pretty high compared to a stub-generator
solution. (and of course it is not as fun to write documentation as it
is to make a nice technical solution :-)).

Best Regards
Morten
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.