Hey Simon
dciphercomputing wrote:
> Hi
>
> Is it possible to use DLLS from other software without first creating a wrapper class.
Are you maybe looking for something like this (the example calls
"System.currentTimeMillis()" from the Java jvm.dll):
JVM_CurrentTimeMillis (env, this: POINTER) : INTEGER_64
external
"dll %"jvm.dll%" signature (EIF_POINTER, EIF_POINTER) :
EIF_INTEGER_64"
alias
"_JVM_CurrentTimeMillis@8"
end
On Windows, you would have to use "dllwin" instead of "dll".
Hope that helps
Marco
> The problem I have is that it is a long process to wrap some DLLs. For example the header file for one of my DLLs is 4600 lines long. To be honest I can see that there might be occasions when I would like the ability to create such a wrapper but I have a number of DLLs that I want like to use and building wrapper classes will take way too much time. Not only that I suspect that these wrapper classes will have to be updated every time I get a new version of the dlls. I would prefer an alternate method similar to the Declare/LoadLibrary statement used in some other programming languages. Is such possible in Eiffel? If it is possible can you give me an example?
>
> Thanks,
> Simon
>
>
>
> ------------------------------------
>
> Yahoo! Groups Links
>
>
>