comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » another 7.0 cd issue
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
another 7.0 cd issue [message #60999] Mon, 30 June 2008 09:53
Wox is currently offline  Wox
Messages: 184
Registered: August 2006
Senior Member
Ok, so I'm trying IDL7.0. Thanks to this newsgroup I was prepared and
followed a course on Zen meditation before taking on the big 7.

Everything was going well until I tried to change the current
directory (with cd,'c:\...'), hoping it would stay like that we I
execute a widget app. I stripped the widget app (see below). If you
would compile this and run it, everything goes well, i.e. pressing the
button will print the path I set. However, if you try to make a
project out of it (with 1 file) and you would "build + run the
project", the path printed will not be the one I set.

Any ideas?

Wox



pro test_event,ev
cd,c=c
print,'Directory after xmanager: '+c
end

pro test
dir='c:\temp\'
base=WIDGET_BASE(MBAR=bar,/row,title='TEST:',scr_xsize=300,s cr_ysize=100)
button= widget_button(base,value='check '+dir+' ...')
cd,dir,c=c
print,'Initial directory: '+c
cd,c=c
print,'Set directory: '+c
WIDGET_CONTROL, base, /REALIZE
Xmanager,'test',base,/NO_BLOCK
end
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Java-IDL bridge questions
Next Topic: polyfill with transparent colors

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Fri Oct 10 10:24:37 PDT 2025

Total time taken to generate the page: 0.56086 seconds