X
PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 17 Feb 2010 11:24 AM by  anon
IDL has encountered a problem and needs to close
 1 Replies
Sort:
You are not authorized to post a reply.
Author Messages

anon



New Member


Posts:
New Member


--
17 Feb 2010 11:24 AM
    Hello I got a trouble in my code. I had an application which is working perfectly on a Vista Version but when i want to run it on a XP version and get the error 'IDL has encountered a problem and needs to close'. After some test i found exactly wich line in my code cause the trouble : ShapeFileObj = Obj_new('IDLffshape', FilenameShapeFile) My code seems good because the result with a vista version give me exactly the result i want, but it doesn't work with the same data set on a Windows XP. It is like if Windows XP was not able to read a shapefile... I change a little my code for : ShapeFileObj = Obj_new('IDLffshape')  test = ShapeFileObj->Open(FilenameShapeFile) But i get the same trouble. If anybody have an idea about this?? Thank a lot Aurelien Boulben

    Deleted User



    New Member


    Posts:
    New Member


    --
    17 Feb 2010 01:05 PM
    I think i have fixed the trouble. The filename of the shapefile has the following structure : STRING    = Array[1] I don't know why but Windows Vista seems to be able to read this filename as a single element, but Windows XP not, that cause the error message. I just write : Filename  = Filename[0] to be sure filename is a single element and has the following structure : STRING    = 'C:\Users\test.shp' I make the test and it works perfectly on Vista and XP Aurelien boulben
    You are not authorized to post a reply.