My only guess is you lack this:
Code:
#ifdef DLL_EXPORTS
#define DLL_API __declspec(dllexport)
#else
#define DLL_API __declspec(dllimport)
#endif
This
Code:
__declspec(dllexport) void Foo(float* Input , float* Output){
// rapidmind code goes here
return;
}
Will always export the function but it will never import it. With what I showed you when you build the DLL you define DLL_EXPORTS in your pre-processor and DLL_API is then export. When you are using the header for the DLL then you do not define DLL_EXPORTS and DLL_API then becomes import.