error calling c# com interop dll

Posted by aF on Stack Overflow See other posts from Stack Overflow or by aF
Published on 2010-05-23T09:30:42Z Indexed on 2010/05/23 9:40 UTC
Read the original article Hit count: 189

Filed under:

Hello,

I have a python project that calls a c++ dll that calls a c# dll. I wanted all to run without installing visual studio 2008.

I allready made the c++ part by installing Visual C++ 2008 SP1 Redistributable Package (x86) and I also installed .net framework 3.5.

But now, when I call a function from c++ dll (and this one calls its correspondent in c#), it gives me this error:

Traceback (most recent call last):
  File "C:\Users\Public\SoundLog\Code\Código Python\SoundLog\SoundLog.py", line 821, in OnStart
    Auxiliar.DataCollection.start(self)
  File "C:\Users\Public\SoundLog\Code\Código Python\SoundLog\Auxiliar\DataCollection.py", line 68, in start
    SoundLogDLL.run()
  File "C:\Users\Public\SoundLog\Code\Código Python\SoundLog\Auxiliar\SoundLogDLL.py", line 61, in run
    return apiRun()
WindowsError: exception code 0xe0434f4d

This works where I've installed full VS2008 pro version.

What am I missing and what can I do to solve this?

© Stack Overflow or respective owner

Related posts about c#