Re: [Mingw-w64-public] requirements to use a mingw dll with python

2020-01-22 Thread Ruben Van Boxem
Op di 21 jan. 2020 om 05:48 schreef Biswapriyo Nath : > Generally, there would not be any big difference between compiled dll by > msvc and mingw-w64. > There are quite a few differences actually, not limited to: - dependencies on VS or MinGW-w64/GCC runtime libraries. This will improve if GCC i

Re: [Mingw-w64-public] requirements to use a mingw dll with python

2020-01-21 Thread Stéphane Ancelot
Le 21/01/2020 à 05:47, Biswapriyo Nath a écrit : Generally, there would not be any big difference between compiled dll by msvc and mingw-w64. To further debug your issue, some information is needed. * Can you provide any debug output or error messages given by that program? * May you provide a

Re: [Mingw-w64-public] requirements to use a mingw dll with python

2020-01-20 Thread Biswapriyo Nath
Generally, there would not be any big difference between compiled dll by msvc and mingw-w64. To further debug your issue, some information is needed. * Can you provide any debug output or error messages given by that program? * May you provide a simple, minimal code and procedure to reproduce the

[Mingw-w64-public] requirements to use a mingw dll with python

2020-01-20 Thread Stéphane Ancelot
Hi, I made a python module with swig and mingw64 . The python MSVC loads my dll as an imported module. All the environment (python, dll ...) are 64 bits. It looks like there are some stack issues when running functions inside the mingw dll . (crashed or bugged program). What is strange is t