passing string between c and java (2)

2000-07-22 Thread Boris

I still can't resolve the question in Issue 151 now.
I have put two System.out.println("ok") statements before and after  
System.loadLibrary("IO"),and I delete all statements in c method. And when I run 
compiled
project,those two "ok" are printed, and then the same error information are printed:

java.lang.UnsatisfiedLinkError: write
at com.JiaTeng.adsl.adslCfgGui.ConfigDlg.(ConfigDlg.java)
at com.JiaTeng.adsl.adslCfgGui.ConfigDlg.(ConfigDlg.java)
at com.JiaTeng.adsl.adslCfgGui.ConfigDlg.main(ConfigDlg.java)
at symantec.tools.debug.MainThread.run(Agent.java:48)

Because java load the shared library correctly and c did nothing, the bug must be
in  passing parameter between java and c.
But I do not know what is wrong.This bother me much more.

BTW:my platform is win98se,visual cafe 3.0.visual c++6.0
Thank you very much.
Best rewards.
Boris


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: browser gives a javax.swing.SwingUtilities not found error

2000-07-22 Thread Jules Agee

If you use the  tag it doesn't use the plug-in, it uses the
browser's default JVM, which will not have access to Swing classes. 

To use the plug-in you have to use the  tag for IE or the
 tag for Netscape instead of . Pretty silly to have two
different browser-dependent tags, huh? There are examples of how to use
these tags, and Javascript examples for when you don't know the type of
browser that will be used to view the page here:

http://java.sun.com/products/plugin/1.3/docs/tags.html#Any

-Jules


vinod tipparaju wrote:
> 
> Hi
>  I have a 686 and am running suse6.4, am running a small web server on
> it. I have a jar file in it that has a few html files and a few applets.
> (applets in jdk1.2 compiled with jdk1.2.2)
> When I open a html file in a web browser on a different machine (it is
> a win nt machine and has jdk1.3 plugin)and that html I opened has an
> applet tag in it, browser starts running the applet and then sudeenly
> stops.
> netscape browsers java console showed an error that said
> javax.swing.SwingUtilities class not found.
> IE browsers java console showed an error instantiation exception
> I am using Japplet and JButton in the applet.
> Can somebody tell me why I might be getting these errors.
> Tia
> Vinod
> 
> --
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

-- 
_-_-_-_-_-_-_-_-_-_-_
Jules Agee
[EMAIL PROTECTED]


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]