Mar-06-2024, 04:38 PM
I recompiled the dll adding extern "C" { } for each function in both the .h and .cpp files, and it solved the problem since the function names are not anymore decorated.
using ctypes to use a dll in a python module
|
|
Messages In This Thread |
using ctypes to use a dll in a python module - by dauriac - Mar-05-2024, 02:48 PM
RE: using ctypes to use a dll in a python module - by buran - Mar-05-2024, 03:06 PM
RE: using ctypes to use a dll in a python module - by dauriac - Mar-06-2024, 09:23 AM
[solved] using ctypes to use a dll in a python module - by dauriac - Mar-06-2024, 04:38 PM
|
Possibly Related Threads… | |||||
Thread | Author | Replies | Views | Last Post | |
Trying to debug segfault in ctypes binding to Fortran | bthomas | 1 | 630 |
Sep-01-2023, 11:26 AM Last Post: bthomas |
|
ctypes | juliolop | 7 | 1,467 |
Apr-20-2023, 03:33 PM Last Post: Larz60+ |
|
Issue while using ctypes in python | GiggsB | 6 | 2,871 |
Mar-27-2022, 03:38 AM Last Post: GiggsB |
|
Ctypes and libffi.so.7 | luxedo | 1 | 6,090 |
Oct-23-2021, 09:24 PM Last Post: DeaD_EyE |
|
possible ctypes and numpy conflict? | herbal_rage | 0 | 3,186 |
Apr-16-2020, 11:35 AM Last Post: herbal_rage |
|
python kernell crash with a ctypes program | Jstechg | 1 | 3,528 |
Nov-24-2018, 02:37 PM Last Post: Jstechg |
|
generating ctypes wrapper for a c library? | brighteningeyes | 9 | 7,177 |
Nov-04-2018, 02:31 AM Last Post: brighteningeyes |
|
DLL library with ctypes | Max20 | 0 | 2,926 |
Aug-19-2018, 11:15 AM Last Post: Max20 |
|
dll not loading to Ctypes | Philbot | 1 | 6,908 |
Jul-01-2018, 09:55 AM Last Post: Philbot |
|
Error Ctypes in Windows | rramosg | 4 | 9,420 |
Oct-17-2017, 05:26 AM Last Post: rramosg |