I've always wondered why SimConnect requires a Window handle rather than an instance handle or PID?
1. WPF Application.xaml -- any code reference needed for SimConnect can't happen here because there is no window handle.
2. Windows Service -- again any code reference needed for SimConnect can't happen because there is no window handle.
For WPF, I have to create a window instance and work from that handle. But for Windows Service there is no associated UI. BUT why use a Window Handle (HWND) and not something like PID or HINSTANCE?
1 post • Page 1 of 1
Who is online
Users browsing this forum: No registered users and 12 guests