How Can i COM Component inside Applet.
Hi All,I want to use a COM component which is calling C API's inside an Java applet. Is there any way i can load COM dll inside applet and directly calls COM's functions. Pls give your suggestions.
[220 byte] By [
vonnya] at [2007-11-26 16:04:02]

# 1
To add to above query , i don't want to use third party code like JACOB. Is there any direct support from Sun java of calling COM component (written in C/C++ ) functions inside Java applets.Can't i load directly COM dll and uses its function through some methods.
# 2
One more thing i would like to mention, I go through Implementation of Java Native Interface(JNI) and i can call COM fns through it but it is a longer procees as i have to write stub functions for each API implemented in COM component. If in my COM component is having 100 API then i have to write 100 such functions in JNI..
I think there should be direct method of calling COM API;s
Any suggestions.