diff options
author | Thomas Grill <xovo@users.sourceforge.net> | 2005-03-25 04:55:11 +0000 |
---|---|---|
committer | Thomas Grill <xovo@users.sourceforge.net> | 2005-03-25 04:55:11 +0000 |
commit | b3cfaffbe0124254f5da70857f6c1cec59184897 (patch) | |
tree | 0be6278fc661be17a1fe0ca65238adaebecafcaa /externals/grill/vst/src/vsthost.cpp | |
parent | 7b21867fc1b9af84cd0f097b71f3bf456c9b5afd (diff) |
small OSX things
experimenting a bit....
clean handling of plugin deletion (potentially open editor window etc.)
svn path=/trunk/; revision=2646
Diffstat (limited to 'externals/grill/vst/src/vsthost.cpp')
-rw-r--r-- | externals/grill/vst/src/vsthost.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/externals/grill/vst/src/vsthost.cpp b/externals/grill/vst/src/vsthost.cpp index 384fca28..9553f38d 100644 --- a/externals/grill/vst/src/vsthost.cpp +++ b/externals/grill/vst/src/vsthost.cpp @@ -169,8 +169,7 @@ bool VSTPlugin::NewPlugin(const char *plugname) dllname = plugname; #if FLEXT_OS == FLEXT_OS_WIN - FLEXT_ASSERT(!hdll); - hdll = LoadLibrary(dllname.c_str()); + hdll = LoadLibraryEx(dllname.c_str(),NULL,0 /*DONT_RESOLVE_DLL_REFERENCES*/); if(hdll) pluginmain = (PVSTMAIN)GetProcAddress(hdll,"main"); audiomaster = Master; |