[Python.NET] Newbie question - does the NET DLL have to be compiled with the same compiler version as Python

Matt Slezak nocman43202 at yahoo.com
Sun May 21 12:47:22 EDT 2017


Just FYI the error I get trying to calculate results (I have an equivalent MATLAB wrapper that works):
QCLSpread.CalculateResults()Traceback (most recent call last):
  File "<ipython-input-32-b11ac96e29d2>", line 1, in <module>    QCLSpread.CalculateResults()
Exception: QCLDispatch.QclSpreadOpt   at QclEndurAdapter.QclSpreadOption.CalculateResults()
The NET DLL was compiled with Visual Studio 2013 and Python 3.5 uses Visual Studio 2015 I don't know if that's the problem but I can recompile the NET DLL if so.  Otherwise if anyone has ideas on how to get more information on the error that would be greatly appreciated.  The error is not very clear in a troubleshooting sense. 

    On Sunday, May 21, 2017 10:55 AM, Matt Slezak via PythonDotNet <pythondotnet at python.org> wrote:
 

 I have wrapped a project and it does everything except calculate the results (blah).  In Cython I know I had to compile Python add-ins with Visual Studio 2015 for Python 3.5.  The NET DLL I am using was compiled with Visual Studio 2013.  Could this be a problem?  Or does PythonNET not care about the compiler used for DLLs?
Much appreciated.
Matt Slezak_________________________________________________
Python.NET mailing list - PythonDotNet at python.org
https://mail.python.org/mailman/listinfo/pythondotnet


   
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/pythondotnet/attachments/20170521/f30bd867/attachment-0001.html>


More information about the PythonDotNet mailing list