Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: using ctypes to use a dll in a python module
Post: [solved] using ctypes to use a dll in a python mod...

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.
dauriac General Coding Help 3 366 Mar-06-2024, 04:38 PM
    Thread: using ctypes to use a dll in a python module
Post: RE: using ctypes to use a dll in a python module

Thakyou for your answer Python 3.10.12 (main, Jun 14 2023, 19:14:29) [GCC 13.1.0 64 bit (AMD64)] on win32 Type "help", "copyright", "credits" or "license" for more information. pymodbus accessible &g...
dauriac General Coding Help 3 366 Mar-06-2024, 09:23 AM
    Thread: using ctypes to use a dll in a python module
Post: using ctypes to use a dll in a python module

Hello, working on a windows system and I need to import a dll into a python module. I use ctypes import ctypes,sys myLib = ctypes.CDLL("./myDLL.dll") so far so good but then I want to use a function ...
dauriac General Coding Help 3 366 Mar-05-2024, 02:48 PM
    Thread: using subpocess for both reading and writing simultaneously
Post: RE: using subpocess for both reading and writing s...

[python] for i in xrange[2): [\python]
dauriac General Coding Help 11 9,654 May-29-2018, 04:24 PM
    Thread: using subpocess for both reading and writing simultaneously
Post: using subpocess for both reading and writing simul...

Hello I have a very simple python code cpt.py: for i in xrange(2): print i # line 2 ans = raw_input() # line 3 print ans # line 4I want to write another py...
dauriac General Coding Help 11 9,654 May-29-2018, 02:13 PM

User Panel Messages

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