Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #11075

Re: WORKGROUP

From Roedy Green <see_website@mindprod.com.invalid>
Newsgroups comp.lang.java.programmer
Subject Re: WORKGROUP
Date 2012-01-04 17:27 -0800
Organization Canadian Mind Products
Message-ID <5pu9g7tsk58e1ufl7s09ob3fom2rjctqaa@4ax.com> (permalink)
References <8f03213b-5a9e-40c5-b106-7f58a4398dae@t38g2000yqe.googlegroups.com> <ncsee7l5gfa3466idi8r2mkuef0hc288t2@4ax.com>

Show all headers | View raw


On Tue, 13 Dec 2011 07:40:04 -0800, Roedy Green
<see_website@mindprod.com.invalid> wrote, quoted or indirectly quoted
someone who said :

>Java is WORA. Workgroup is specific to Windows so you won't find
>anything in the official Java to find it out.  You would have to use
>JNI or exec something to find it out.

See if there is anything in the C++ windows API to change the
workgroup.  It might be considered something too dangerous to trust to
non-OS code.


Scan the Google to see if anyone has a solution, then encapsulate it
with an exec or JNI.
see http://mindprod.com/jgloss/jni.html
http://mindprod.com/jgloss/exec.html


If you were willing to endure great expense and pain, you would get
some sort of disassembler or trace debugger and watch
C:\Windows\System32\control.exe 
to see what it does when you manually change the workgroup.
I used to do this all the time with 16-bit code. Then the guy who
wrote my disassembler died and the tracer Periscope went out of
business.
-- 
Roedy Green Canadian Mind Products
http://mindprod.com
If you can't remember the name of some method, 
consider changing it to something you can remember.
 

Back to comp.lang.java.programmer | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

WORKGROUP Ilya Lakhmitski <ilya.lakhmitski@gmail.com> - 2011-12-13 01:31 -0800
  Re: WORKGROUP Ilya Lakhmitski <ilya.lakhmitski@gmail.com> - 2011-12-13 02:12 -0800
    Re: WORKGROUP Nigel Wade <nmw-news@ion.le.ac.uk> - 2011-12-13 12:27 +0000
      Re: WORKGROUP Ilya Lakhmitski <ilya.lakhmitski@gmail.com> - 2011-12-13 04:33 -0800
        Re: WORKGROUP Nigel Wade <nmw-news@ion.le.ac.uk> - 2011-12-13 15:01 +0000
        Re: WORKGROUP Lew <lewbloch@gmail.com> - 2011-12-13 07:52 -0800
      Re: WORKGROUP Steve Sobol <sjsobol@JustThe.net> - 2011-12-13 13:36 -0800
  Re: WORKGROUP Roedy Green <see_website@mindprod.com.invalid> - 2011-12-13 07:40 -0800
    Re: WORKGROUP Roedy Green <see_website@mindprod.com.invalid> - 2012-01-04 17:27 -0800
  Re: WORKGROUP Rajiv Gupta <rajiv@invalid.com> - 2011-12-14 17:15 +1100
    Re: WORKGROUP Lew <lewbloch@gmail.com> - 2011-12-13 23:46 -0800
    Re: WORKGROUP Paul Cager <paul.cager@googlemail.com> - 2011-12-14 02:01 -0800

csiph-web