Invalid Cast Exception

ceaser

Active Member
Licensed User
Hi Agraham

I am using your delauney DLL and it works fine on the PC. But if I try to run it on the handheld it gives me an error .... :InvalidCastException.:sign0148:

I am using the TIN Model to generate contours.......it used to work fine.

Any idea what it could be or for what I must look?:sign0085:

Thanks
Michael
 

agraham

Expert
Licensed User
Longtime User
Assuming that the app that fails on the device is optimised compiled you could find the line where it fails by using my http://www.b4x.com/forum/share-your-creations/3632-debug-optimised-app-device-desktop.html library that adds line numbers to the error messages. Alternatively run it in the device IDE and if the error does not occur then post the source and I'll see if I can locate it on one of my devices.

Also, if you haven't done this, try running it optimised compiled on the desktop and you may get a more complete error message.
 
Top