Checking in another updated freenet.exe as we speak:

> 1) The decision to return to the Java configurator is wise - the native
> windows one is far from ready for use

Yup

> 2) On Win98, Freenet.exe and the java configurator should use use the GUI
> javaw.exe, not the console-based java. Problems with the console java are:
> (i) this causes the black DOS box to show when running the configurator -
> ugly but harmless
> (ii) when closing the configurator, windows displays a dialog which can be
> misconstrued as telling the user that Freenet itself will terminate
> This should be fixed - javaw is the more appropriate Java binary.

Yikes.  This is all news to me.

I've now done the following fixes to freenet.exe:

1.    javaw.exe is now used in preference to java.exe when loading the Java
Configurator ;  java.exe is still used for running the node.
2.   The Java Configurator is run asynchronously - this prevents the "popup
menu cannot be accessed while Java Configurator is running" problem
3.    Should javaw.exe not be available (leaving just java.exe to choose
from) the black DOS box should no longer appear.  I haven't been able to
reproduce this problem as I don't have Win98SE.  However the fix is trivial
and quite well known (add the switch CREATE_NO_WINDOW to the CreateProcess
API call)

I have also now added a "Stop and Restart Freenet" menu option (very handy)

> Windows 98/ME - fair - worthy of release (just) - should either revert to
> javaw.exe or take steps to disguise the black dos box and prevent the
> shutdown dialog from appearing

What is this weird shutdown dialog that appears?  Like I say, I don't have
Win98SE, and I have never seen this before.

> Dave, on a side note: The Java configurator gives a black DOS box now,
> that you use Java.exe instead of javaw.exe. Can we hode the box without
> hiding the subsequent config window?

Yup, not only is it now using javaw.exe in preference to java.exe for the
Java Configurator but, should javaw.exe be unavailable, the black DOS box
ought to never appear either.

Sebastian -  How goes the investigation of the
strangely-corrupted-flaunch.ini-file ?  Whereby the flaunch.ini that gets
installed has three lines mangled into one (fservecli, cfgclient and fconfig
IIRC)

Dave


_______________________________________________
Devl mailing list
Devl at freenetproject.org
http://lists.freenetproject.org/mailman/listinfo/devl

Reply via email to