I am working on an application written in VB for .NET CF to run on a PDA (Windows CE/Windows Mobile 2003). I am using some APIs from FMOD that require float parameters to be passed. It appears this is not possible as a direct call to the FMOD .dll in .NET CF.
As I understand it, I need to write a wrapper in eMbedded Visual C which would act as the bridge between VB and FMOD’s functions. So, basically VB would call the wrapper (passing the float arguments by reference) method which would in turn call the FMOD function. Is this correct?
The functions are in the fmodce.dll file. I just need to wrap 2 functions:
signed char F_API FSOUND_Sample_SetMinMaxDistance(
void F_API FSOUND_3D_Listener_SetAttributes(
const F_FLOAT_API */pos/,
const F_FLOAT_API */vel/,
Can anyone offer an outline of the steps to create and compile a wrapper for these functions? I haven’t worked with eMbedded Visual C before… so would need details.
Thanks for any pointers!
- mark asked 11 years ago
- You must login to post comments