comparison helper.cpp @ 5:74064d6f5e07

Licence
author Chris Cannam
date Wed, 13 Apr 2016 12:06:26 +0100
parents 6f891a9c6434
children 61dbb18f2369
comparison
equal deleted inserted replaced
4:6f891a9c6434 5:74064d6f5e07
25 * program with them. If the program exits before all listed plugins 25 * program with them. If the program exits before all listed plugins
26 * have been checked, this means that the plugin following the last 26 * have been checked, this means that the plugin following the last
27 * reported one has crashed. Typically the caller may want to run it 27 * reported one has crashed. Typically the caller may want to run it
28 * again, omitting that plugin. 28 * again, omitting that plugin.
29 */ 29 */
30
31 /*
32 Copyright (c) 2016 Queen Mary, University of London
33
34 Permission is hereby granted, free of charge, to any person
35 obtaining a copy of this software and associated documentation
36 files (the "Software"), to deal in the Software without
37 restriction, including without limitation the rights to use, copy,
38 modify, merge, publish, distribute, sublicense, and/or sell copies
39 of the Software, and to permit persons to whom the Software is
40 furnished to do so, subject to the following conditions:
41
42 The above copyright notice and this permission notice shall be
43 included in all copies or substantial portions of the Software.
44
45 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
46 EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
47 MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
48 NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY
49 CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF
50 CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
51 WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
52
53 Except as contained in this notice, the names of the Centre for
54 Digital Music and Queen Mary, University of London shall not be
55 used in advertising or otherwise to promote the sale, use or other
56 dealings in this Software without prior written authorization.
57 */
30 58
31 #ifdef _WIN32 59 #ifdef _WIN32
32 #include <windows.h> 60 #include <windows.h>
33 #include <process.h> 61 #include <process.h>
34 #define DLOPEN(a,b) LoadLibrary((a).toStdWString().c_str()) 62 #define DLOPEN(a,b) LoadLibrary((a).toStdWString().c_str())