Hello! I'm writing a software to convert a file from one coordinate system to another. I do this by reading the different objects from the file with the available functions, transform the coordinates and write back the object to a new output file.
For one input file I get an exception when calling the mitab_c_write_feature function. The exception originates in the function PickSeedsForSplit found in the file mitab_mapindexblock.cpp. The problem seems to be that nSrcHeight or nSrcWidth can be equal to zero. Then the division on line 1065 will not work and an exception is thrown. Is there any way to catch this exception in my MFC application? I would very much like to avoid a software crash because of this. I'm using the latest version (1.7.0). Can anyone please advise? Best Regards Mikael Larsson _________________________________________________________________ Connect to the next generation of MSN Messenger http://imagine-msn.com/messenger/launch80/default.aspx?locale=en-us&source=wlmailtagline
