Home > Back-end >  C builder service performed in the open shellececute CHM files why no response
C builder service performed in the open shellececute CHM files why no response

Time:10-09

C + + builder in the service of execution shellececute open CHM file without any reaction, print messages displayed apphelp frame have been loaded. The DLL module

CodePudding user response:

ShellExecute (GetDesktopWindow (), "open", "c: \ \ test CHM", 0, 0, SW_SHOWNORMAL);

CodePudding user response:

Service program is in the Session of 0

CodePudding user response:

I am using xp system, service and application in the same session, exactly like that, I built a service application project, and then put a trayicon on service, and then add an item in the trayicon ppmenu, click is invoked after the ShellExecute (GetDesktopWindow (), "open", "c: \ \ test CHM", 0, 0, SW_SHOWNORMAL); The beginning of shows a few times, then simply don't show at a time,
  • Related