Hello,
I got a source that i want pass 9 parameter to a dll from
a fiscal printer.
I try use the generic method but i got no answer.
The source:
LittleEndianOutputStream leos = new
LittleEndianOutputStream(nbs);
leos.writeStringUnicode("1");
leos.writeStringUnicode("From Jawin");
leos.writeStringUnicode("II");
leos.writeStringUnicode("I");
leos.writeStringUnicode("1");
leos.writeInt(2);
leos.writeStringUnicode("1,00");
leos.writeStringUnicode("$");
leos.writeStringUnicode("0,00");
//and i send wtih
invoke("GGGGGIGGG:I:", 16, nbs, null,
ReturnFlags.CHECK_HRESULT);
but i think its wrong,
there's way to send for a dll
using gerenic method,
the parameters are: String, String, String, String, String,
Int, String, String, String.
and the function return is a Int.
Please if anyone knows how make it, i'm glad.
regards
Logged In: NO
---------
Hello,
I was found a solution to my problema:
int method invoke("GGGGGIGGG:I:", 16, nbs, null,
ReturnFlags.CHECK_HRESULT);
the 16 is a number of stack bytes, i just changed to 128 to
resolve the problem.
Tnks all