Hi there.
First of all, I want to thank you for all great plugins you people created.
Second, I have a question about VST problem so I thought that some of you here may have some thoughts, ideas....
Is there any way to somehow redirect DLL loaded by host application with LoadLibrary call in this manner: Host will call my dll and I have to choose from the list of other dlls and to return the one it will use. This is something I need to create VST plugin manager
All plugins in different VST hosts are usualy placed in one long menu line by line. I need to replace that menu with the one containing only one plugin, mine, and then mine will return the choosen VST plugin.
I am aware that I can achieve this by creating clone of eatch function in plugin API and simply transfer calls to desired plugin when VST host calls it. But I don't like this approach since I will have to recompile application for every API change among other things like my dll will be loaded all time etc..
So, I am searching for some other mechanism. Somehow I must change the return value of LoadLibrary call with the handle of the other dll witch will be loaded by my dll.
This is normal operation
VSTHost code to load plugin:
* hEffect = LoadLibrary( "some plugin.dll" )
But now my manager handle plugins so this line will always be:
hEffect = LoadLibrary( "my plugin.dll" );
and then my plugin must do the same as (*) and somehow set hEffect to handle of "some plugin.dll".
I would appriciate every tip or advice.
The only other idea I have is to traverse handle tables of VSTHost and replace handle to my dll with handle of dll I opened. But this is nasty hack, and I don't even know is it possible to do such thing, above all it must use Native API system calls witch are very badly documented.
Thx.
--------------------
www.r-moth.com
Plugin Manager.
Official support for: smartelectronix.com
Moderator: Bram
Plugin Manager.
2006-04-19T09:40:18+00:00
Hi there.
First of all, I want to thank you for all great plugins you people created.
Second, I have a question about VST problem so I thought that some of you here may have some thoughts, ideas....
Is there any way to somehow redirect DLL loaded by host application with LoadLibrary call in this manner: Host will call my dll and I have to choose from the list of other dlls and to return the one it will use. This is something I need to create VST plugin manager
All plugins in different VST hosts are usualy placed in one long menu line by line. I need to replace that menu with the one containing only one plugin, mine, and then mine will return the choosen VST plugin.
I am aware that I can achieve this by creating clone of eatch function in plugin API and simply transfer calls to desired plugin when VST host calls it. But I don't like this approach since I will have to recompile application for every API change among other things like my dll will be loaded all time etc..
So, I am searching for some other mechanism. Somehow I must change the return value of LoadLibrary call with the handle of the other dll witch will be loaded by my dll.
This is normal operation
VSTHost code to load plugin:
* hEffect = LoadLibrary( "some plugin.dll" )
But now my manager handle plugins so this line will always be:
hEffect = LoadLibrary( "my plugin.dll" );
and then my plugin must do the same as (*) and somehow set hEffect to handle of "some plugin.dll".
I would appriciate every tip or advice.
The only other idea I have is to traverse handle tables of VSTHost and replace handle to my dll with handle of dll I opened. But this is nasty hack, and I don't even know is it possible to do such thing, above all it must use Native API system calls witch are very badly documented.
Thx.
--------------------
www.r-moth.com
majkinetor
https://www.kvraudio.com/forum/memberlist.php?mode=viewprofile&u=104731
-
- KVRer
- Topic Starter
- 5 posts since 17 Apr, 2006 from Serbi
- Contact:
Post by majkinetor » Wed Apr 19, 2006 9:40 am
Post Reply
1 post
• Page 1 of 1
Jump to
- The Main Forums
- ↳ KVR Studio Manager
- ↳ KVR Experts
- ↳ Getting Started (AKA What is the best...?)
- ↳ Instruments
- ↳ Effects
- ↳ Hosts & Applications (Sequencers, DAWs, Audio Editors, etc.)
- ↳ Guitars
- ↳ Mobile Apps and Hardware
- ↳ Soundware
- ↳ Samplers, Sampling & Sample Libraries
- ↳ Hardware (Instruments and Effects)
- ↳ Modular Synthesis
- ↳ Sound Design
- ↳ Production Techniques
- ↳ Music Theory
- ↳ Computer Setup and System Configuration
- ↳ DSP and Plugin Development
- ↳ DIY: Build it and they will come
- ↳ Music Cafe
- ↳ Sell & Buy (+Special Offers, Deals & Promos)
- ↳ KVR Developer Challenge 2023
- ↳ Everything Else (Music related)
- ↳ Off Topic
- ↳ Off Topic Classics
- Official Company Forums
- ↳ 2getheraudio
- ↳ accSone
- ↳ Acon Digital
- ↳ AcousticsampleS
- ↳ AcousModules
- ↳ Agitated State
- ↳ AIR Music Technology
- ↳ AMG
- ↳ Ample Sound
- ↳ Antares Audio Technologies
- ↳ Apisonic Labs
- ↳ apulSoft
- ↳ AriesCode
- ↳ Arts Acoustic
- ↳ Arturia
- ↳ Audjoo
- ↳ AudioSpillage
- ↳ Audiority
- ↳ Best Service
- ↳ Big Tick
- ↳ Bitwig
- ↳ Controller Scripting
- ↳ Blue Cat Audio
- ↳ Cherry Audio
- ↳ CWITEC
- ↳ Embertone
- ↳ energyXT
- ↳ Eventide
- ↳ Expert Sleepers
- ↳ forward audio
- ↳ Future Audio Workshop
- ↳ FXpansion
- ↳ g200kg
- ↳ Harrison Mixbus
- ↳ HG Fortune
- ↳ Homegrown Sounds
- ↳ HoRNet Plugins
- ↳ Ilya Efimov Production
- ↳ Image Line
- ↳ Impact Soundworks
- ↳ Indiginus
- ↳ Insert Piz Here
- ↳ Ju-X
- ↳ Kirk Hunter Studios
- ↳ Kirnu
- ↳ Kong Audio
- ↳ Krotos
- ↳ Kuassa
- ↳ KV331 Audio
- ↳ LennarDigital
- ↳ Les Productions Zvon
- ↳ Liqube Audio
- ↳ Loomer
- ↳ LVC-Audio
- ↳ Maizesoft
- ↳ Manytone Music
- ↳ MeldaProduction
- ↳ Mellowmuse
- ↳ MIDIMood
- ↳ moForte
- ↳ Mozaic Beats
- ↳ mucoder
- ↳ MusicDevelopments
- ↳ Tips & Tricks
- ↳ MusicLab
- ↳ MUTOOLS
- ↳ New Sonic Arts
- ↳ NUSofting
- ↳ Oli Larkin Plugins
- ↳ Orange Tree Samples
- ↳ patchpool
- ↳ Photosounder
- ↳ PlugInGuru
- ↳ Polyverse Music
- ↳ Precisionsound
- ↳ Premier Sound Factory
- ↳ Psychic Modulation
- ↳ Realitone
- ↳ Resonance-Sound
- ↳ Reveal Sound
- ↳ Roger Linn Design
- ↳ rs-met
- ↳ S3A: Spatial Audio
- ↳ SaschArt
- ↳ Smart Electronix
- ↳ sonible
- ↳ SonicBirth
- ↳ Sonic Reality / eSoundz.com
- ↳ Soundiron
- ↳ SPC Plugins
- ↳ Sugar Bytes
- ↳ TAL Software
- ↳ Tokyo Dawn Labs
- ↳ Tracktion
- ↳ u-he
- ↳ u-he Linux support
- ↳ United Plugins
- ↳ VAZ Synths
- ↳ Virharmonic
- ↳ Wolfgang Palm
- ↳ xoxos
- ↳ XSRDO - SynthCraft
- ↳ ZynAddSubFX
- Site Stuff
- ↳ Site Stuff
- Archived Forums
- ↳ AlgoMusic
- ↳ easytoolz
- ↳ Elevayta
- ↳ Hollow Sun
- ↳ Kazrog
- ↳ LinPlug
- ↳ Muse Research and Development
- ↳ Shuriken
- ↳ SoHa Sound Design
- ↳ Soniccouture
- ↳ Topten Software
- ↳ Tweakbench
- ↳ Valhalla DSP
- ↳ CK Modules & VST
- ↳ Sennheiser AMBEO
- ↳ Muon Software
- ↳ Westgatesounds.net
- ↳ Squaredheads
- ↳ Sonigen
- ↳ CFA-Sound
- ↳ Back In Time Records
- ↳ Livelab.dk
- ↳ Skytopia
- ↳ audioD3CK
- ↳ Inspire Audio
- ↳ Krakli
- ↳ Drumdrops
- ↳ Futucraft
- ↳ OverTone DSP
- ↳ RaXnTraX
- ↳ solar3d-software
- ↳ Signaldust
- ↳ Soundemote
- KVR Forum index
- All times are UTC
- Delete cookies