Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Urgent: Boolean() to java dll boolean[]

Status
Not open for further replies.

zaphy2k2

Programmer
Dec 23, 2001
30
GB
i have a java method in a com dll like :

public void adddoc(String doc, boolean[] flags) {
//
}

and from vb, cannot do :

dim b(2) as boolean
x.adddoc("", b)

can anyone tell me what imi doing wrong please? What type should i pass / recieve to get my array?

cheers,
aaron
 
Could it be that the data types are incompatible - are you able to retrieve from your java array? Maybe you could try using a variant?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top