APPLET and Java compatible dll
-
can anybody tell me if it is possible to use a java compatible dll in an java applet, if yes please tell me how to use it...
swaroop
-
work i have done in the project 1. made the header file using javah as per the document given to me 2. and included the header dile in the dll vc++ project for making the dll 3. after dll creation i copied the dll in to the java workspace and also in the class directory. 4. the java code is showing runitime while i try to call the dll.
swaroop
-
work i have done in the project 1. made the header file using javah as per the document given to me 2. and included the header dile in the dll vc++ project for making the dll 3. after dll creation i copied the dll in to the java workspace and also in the class directory. 4. the java code is showing runitime while i try to call the dll.
swaroop
-
I am lost :confused: How come a VC++ dll (hope not COM dll) use in Java application. I am learning things which I have never dreamt of:)
-
i mentioned vc++ bcoz i'm using the visual studio as my editor..the dll is a plain win32 dll completly in c++
swaroop
swaroopkb wrote:
the dll is a plain win32 dll completly in c++
that's contradictory... Win32 is plain C, not C++ at all ;P
[VisualCalc][Binary Guide][CommDialogs] | [Forums Guidelines]
-
swaroopkb wrote:
the dll is a plain win32 dll completly in c++
that's contradictory... Win32 is plain C, not C++ at all ;P
[VisualCalc][Binary Guide][CommDialogs] | [Forums Guidelines]
-
ok, its a win32 dll...tell me how to solve it please...also will this dll work with Applets, if i'm using a bridge using the java native interface..
swaroop
for that, i can't help, because i never had to use dlls in java code... are you sure you cant obtain some jars that already do what you're looking for by this DLL ?
[VisualCalc][Binary Guide][CommDialogs] | [Forums Guidelines]
-
for that, i can't help, because i never had to use dlls in java code... are you sure you cant obtain some jars that already do what you're looking for by this DLL ?
[VisualCalc][Binary Guide][CommDialogs] | [Forums Guidelines]
No i cant use a jar...bcoz my work is to convert the existing code to an applet. the code is too big to convert it to java...so the only way is to make a dll that is java compatible... when u tried with a small java program to access the dll it worked , but when i tried with applet it was not working...do u know whether there is any limitation for applets like ths one???
swaroop