Hi, It seems to me that the gridimg1.gx needs an UnLock_EMAP(EMap) at the very end of the file. Is this correct ? I get a message "attempt to Lock a map twice" when calling the gx in a loop. Best regards Thorkild Thorkild M. Rasmussen Ph.D., senior geophysicist GEUS, Geological Survey of Denmark and Greenland Thoravej 8 DK-2400 Copenhagen NV Denmark phone : (+45) 38 14 22 11 fax : (+45) 38 14 22 20 email : [EMAIL PROTECTED] _______________________________________________________ More mailing list info http://www.geosoft.com/support/listserv/index.html List Archive http://www.mail-archive.com/gxnet@lists.geosoft.com