convert javah headers to D
windevguy at hotmail.de
Mon Mar 16 06:12:48 PDT 2009
Sergey Gromov wrote:
> Sun, 15 Mar 2009 21:37:48 +0000 (UTC), Nicholas Jordan wrote:
>> I got this far, compiler is stating I should:
>> "semicolon expected, not 'TWAIN_AcquireNative'"
> You use lots of undefined symbols in this module: HANDLE, EZTAPI, HWND,
> unsigned etc. The compiler can't read your mind so you must tell it
> exactly what you mean.
> Most common Windows definitions are available in std.c.windows.windows:
> import std.c.windows.windows;
> You probably should define things like 'unsigned' yourself:
> alias uint unsigned;
> I have absolutely no idea what EZTAPI is, it's up to you to define it
> correctly, or find existing bindings.
I think Nicholas is talking about EZTwain. A twain DLL ( scanner and the
What I don't get is why Nicholas is trying to convert the Java source(s)
instead of converting the C header with h2d.
More information about the Digitalmars-d-learn