我的WINDOWS服务程序用WEXEC()或SHELLEXECUTE()调用一个EXE怎么看不到EXE的界面?我要怎么做?
解决方案 »
- 关于制作flash的基础知识
- activex 运行时保持属性的问题
- 如何检测windows mediaplayer的版本号吗?
- 急问:在内存中锁定ActiveX控件的问题!(分不够再加!!!)
- 请问如何在自定义向导中设置not using mfc选项?
- rtp是不是不支持在同一台机器上进行传输,但他不是基于udp的吗?udp不是可以码
- 为什么不能将文字和背景的颜色改变?
- 怎样让打开文件对话框中的文件能够多选?
- CSplitterWnd类 切分窗口问题
- 求救:我用vc2008,在编译时老是出现问题,哪位仁兄帮忙解决以下啊!
- 用oo4o方式读取Oracle8i的raw类型的表数据,是乱码?
- sdk中如何添加ITEM到Header Control?
HWND hWnd, // handle to window
int nCmdShow // show state //SW_HIDE
);
你把你的代码贴出来看看吧!
LPCTSTR lpOperation,
LPCTSTR lpFile,
LPCTSTR lpParameters,
LPCTSTR lpDirectory,
INT nShowCmd
);
你看看,是不是你的nShowCmd参数没有设置正确?一般设置成SW_SHOWNORMALnShowCmd
[in] Flags that specify how an application is to be displayed when it is opened. If lpFile specifies a document file, the flag is simply passed to the associated application. It is up to the application to decide how to handle it.
SW_HIDE
Hides the window and activates another window.
SW_MAXIMIZE
Maximizes the specified window.
SW_MINIMIZE
Minimizes the specified window and activates the next top-level window in the z-order.
SW_RESTORE
Activates and displays the window. If the window is minimized or maximized, Windows restores it to its original size and position. An application should specify this flag when restoring a minimized window.
SW_SHOW
Activates the window and displays it in its current size and position.
SW_SHOWDEFAULT
Sets the show state based on the SW_ flag specified in the STARTUPINFO structure passed to the CreateProcess function by the program that started the application. An application should call ShowWindow with this flag to set the initial show state of its main window.
SW_SHOWMAXIMIZED
Activates the window and displays it as a maximized window.
SW_SHOWMINIMIZED
Activates the window and displays it as a minimized window.
SW_SHOWMINNOACTIVE
Displays the window as a minimized window. The active window remains active.
SW_SHOWNA
Displays the window in its current state. The active window remains active.
SW_SHOWNOACTIVATE
Displays a window in its most recent size and position. The active window remains active.
SW_SHOWNORMAL
Activates and displays a window. If the window is minimized or maximized, Windows restores it to its original size and position. An application should specify this flag when displaying the window for the first time.
你可能要用IPC在进程之间交互