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 |