I have written an ADSRX application for interfacing with AutoCAD that works great. However, I need to add a call to a new fcn they (Autodesk) added to let Autocad know that my app is MDI "aware". I added an explciti interface just as with all the other library fcns and issued the call at the appropriate spot. However, the linker comes up with the ever-popular "unresolved external" message. I use DUMPBIN to check that the fcn was in one of the libs I am linking against and am given the following
?acrxRegisterAppMDIAware@@YA_NPAX@Z (bool __cdecl acrxRegisterAppMDIAware(void *))
My interface looks like this:
integer*4 function acrxRegisterAppMDIAware(appID) !DEC$ ATTRIBUTES C, ALIAS : '_acrxRegisterAppMDIAware' :: acrxRegisterAppMDIAware integer*4 appID end function
I don't have any experience in C++ and can't quite determine how to declare the interface for this particular fcn since all of the others compile, link and operate fine. Any suggestions?