Re: Threading module and embedded python

2020-04-16 Thread Eko palypse
Thank you for your help. I made a minimum example which just creates the dialog window. This runs, using the standard python37.exe without a problem. But this also runs within the embedded interpreter slightly different then my previous code. In my previous code I used the hwnd from the C++ app

Re: Threading module and embedded python

2020-04-16 Thread Barry Scott
> On 16 Apr 2020, at 14:55, Eko palypse wrote: > > Barry, sorry for sending you a private message yesterday, was not intended. > > No, I only have rudimentary knowledge of C++, > but it has been developing since I started using Cython. > I haven't done any stack analysis yet but hey, there's a

Re: Threading module and embedded python

2020-04-16 Thread Eko palypse
Barry, sorry for sending you a private message yesterday, was not intended. No, I only have rudimentary knowledge of C++, but it has been developing since I started using Cython. I haven't done any stack analysis yet but hey, there's always a first time. I think my stubbornness could be of help he

Re: Threading module and embedded python

2020-04-15 Thread Barry
> On 15 Apr 2020, at 21:18, Eko palypse wrote: > > Thank you for your suggestion. I will give it a try. > >> What is the "stuck" thread doing? waiting for a lock? > > No, it should open a dialog created with DialogBoxIndirectParamW >

Re: Threading module and embedded python

2020-04-15 Thread Eko palypse
Thank you for your suggestion. I will give it a try. > What is the "stuck" thread doing? waiting for a lock? No, it should open a dialog created with DialogBoxIndirectParamW . Eren Am Mi., 15. Apr. 2

Re: Threading module and embedded python

2020-04-15 Thread Barry Scott
> On 15 Apr 2020, at 13:30, Eko palypse wrote: > > Hi everyone, > > the following happens on Windows7 x64 and Python37 x64 > > I have a plugin DLL for a C++ application in which Python37 is embedded. > The plugin itself works, except when I want to use the threading module. > > If I start a