I am reasonably new to C++ and have written a program for the K8055 using Microsoft Visual C++ 2008 Express Edition using a Windows Form Application but I am having trouble getting it to work with the DLL K8055D_C.dll
If I compile using /clr:pure I get the compiler error:
…\projects\robot\keen+\K8055D_C.h(43) : error C3389: __declspec(dllexport) cannot be used with /clr:pure or /clr:safe
If I compile using /clr it compiles and links but crashes immediately (unhandled exception due to an Access Violation) when I try to debug. It does not even get as far as the initial breakpoint.
Has anyone any idea what might be the cause of my problem?
Neil.