#define MAKE_MEDIA_PATH(pFileName) (TEXT("C:\\Program Files (x86)\\LEAD Technologies\\LEADTOOLS 19\\Media\\")TEXT(pFileName))
void LoadPlayerSettingsfromFile(IltmmPlay *pPlay)
{
// try to load the player settings from a file
HRESULT hr = pPlay->LoadSettingsFromFile(MAKE_MEDIA_PATH("Settings.lmm"), ltmmPlay_Settings_All);
if (FAILED(hr))
{
MessageBox(NULL, TEXT("Error loading player settings from file"), TEXT("Load Play Settings"), MB_OK);
}
}
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET