Hi, I'm new to Factor and I'm trying to interface to FMOD.DLL. Here is what I have so far, in a file named:
Anton/test-fmod.factor -- USING: kernel alien ; IN: fmod "fmod" "Anton/fmod.dll" "stdcall" add-library ! "stdcall" or "cdecl" LIBRARY: fmod ! DLL_API float F_API FSOUND_GetVersion(); FUNCTION: float FSOUND_GetVersion ( ) ; USE: compiler \ FSOUND_GetVersion compile ! Word: FSOUND_GetVersion ! FFI: FSOUND_GetVersion: The specified procedure could not be found. ! Nesting: { FSOUND_GetVersion } -- Pasting each line above manually into the listener (Factor/f.exe anyway) is ok until I try to compile the function. What am I doing wrong ? I've also tried "fmod" load-library drop at various points, as well as "cdecl". I appreciate any help, Regards, Anton. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Factor-talk mailing list Factor-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/factor-talk