hey im makin a progrogram for school, and part of this program i need
to fidn out the current users name and the tasks that are runnign is
there any simple way to do that with out having to write a dll.
J. Verdrengh - 03 Dec 2005 13:01 GMT
See http://support.microsoft.com/kb/q175030/ & look up some info on the Java
"native" keyword
Good luck
> hey im makin a progrogram for school, and part of this program i need
> to fidn out the current users name and the tasks that are runnign is
> there any simple way to do that with out having to write a dll.
Andrew McDonagh - 03 Dec 2005 13:22 GMT
> hey im makin a progrogram for school, and part of this program i need
> to fidn out the current users name and the tasks that are runnign is
> there any simple way to do that with out having to write a dll.
http://javaalmanac.com/egs/javax.security.auth.login/GetLogin.html
Roedy Green - 03 Dec 2005 14:42 GMT
>ey im makin a progrogram for school, and part of this program i need
>to fidn out the current users name and the tasks that are runnign is
>there any simple way to do that with out having to write a dll.
there is a system property called user.name.
See http://mindprod.com/jgloss/property.html
For the list of tasks, you will need JNI. This is pretty tough
assignment. I trust you are not in first year.
see http://mindprod.com/jgloss/jni.html

Signature
Canadian Mind Products, Roedy Green.
http://mindprod.com Java custom programming, consulting and coaching.