How to write this in Java

I have created a Wrapper Java file and need to declare this function in Java File.

Below is how it is declared in the VB DLL.

Declare Function ATMGetString Lib "ATMAPI32.DLL" (ByVal hWnd&, ByVal Row%,

ByVal Column%, ByVal GetString$, ByVal Length%) As Long

Now in Java I did :

public native long ATMGetString(int hwnd, int rowNum ,int colNum, String strOutput, int buffLen);

But it is not able ready to consider both the function as same.

Urgent help needed.....

[517 byte] By [inyoa] at [2007-10-2 23:34:37]
# 1
Hi,You need to develop your own DLL to call that function or consider using a generic wrapper like JNative (it's free).--Marc ( http://jnative.sf.net)
mdentya at 2007-7-14 16:16:33 > top of Java-index,Java HotSpot Virtual Machine,Specifications...