title: Can DLL be used with Windows Form applications
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/4741035/how-do-i-dllexport-a-c-class-for-use-in-a-c-application">How do I DllExport a C++ Class for use in a C# Application</a>  </p>
  </blockquote>
  
  
  
  <p>I want to use my functions in DLL files in Windows Form based Application. Is it possible and if yes, Then please post a suitable tutorial as i am getting the following error when trying to do so with one of the DIVIDE function in DLL:</p>
  
  <p>..\Visual Studio 2010\Projects\test\MathFuncsDll\MathFuncsDll.h(19): error C3395: 'MathFuncs::MyMathFuncs::Divide' : __declspec(dllexport) cannot be applied to a function with the __clrcall calling convention</p>