CompuServe Thread

#using aaplay.lib & dll

4 messages in this thread
#190887From: Phil CrescenzoSep 14, 1995 4:53 PM
I have an application that reads other file types and cuts them up as SNES sprites. I am just starting to add the fli/flc player and I can't get my app to link cause it can't find the aa<funcs>() like aaOpen(). etc. I am using BCW4.51 and I have the aaplay.lib in my project list. I am also loading aaplay.dll with a LoadLibrary() call. But the linker can't find the aaplay stuff. … It must be something simple and stupid… sure could use help… PS… i DO have the Anim Support LIbs v2.0… Thanks in advance…
#190897From: [F] Grant Blaha [Adesk]Sep 14, 1995 6:08 PM
Hi Phil, Are you producing a C++ application? If so, the compiler name mangling could get in the way of things. You should wrap the aaplay header file with an extern "C" declaration. – Grant -Grant Blaha [ADESK]
#190901From: Phil CrescenzoSep 14, 1995 6:25 PM
>> You should wrap the aaplay header file with an extern "C" declaration. I am not creating a C++ application. Shouldn't need the wrap should I ? Linker can't find aaOpen(); ps… thanks for the pronto response.. really appreciate it!
#190902From: Phil CrescenzoSep 14, 1995 6:40 PM
Glen… Turning off "CASE SENSITIVE EXPORTS AND IMPORTS" in the bcw4.51 options | Linker settings did the trick.Then Linker now can find aaOpen(). Not sure why. Any light shed would be helpful…. Thanks again…