Hi All,
In web searches I found a post (not sure how old) that explains how to create a DSP task DLL for dMC. The example was doing something simple like a channel swap. I followed the example and used Visual Studio to create a DLL with the same 3 functions in the example exported from the DLL. I also wrote a test program to make sure LoadLibrary/GetProcAddress/<call> works on one of the functions. Placing this DLL in the DSP directory causes the task to show up in the list, but running it fails. I get the error "Unable to load DSP Effect [dbCoreConverter::LoadDSPEffects]".
As far as I can see, the DLL must export three functions:
extern "C" __declspec(dllexport)
void ShowDSPSettings(HWND OnForm)
extern "C" __declspec(dllexport)
void RemoveDSPSettings(void)
extern "C" __declspec(dllexport)
bool DSPWorkOnThisFile(char *FileName, WAVEFORMATEX *wfx)
Is this kind of thing still supported? Is there any update to how it's done? Anything I missed that's required to get it working?
Dan
In web searches I found a post (not sure how old) that explains how to create a DSP task DLL for dMC. The example was doing something simple like a channel swap. I followed the example and used Visual Studio to create a DLL with the same 3 functions in the example exported from the DLL. I also wrote a test program to make sure LoadLibrary/GetProcAddress/<call> works on one of the functions. Placing this DLL in the DSP directory causes the task to show up in the list, but running it fails. I get the error "Unable to load DSP Effect [dbCoreConverter::LoadDSPEffects]".
As far as I can see, the DLL must export three functions:
extern "C" __declspec(dllexport)
void ShowDSPSettings(HWND OnForm)
extern "C" __declspec(dllexport)
void RemoveDSPSettings(void)
extern "C" __declspec(dllexport)
bool DSPWorkOnThisFile(char *FileName, WAVEFORMATEX *wfx)
Is this kind of thing still supported? Is there any update to how it's done? Anything I missed that's required to get it working?
Dan

Comment