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 derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

VB DLL and Java, possible ??

Status
Not open for further replies.

PatrickIRL

Programmer
Jun 25, 2003
383
Hi,

I've developed an ActiveX dll in VB and now messing around with java trying to access it. So far my code looks like this ...

Code:
public class Test{
  public static void main(String[] args){
    Test t = new Test();
  }
  
  static{
    System.loadLibrary("CalcEngine");		
  }
}

Thing is, if I try to decalre an instance of the dll by
CalcEngine c = new CalcEngine(); it gives all sorts of trouble. Is this possible?? If so how do I go about it??

Thanks in advance,

Patrick
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top