>>>>> "Bo" == Bo Peng <[EMAIL PROTECTED]> writes:
>> It may work but there's no way that core code should contain #ifdef >> WIN32 blocks. You should add a function to lyx::support. Bo> Please advise on a good place to put an openFile(filename, Bo> mode=view/edit, command="", parameter="") function. I guess you need also a bool canOpenFile(ext) function (with a better name) that can tell whether some extension is understood natively. Then the code could revert to LyX viewers mechanism in this case. It may be that I am overcomplicating the matter for no good reason. Are there cases where using an application that is not registered in windows is useful? And with OS X? JMarc
