Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado
In article <c5c08c3c.0404062133.501e601d@posting.google.com>, "DP" <only_spam_here@yahoo.de> wrote: > Hi! > I wrote a small program that reads a string from a GUI. The GUI contains > a window for the string and a button ï¿½GO' to execute a program > ï¿½prog1.pro'. The XMANAGER for the GUI has the /NO_BLOCK command. First > thing ï¿½prog1.pro' should do is display a file with XDISPLAYFILE and stop > until I kill the XDISPLAYFILE window. It stops because of /BLOCK in > XDISPLAYFILE. Then ï¿½prog1.pro' goes on, but that isn't important > anymore. > When I let run the main program i.e. from the prompt everything works > fine. But when I want to run the program from a .sav-file, somehow the > /BLOCK command in XDISPLAYFILE is ignored and ï¿½prog1.pro' goes on > without waiting until I kill the displayed file window. Why does > everything work fine in a normal program but not from a .sav file? > I'm using IDL 6.0 and Win NT. > Cheers, Darius Hi, Are you running the program in the IDL VM? Even if your not, it's likely your problem is being caused by the IDL runtime ignoring /BLOCK. There are some other postings about this, the only one I could find was this thread. http://groups.google.com/groups?hl=en&lr=&ie=ISO-885 9-1&c2coff=1&q=porting+to+vm+group%3Acomp.lang.idl-p vwave&btnG=Search&meta=group%3Dcomp.lang.idl-pvwave That's all on one line, just in case. Chris.