This project is read-only.

MapWinGis ActiveX problem

Apr 25, 2016 at 10:08 PM
Hi


1.I'm developing MFC application with MapWinGIS
ActiveX - the main dialog contain Tab control.
2.I inserted the MapWinGIS activex and put it on
the tab dialog, that's it (without any member
to him) ,the problem is when I close the
application it never close!! when I remove the
activex from the dialog application close
perfect (the app is multithread )

cant find any solution

Best Regards
Apr 26, 2016 at 7:18 AM
I'm not familiar with MPC applications.

Does this only happen when you have loaded some data or even when you just open your application and close it right away?
It sounds like the multi-threading is causing the problem. Could you als try with a single threaded application?

Regards,

Paul
Apr 26, 2016 at 8:02 AM
HI pmeems

I just run my application and close it right away - that's it and the app not close.
When I break to see what's going on , I see that one of the thread never gets into his
destructor - but when I remove the activeX from the dialog the destructor called
and the app close perfect

I try with a single thread and it close perfect - but I need my multi-threading

Regards,

Meir