When starting irfanview from the command line, how do you capture error messages? For example, let's say I try to open a BMP image file:
i_view32.exe images\swirl.bmp

Attempting to load this image results in the following pop up error from irfanview:
"swirl.bmp: Decode error! Invalid or unsupported BMP file."

However, irfanview keeps running (no exit error code) and I don't see any error indications from the command line. Is there a way to capture this error from the command line or programmatically via an API?

Please advise,