Python Forum
Using C++/CLI wrapper functions by Python
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Using C++/CLI wrapper functions by Python
#1
Hello,

I have created C++ Dll to be loaded by many programs, interfaces (also Python). This Dll is calling another C++/CLI Dll wrapper which wraps C# Dll (Licencing functions).

This program can work in several interfaces fine (C++ .exe, C# GUI...), but when calling by Python it fails always on the C++/CLI Dll wrapper function. In this, it is also unable to go inside the C++/CLI Dll function (probably unable to load the Dll). When I call it from Python console, I receive

Traceback (most recent call last): File "", line 1, in OSError: [WinError -532462766] Windows Error 0xe0434352

I found out on internet that this is reported by many authors. But I was not able to find any solution.

I really don't understand why is that? As I mentioned, I call Dll also from C++ .exe or C# .exe without any problem. Also if I comment wrapper function, then can use all C++ Dll functions without errror.

Thank you in advance for your answer.
Reply


Messages In This Thread
Using C++/CLI wrapper functions by Python - by Ales1000 - Mar-01-2022, 08:21 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  SystemError: <method-wrapper '__getattribute__' of EnumMeta object sciloop 4 1,560 Jul-23-2022, 07:57 PM
Last Post: sciloop
  Python executable Script (Wrapper) Hwang 2 1,935 Jan-12-2022, 06:53 PM
Last Post: Hwang
  Sqla wrapper Slojure 1 1,555 Nov-01-2021, 04:36 PM
Last Post: Larz60+
  Python C++ wrapper problem JESuh 1 2,207 Mar-30-2021, 04:37 PM
Last Post: nilamo
  C++ Wrapper for python yamifm0f 6 3,154 Nov-07-2019, 06:40 PM
Last Post: Gribouillis
  generating ctypes wrapper for a c library? brighteningeyes 9 7,179 Nov-04-2018, 02:31 AM
Last Post: brighteningeyes
  how to retrieve datas with Overpass API python wrapper apollo 0 2,930 Oct-15-2017, 02:27 PM
Last Post: apollo

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020