[Date Prev][Date Next][Subject Prev][Subject Next][ Date Index][ Subject Index]

Re: WCD routine in XYwwweb, and XYWin



** Reply to message from Paul Breeze  on Wed, 25
Jun 2003 18:23:13 +0100


> I have just tried to use the WCD routine for changing directories
> in XYWin. WCD appears to find the directories correctly but I
> remain in the same directory in which I started.

It's not going to work. Consider: When you shell to DOS in Xy4DOS, you're
doing so in the same memory space, same process, as XyWrite; so if you change
directory via WCD, Xy also changes directory. But in a Windows GUI VDM, even
16-bit Windows, you never truly "shell to DOS"; instead you start a separate
process (called WINOLDAP in NT), and when it closes, you simply *appear* to
bounce back to XyWin, because that's how the Windows desktop operates when a
program closes (it restores focus to the previously focused process) -- but the
ChDir operation (albeit successful) had not taken place within the same process
as XyWin, so it had no effect upon XyWin.

-----------------------------
Robert Holmgren
holmgren@xxxxxxxx
-----------------------------