Your new task.ijs actually works with a minor amendment. Since pointer/handle
are 8-byte they should start in 8-byte boundary so that the structure signatures
should be
t=. 'Cbyt....Resv....Desk....Titl....XposYposXsizYsizXcntYcnt'
STARTUPINFO=: st64 t,'FillFlagSwRs....Resv....Inph....Outh....Errh....'
PROCESSINFO=: st64 'Proh....Thrh....PridThid'
SECURITYATTR=: st64 'Cbyt....Secd....Inhe'
with that amendment, package manager run without problem in xp64. You may want
to testit on vista64.
Oleg Kobchenko wrote:
I got a chance to briefly test it on 64-bit Vista.
Even the original task worked with some errors
(it shows an app, but fails to do IO).
The new task has similar problems but different
errors. In particular, the problem area is around
allocating the read/write IO handles. The SECURITYATTR
as is when creating a pipe gives Memory Access error.
When replaced with NULL it passes, but the obtained
handles do not work properly and, as a result while
errors do not show (might be not caught), the IO is
not copied. So the problem should be somewhere near
create handle, duplicate handle and read/write.
--- Oleg Kobchenko <[EMAIL PROTECTED]> wrote:
Only pointers and handles (void *) need to be x.
Also the structs treatment needed to be changed.
I have made a new version of task.ijs, which works
on 32-bit, but needs some testing on 64-bit Windows.
http://www.jsoftware.com/jwiki/OlegKobchenko/Task
To test run all the lines in the script header.
--- bill lam <[EMAIL PROTECTED]> wrote:
I tried replacing all i with x and it still does not work. I think that xp64 use
LLP64 model so that some i should still be i and also the alignment inside
structure is changed. In conclusion you need to get access to an window64 to do
the conversion.
Oleg Kobchenko wrote:
This is a good observation. The bit-neutral type
in signature is "x". Can someone with a 64-bit OS
change the i's to x's and and see if 'task' script works?
--- bill lam <[EMAIL PROTECTED]> wrote:
I guess verb spawn fail in win64. Pointer become 64 bit wide in amd86 so that
many api calling signature need fixing. You may compare the api signature
inside dirbrowse in f beta and d beta.
R.E. Boss wrote:
This was the first time I installed J64-602.
message is:
error in jijs_runpacman_button
domain error: httpget
log'Connection failed:' ,msg
At same time Package Manager in J32 runs fine
R.E. Boss
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm
____________________________________________________________________________________
Never miss a thing. Make Yahoo your home page.
http://www.yahoo.com/r/hs
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm
____________________________________________________________________________________
Be a better friend, newshound, and
know-it-all with Yahoo! Mobile. Try it now.
http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm
____________________________________________________________________________________
Be a better friend, newshound, and
know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm