Skip to content

Commit

Permalink
Fix library load on Windows: libxml2.dll conflict between JRE and Apple
Browse files Browse the repository at this point in the history
Application Support - need to test on XP
  • Loading branch information
msftguy committed Jun 29, 2013
1 parent f7c74d7 commit 2fd58f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mux_redux/mux_load.h
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ __inline int itmd_load(char* errorBuf, size_t cbErrorBuf) {
_snprintf_s(errorBuf, cbErrorBuf, _TRUNCATE, "Could not read the 'iTunesMobileDeviceDLL' key from registry; ABORTING");
return 4;
}
if (!LoadLibraryW(wbuf)) {
if (!LoadLibraryExW(wbuf, NULL, LOAD_WITH_ALTERED_SEARCH_PATH)) {
_snprintf_s(errorBuf, cbErrorBuf, _TRUNCATE, "Could not load iTunesMobileDevice from %ws; ABORTING", wbuf);
return 5;
}
Expand Down

0 comments on commit 2fd58f9

Please sign in to comment.