#define MAKE_MEDIA_PATH(pFileName) (TEXT("C:\\LEADTOOLS 17.5\\Media\\")TEXT(pFileName)) void SaveConvertSettingsToFile(IltmmConvert *pConvert) { // try to save the convert settings to a file HRESULT hr = pConvert->SaveSettingsToFile(MAKE_MEDIA_PATH("Test.lmm"), ltmmConvert_Settings_All); if (FAILED(hr)) { MessageBox(NULL, TEXT("Error saving convert settings to file"), TEXT("Save Convert Settings"), MB_OK); } }