Mark1nc, thanks for the reply.
I'm doing this a bit differently (not using LoadLibraryA()) but you're suggestion fixed the problem!! I've added "win32" to my mod like this:
and it appears to be working properly now. Thanks for your help!
I'm doing this a bit differently (not using LoadLibraryA()) but you're suggestion fixed the problem!! I've added "win32" to my mod like this:
Module teavirus.fmod Import "libfmod.a" Extern "win32" Function FSOUND_Init( mixrate,maxsoftwarechannels,flags ) = "FSOUND_Init@12" Function FSOUND_Close() = "FSOUND_Close@0" Function FSOUND_File_SetCallbacks( useropen,userclose,userread,userseek,usertell ) = "FSOUND_File_SetCallbacks@20" Function FSOUND_SetBufferSize( len_ms ) = "FSOUND_SetBufferSize@4" Function FSOUND_SetDriver( driver ) = "FSOUND_SetDriver@4" Function FSOUND_SetHWND( hwnd:Byte Ptr ) = "FSOUND_SetHWND@4" Function FSOUND_SetMaxHardwareChannels( maxchn ) = "FSOUND_SetMaxHardwareChannels@4" Function FSOUND_SetMemorySystem( poolmem:Byte Ptr,poollen,useralloc,userrealloc,userfree ) = "FSOUND_SetMemorySystem@20" Function FSOUND_SetMinHardwareChannels( minchn ) = "FSOUND_SetMinHardwareChannels@4" Function FSOUND_SetMixer( mixer ) = "FSOUND_SetMixer@4" Function FSOUND_SetOutput( outputtype ) = "FSOUND_SetOutput@4" Function FSOUND_Update() = "FSOUND_Update@0" Function FSOUND_GetVersion:Float() = "FSOUND_GetVersion@0" Function FSOUND_GetError() = "FSOUND_GetError@0" EndExtern
and it appears to be working properly now. Thanks for your help!