June 6th, 2014, 02:28 AM
Using an applications window handle in a DLL?
After quite a while I start to program Windows again and as always I have a strange question. What I want to do:
I want a DLL to work as a plugin for the main application. I want to pass a handle to the applications main window to the DLL. Then i want the DLL to create sub windows and controls inside the main window.
Is that possible and is it allowed?. I seem to remember, that there were some restrictions on using handles across module borders.
Thanks a lot for any help!
Click Here to Expand Forum to Full Width
This a Codeguru.com survey!