elektro255
the problem is when camera calls procedure MoveFocusLensToDistance - camera just turns off
See if you can find MFOn() and MFOff() (manual focus on/off) in the firmware (look for "MFOn" and "MFOff", else compare with e.g.
ixus950, where the wrappers for these fns are at 0xFFB1AF88 and 0xFFB1AF98, respectively). If they exist, call MFOn() before MoveFocusLensToDistance (in fact, that's how it should've been done in all the other cameras, even those that don't hang). If they don't exist -- well, you probably cannot override, at least not in this way...
and I don't know what is fl_tbl and where find this table in firmware
That's focal lengths table (in ยตm) for different zoom settings. It certainly can be somehow deduced from the firmware, but lazy people simply take a series of shots at all possible zooms and then examine the jpeg's; the focal lengths are recorded there in EXIF and/or Maker Notes.
edit: the (arguably) ultimate EXIF tools are called, not surprisigly, ExifTool and ExifToolGUI [
http://freeweb.siol.net/hrastni3/]
edit2: the cam will likely hang if you call MoveFocusLensToDistance in Play mode. Some cameras reportedly produce in such circumstance horrifying noises...