Some might have read earlier posts that we were looking for someone to make BASS run with Rewire.
We Found someone and hired him long time ago and he did it and Finished it but my programmer/partner got really sick when he finished it and didn't get around to looking at the implementation for 3 months and in that time the REWIRE programmer disappeared (i think something bad happend to him) and we never got the source code cuz we were waiting to check it first and do changes.
Long Story short of what I need:
We have the Rewire engine DLL and the installer and the test app works fine that he made.
We have all the docs too!! (see below)
but when we try to load the DLL in or old VB6 program it doesn't load for some reason.
He is too busy to figure it out right now and we are willing to give this plugin to the first few guys that respond to this to see if they can get it running in their app and to tell us the tricks.
So Basically
Make it run in your app, tell us what we did wrong and get a Free Rewire Plugin for BASS......

shouldn't take more then 20 mins to pop it in from the look of the docs.
(See below)
We are thinking it's a VB6 problem, we are going to C# in the future but like to know if that is our problem or not.
the only downfall, since it's already been compiled, your app will play thru Rewire ports named BaseHead Rewire.
Email me to get the full kit
Cya!!
Steve
www.BaseHeadInc.com-------------
Exported functions
int BHRW_GetLastErrorCode()
Retrieves the error code for the most recent function call.
BOOL BHRW_Init()
Initializes an BHRWEngine.
BOOL BHRW_Free()
Frees all resources used by the BHRWEngine.
BOOL BHRW_SetChannel(DWORD handle)
Plugs a BASS channel into BHRWEngine.
handle The handle of the BASS channel. Channel must be 32-bit floating-point decoding channel.
Example:
chid = BASS_StreamCreateFile(False, FileName, 0, 0, BASS_SAMPLE_FLOAT | BASS_STREAM_DECODE);
BHRW_SetChannel(chid);
BOOL BHRW_RemoveChannel()
Unplugs a BASS channel from BHRWEngine.
BOOL BHRW_ResamplerEnable()
Enable resampler.
BHRWEngine will resample source channel to match ReWire mixer application’s output sample rate.
BOOL BHRW_ResamplerDisable()
Disable resampler.
BOOL BHRW_Play()
Sends “Play” command to ReWire mixer application.
BOOL BHRW_Stop()
Sends “Stop” command to ReWire mixer application.
Return values
All functions (except first one) returns TRUE if successful, FALSE otherwise, use BHRW_GetLastErrorCode() to get the error code.
Error codes
BHRW_ERROR_OK
Duno what's that
BHRW_ERROR_INIT
BHRW_Init has not been successfully called.
BHRW_ERROR_MEM
Buy more RAM
BHRW_ERROR_PORT
The communications port is not currently connected.
BHRW_ERROR_ILLPARAM
Invalid parameter.
BHRW_ERROR_UNKNOWN
Unknown error.
BHRW_ERROR_NOTFOUND
The ReWire system DLL could not be found.
BHRW_ERROR_VERSION
Installed ReWire system is to old for this ReWire implementation.
BHRW_ERROR_LOAD
Failed to load the ReWire DLL.
BHRW_ERROR_ALREADY
ReWire.dll already loaded.
BHRW_ERROR_CORRUPT
Failed to read the ReWire dll from disk.
BHRW_ERROR_MIXERAPP
Mixer application currently not running.
BHRW_ERROR_SIGNATURE
Invalid signature.
BHRW_ERROR_HANDLE
Invalid BASS channel handle.
BHRW_ERROR_CHANS
Invalid number of channels. Only 1 (mono), 2 (stereo) and 6 (5.1) channels are supported.
BHRW_ERROR_RESAMPLER
Can’t init resampler.
Example
Init, open, play…
// Initialise Bass… "no sound" device - playing thru ReWire…
BASS_SetConfig(BASS_CONFIG_UPDATEPERIOD, 0);
BASS_SetConfig(BASS_CONFIG_FLOATDSP, 1);
BASS_Init(0, 44100, 0, Handle, nil);
// Initialise BHRW…
BHRW_Init();
// Open file as decoding channel…
chid = BASS_StreamCreateFile(False, FileName, 0, 0, BASS_SAMPLE_FLOAT | BASS_STREAM_DECODE);
//… and plug into BHRW…
BHRW_SetChannel(chid);
// Play…
BHRW_Play();
Stop, close, free…
// Stop and unplug channel form BHRW…
BHRW_Stop();
BHRW_RemoveChannel();
// Free stream …
BASS_StreamFree(chid);
// Free BHRW…
BHRW_Free();
// Free BASS…
BASS_Free();
Requirements
- bass.dll 2.3
- bassmix.dll 2.3 beta
- BHRWDevice.dll
Registering BHRWDevice
If you, for example, install BHRWDevice.dll into C:\Program Files\BaseHead\ReWire\ folder you have to create following key in registry:
[HKEY_LOCAL_MACHINE\SOFTWARE\Propellerhead Software\ReWire\BaseHead ReWire]
"Device Path"="C:\\Program Files\\BaseHead\\ReWire\\BHRWDevice.dll"