Don't call any non-trivial function from DllMain. You can only call
Kernel32.dll functions from there, not even USER32.dll.
What I will try now is to add the UG first (like the test project that
works) and then add the other code until it goes pear-shaped.
I have found the conflict:
I'm calling a function from a DLL in the project. If I remove this
call (note: this call is NOT executed initially. the user has to
navigate through some dialogs and menus to call it) the the progam
will execute and the UI will display.
Add the call back in.. and trouble.
Not sure where to go from here. I need to use the above DLL - it's
worked no problem in applications not containing UG.
Is my option to replace UG? What I need is a grid / table (which can
dynamically change rows and columns) so the user can enter data.
Anyone know of other available grids other that UG?
Thanks.