Instruction String Problem with FHZ1000PC.DLL

Philipp Janowski <[email protected]> Thu, 12 Jan 2006 21:50:22 -0500
Newsgroups gmane.comp.windows.devel.jawin
Message-ID <LISTSERV%[email protected]>
Hi!

I´m new to JAWIN since I have to get the FHZ1000PC.DLL to work with Java,
which is for interfacing with a radio-controlled house-control-system
(getting info from movement sensors around the house, switching on/off
lamps etc.)

The DLL is quite well documented - so I know the names of the functions and
the count and type of the parameters. I already got to work those functions
which have no input parameters like

return = FHZOpen() -- which returns 1 for success and 0 for error

But I simply don´t get to work functions which have output parameters like
the following one, even if it looks quite simple...

return = FHZGetVersion(HdwVers,DLLVers) -- all parameters are integers

Here the function shall return the software version and write the hardware-
and dllversion to the two output parameters. But I was not able to
construct the correct instruction string for this example. Can anyone help
me please?

Would be great! Thanks!


The DLL and its documentation PDF can be downloaded here. For the case that
you need further information.
http://www.contronics.de/download/FHZ1000PC_DLL.zip