aboutsummaryrefslogtreecommitdiff
path: root/externals/grill/vst/src/vsthost.cpp
diff options
context:
space:
mode:
authorThomas Grill <xovo@users.sourceforge.net>2005-03-25 04:55:11 +0000
committerThomas Grill <xovo@users.sourceforge.net>2005-03-25 04:55:11 +0000
commitb3cfaffbe0124254f5da70857f6c1cec59184897 (patch)
tree0be6278fc661be17a1fe0ca65238adaebecafcaa /externals/grill/vst/src/vsthost.cpp
parent7b21867fc1b9af84cd0f097b71f3bf456c9b5afd (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.cpp3
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;