On Wed, 04 Feb 2009, Alex Rufon wrote:
> BTW, there is some weirdness going-on in my system. I save a file in
> C#, close the file and send the filename to J ... J would open the
> file and it would be empty. But if you do this manually like save
> the file in C# then close the C# program then open the same file in
> J ... J would get the updated file.
>
> I also did a test with two C# DLL's and I get the same problem,
> validating my theory that this is a file system problem and has
> nothing to do with J. My theory is that the OS is caching the write
> to the file hence the other program cannot see any changes to it. My
> office development system is a Windows XP Pro SP3 ... when I tried
> the same thing with my Vista Starter edition at home, its working as
> expected. Wierdness!!!
I guess there is an alternative theory that your working machine is
ultra powerful. What if you put a sleep(3 sec) after closing the file
but before sending the filename to J.
> I didn't get the first message though ... I just got this one. Oh
> and I still want some Unicode loving for setb() and getb().
> Hehehehehe.
Did you try calling j.dll directly instead of via the ole/com layer?
You should be able to do anything you want including writing your own
ole/com plumbing for j.
--
regards,
====================================================
GPG key 1024D/4434BAB3 2008-08-24
gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3
唐詩310 張泌 寄人
別夢依依到謝家 小廊回合曲闌斜 多情只有春庭月 猶為離人照落花
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm