for code that launches another jqt process,
the code below works in j804, but in j803 the form that is created in mainsign
is blank and minimized in top left corner. In j803, I can call mainsign and
the form will draw correctly. The code in mainsigh first creates the form, and
then start__r a: displays it.
The wd 'msgs' line is not necessary either in j804, or in j803 for calling
after the J session is loaded.
Worth noting is that in j804, the form appears prior to qt console. (the blank
minimized j803 form actually also flashes before the jqt console appears)
Is there something I can do to make it work in j803 too?
in calling code process
launch =: 3 : 0
'file datasub proc params settings port' =. y
o =. ' echo privateconnectionport=:' (,&'" "')@:,^:(0<#@:]) port
o =. o ,' [echo settingsfile=:' (,&'" "')@:,^:('-'-.@:-:]) quote settings
o =. o ,' [echo datasub=:' (,&'" "')@:,^:(0<#@:]) quote datasub
o =. o , ' echo ', proc , ' ', (lr > params), '"'
t =. > IFWIN{'./jqt "'; jpath'~bin/jqt.exe "'
fork_jtask_ t , file, '" -js "', o
)
in target file, the procedure that is called (after a bunch of require's)
mainsign =: 3 : 0
MyID_z_ = 0 ". > {:'/' cut datasub
APPDATA =: datasub
r =: ('psign ; Signature Server ; session password provides additional
encryption. ; signcb_base_ ; `' , datasub , ';passw"1`edit ; session password
that must be identical in client app`datasubdir') DEF_recordform_
'session_passwd ; datasub'
wd 'msgs'
start__r a:
)
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm