Using wxProperrtyGrid inside DLL

Igor Korot <[email protected]> Sat, 19 Apr 2025 17:42:28 -0500
Newsgroups gmane.comp.lib.wxwindows.general
Message-ID <CA+FnnTwDANs4CmyZhOyDJLq_RNaj+wqznPqMj5yMhVNwEuCRkQ@mail.gmail.com>
Hi,
I have a DLL project which export some functions thar creates dialogs.

Recently one of the dialogs needed wxPropertyGrid. I added it, but then
program crashes because the Property Grid module was not initialized.

So I added the call to ::wxPGInitResourceModule() before loading the DLL.
Now the crash was fixed but I got another crash when the program exits.

More info can be found at
https://forums.wxwidgets.org/viewtopic.php?f=1&t=51983.

Does anybody experienced something like this?

I can try and make a sample but it will take some time...

Thank you.

-- 
Please read https://www.wxwidgets.org/support/mlhowto.htm before posting.
--- 
You received this message because you are subscribed to the Google Groups "wx-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To view this discussion visit https://groups.google.com/d/msgid/wx-users/CA%2BFnnTwDANs4CmyZhOyDJLq_RNaj%2BwqznPqMj5yMhVNwEuCRkQ%40mail.gmail.com.