![]() "" (empty string) if there is incompatibility between the version in the command and the version of the library."MediaInfoLib - vA.B.C.D xxx" if there is no incompatibilities beween the version in the command and the version of the library (xxx may be URL, modification information of the DLL.).Note : if during beta tests, you detect incompatibilities between the library and an old application, contact the MediaInfo developer, he will put the application version in a black list. **APP_VERSION** is the version of your application. Examples : "MediaInfoGUI", "MediaInfoCmd". **APP_NAME** is the unique name of your application. ![]() **VERSION** is the version of MediaInfo you have tested. MediaInfo::Options("Info_Version", " **VERSION** **APP_NAME** **APP_VERSION**") MediaInfo::Options("Internet", "No") The version of the libraryįirst, you need to know the version of the DLL.īecause if you have a newer version, you can have crash or unwanted behaviour. If for some reasons you don't want this connection, deactivate it. MediaInfoLib tries to connect to an Internet server for availability of newer software, anonymous statistics and retrieving information about a file (Later. Note : in the DLL only, you can use UTF-8 codepage: MediaInfoA_Options("CodePage", "UTF-8") Legacy version of above, with ANSI (one byte per character) characters in place of Unicode. They are Unicode enabled (2 or 4 bytes character). You should use the Unicode enabled library and make your program Unicode ready if you start a new program.Įxception : Microsoft Windows command line does not support Unicode, so if you use command line, let use MediaInfo without Unicode.įor the DLL, because only one version of it is released, you have: This is internationalization (I18N), and you can show to the user multiple alphabets (Greek, russian, french.) without coding problems! With this, you don't mind of the location of your program to show text. (for DLL only: MediaInfo::Delete(Handle)) Unicode?Īs for every modern library, MediaInfo(Lib) support Unicode. This should be use only if you don't expect all error messages (there will be only one error message for all possible errors) and want to open only one file: void* Hande=MediaInfo::OpenQuick("**FILENAME**", " **VERSION** **APP_NAME** **APP_VERSION**") MediaInfo::Inform(). ![]() (for DLL only: MediaInfo::Delete(Handle)) Init (only one time): MediaInfo::Options("Info_Version", " **VERSION** **APP_NAME** **APP_VERSION**") MediaInfo Handle (for DLL : void* Handle=MediaInfo::New())įor each file: MediaInfo::Open("**FILENAME**") MediaInfo::Inform(). How to begin quickly with MediaInfo Example What you should doĪ quick example, explained line per line in the next chapters (note : with the DLL, and you must adapt it to your language):
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |