I have a new application written in WPF that needs to support an old API that allows it to receive a message that has been posted to a hidden window. Typically another appl
WNDCLASS wind_class; put the definition in the class, not the function, and the crash will be fixed.