X
PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 27 Sep 2007 08:02 AM by  anon
IDLDrawWidget ActiveX Control + IDL_M_UPRO_UNDEF
 1 Replies
Sort:
You are not authorized to post a reply.
Author Messages

anon



New Member


Posts:
New Member


--
27 Sep 2007 08:02 AM
    when is use IDLDrawWidget ActiveX Control in VS2005, there are something wrong with the program. error information:IDL_M_UPRO_UNDEF:Attempt to call undefined procedure/function:'ENVI_IOW'. another error:IDL_M_UPRO_UNDEF:Attempt to call undefined procedure/function:'tiff_write_file_doit_record'. .I use ENVI_OUTPUT_TO_EXTERNAL_FORMAT to output a GeoTiff image.

    Deleted User



    New Member


    Posts:
    New Member


    --
    27 Sep 2007 08:02 AM
    I'm familiar with using ActiveX controls, but have never used IDL's draw widget control. But it seems to me there are a lot of things that could cause this. You're calling ENVI functions, and i'm not sure that the activex control can even do that in the first place. Do other ENVI functions work? The other thing, of course, is that your code has to start ENVI running...did you remember to do that? :) And since you're just writing a tiff file, I'd probably stick with just using the IDL's WRITE_TIFF unless I had a pretty compelling reason to do otherwise. There's a GEOTAG keyword/tag you can use for the GeoTIFF info I believe. Jeff
    You are not authorized to post a reply.