tried the 32-bit Setting but got the same error an i tried changing the
python Version also to 32-bit. but got the below
*Error*:
Managed Debugging Assistant "PInvokeStackImbalance": "A call to the PInvoke
function" Python.Runtime! Python.Runtime.Runtime :: PyDict_GetItemString
"has disturbed the balance of the batch. The managed PInvoke signature
probably does not match the unmanaged target signature Verify that the
calling convention and parameters of the PInvoke signature match the
unmanaged target signature. "

On Wed, Mar 4, 2020 at 8:10 PM Govil Nag <govilnag...@gmail.com> wrote:

> tried the 32-bit Setting but got the same error an i tried changing the
> python Version also to 32-bit. but got the below
> *Error*:Assistent für verwaltetes Debuggen "PInvokeStackImbalance" : "Ein
> Aufruf an die PInvoke-Funktion
> "Python.Runtime!Python.Runtime.Runtime::PyDict_GetItemString" hat das
> Gleichgewicht des Stapels gestört. Wahrscheinlich stimmt die verwaltete
> PInvoke-Signatur nicht mit der nicht verwalteten Zielsignatur überein.
> Überprüfen Sie, ob die Aufrufkonvention und die Parameter der
> PInvoke-Signatur mit der nicht verwalteten Zielsignatur übereinstimmen."
>
>
> On Wed, Mar 4, 2020 at 7:02 PM Victor “LOST” Milovanov <
> lostfree...@gmail.com> wrote:
>
>> AnyCPU assemblies can use x86 and x64 assemblies, as long as they run
>> with corresponding architecture (check Prefer 32-bit setting
>> <https://stackoverflow.com/questions/12066638/what-is-the-purpose-of-the-prefer-32-bit-setting-in-visual-studio-and-how-does>
>> if you are experiencing issue with x64 assembly).
>>
>>
>>
>> You need a pythonnet dll matching your Python architecture.
>>
>>
>>
>> Regards,
>>
>> Victor
>>
>>
>>
>>
>>
>> *From: *Govil Nag <govilnag...@gmail.com>
>> *Sent: *Wednesday, March 4, 2020 1:51 AM
>> *To: *pythonnet@python.org
>> *Subject: *[Python.NET] DLL Processor compatibility
>>
>>
>>
>> hallo,
>>
>>
>>
>> pythonnet dll work either x64 bit processor or x86 processor ..is it
>> possible to run it in visual Studio with "Any CPU"
>>
>>
>> _______________________________________________
>> PythonNet mailing list -- pythonnet@python.org
>> To unsubscribe send an email to pythonnet-le...@python.org
>> https://mail.python.org/mailman3/lists/pythonnet.python.org/
>>
>
_______________________________________________
PythonNet mailing list -- pythonnet@python.org
To unsubscribe send an email to pythonnet-le...@python.org
https://mail.python.org/mailman3/lists/pythonnet.python.org/

Reply via email to