• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

problem creating java com dll

 
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hello
I am trying to create a java dll & calling the method in VC++.
But the problem I am facing is, I have a corba server class,
a corba client class .I create a java class which in turn call the corba client.
But my aim is to make a DLL which will in turn call the corba client.
For This I ,am using VJ++,but the error I get while building is the corba package cannot be located.
Do any one has a solution for this,if so pl. post immed.
Thank u
Aravinda
 
"The Hood"
Posts: 8521
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
First of all, why are you using VJ++. Microsoft stopped supporting it almost 2 years ago.
Next, how does VJ++ set up it's classpath's? Is the Corba jar file in the classpath?
 
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You can set the classpath in VJ++ by:
1. Click on project -> <project_name> Properties... Option in the menu bar
2. Select the Classpath tab
3. Click on new and add the complete path to yuor ORB implementation JAR file, for example, C:\Inprise\Appsever\lib\VbjOrb.jar
If you are trying to create a brigde for making CORBA calls from you VB/VC++ application... Then you are on the right track!
VB is incapable of making calls to CORBA Objects on the network...
One way of doing this is to create a Java class, which talks to CORBA objects using ORB, and then compiling that class as a COM DLL using VJ++... Then you could use that DLL from your VB/VC code to use CORBA services on the network!! And then, bob's ur uncle!
All the best!
Cheers,
Amit
PS: I can't think of using VJ++ for any other serious software development... :-)
 
Ranch Hand
Posts: 142
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I've tried that in a different situation and a limitation I found was the J++ compiler is limited to some antique version of the JDK (Like 1.0.8???). This may or may nto apply in your situation.
------------------
David Roberts - SCJP2,MCP
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic