>Still doesn't work.. What abour processes? I think rather than threads it's leaving processes open. I went through the Word Perfect OLE commands and it didn't have one(that I could find) for destroying other processes/threads. This situation is becoming a rather large annoyance. The way some of my customers use the app, it winds up with 8 or 9 processes left open. Word behaves fine in this instance (but not as well as WP in others ; ) ) I'm lost here. Anyboody have any ideas?
Hi Joe,
You can call me a dunce if you like on this. I'll even put on the cap <:-). Anyway, please bear with me on this, and, if you don't mind, answer a couple of questions.
1. What's spawning the additional threads? Interaction with WP's OLE commands, or are they created by multiple calls to CREATEOBJECT()? The reason I ask is that it is WP's job to clean up after itself. If it's one CREATEOBJECT() then subsequent calls to the interface, then when that object is destroyed WP should close everthing up.
2. If there's any sort of consistency to the additional title bars, have you tried using Is_Run32 to get the window handle, then sending a WM_QUIT or other message to them via SendMessage()?
George
Ubi caritas et amor, deus ibi est