#pragma once #include class CFishEyeWindow { public: CFishEyeWindow(); void Start(HWND hWnd,const char* ip); void Stop(); static LRESULT CALLBACK WndProc(HWND hWnd, UINT wMsg, WPARAM wParam, LPARAM lParam); private: void Run(); HWND m_hWnd; HWND m_hParent; std::thread m_Thread; bool m_bRun; LONG lRealPlayHandle; LONG lUserID; std::string szAddress; };