The following code can't show Form2 (7 + XE5) :
unit Unit1; Interface USES the Winapi. Windows, Winapi Messages, System. SysUtils, System. Classes, Vcl. Graphics, Vcl. Controls, Vcl. SvcMgr, Vcl. Dialogs; Type TService1=class (TService) Procedure ServiceStart (Sender: TService; Var Started: Boolean); Private {Private declarations} Public The function GetServiceController: TServiceController; Override. {Public declarations} end; Var Service1: TService1; Implementation {$R *. DFM} USES Unit2. Procedure ServiceController (CtrlCode: DWord); Stdcall; The begin Service1. Controller (CtrlCode); end; The function TService1. GetServiceController: TServiceController; The begin Result:=ServiceController; end; Procedure TService1. ServiceStart (Sender: TService; Var Started: Boolean); The begin The Vcl. SvcMgr. Application. The Create (TForm2, Form2); Form2. Show; end; End. CodePudding user response:
In Windows Vista and Windows 7 or more service is running in a different session, not in the user's session display interface, completely isolated.
Can only be run on the user's session with the interface of the program, and service procedures to control the process of communication.
If it is under the XP version allows intercrossing and users can be selected for display.
CodePudding user response:
The three layers of middleware, above the Windows 7 to run automatically boot it, sometimes open the window for some operation
A good way to what is simple?
CodePudding user response:
reference 1st floor wr960204 response: in Vista and Windows 7 or more service is running in a different session, not in the user's session display interface, completely isolated. Can only be run on the user's session with the interface of the program, and service procedures to control the process of communication. If it is under the XP version allows intercrossing and users can be selected for display. The three layers of middleware, above the Windows 7 to run automatically boot it, sometimes open the window for some operation A good way to what is simple? CodePudding user response:
Under XP, good implementation, under the Windows 7, a lot of trouble, but still, I can give you a perfect code, and post them out, but also hope that you have the dedication, 50 points, too little, so bad to get function, only to this points, ah! CodePudding user response:
Mwy654321 reference 4 floor response: under the XP, very good implementation, under the Windows 7, a lot of trouble, but still, I can give you a perfect code, and post them out, but also hope that you have the dedication, 50 points, too little, so bad to get function, only to this points, ah! Like remaining and 100 points, can the other open all give you, sorry CodePudding user response:
How to increase the available points? A. the login and participate in reply, every day can add 10 points available; B. when you publish the wonderful posts, obtain the moderator recommended, will receive 88 points; C. take an active part in BBS activities, such as a bet on the game, you can win points available; D. technology growth technology per week increased by more than 30 points, available increase 40; E. reply reply above 10 times a week for many times, can increase 30; F. junction post returned 50% post grades; To sum up, as long as you often come to BBS Posting, your available points will increase, whether with others and they give you points or not to, has nothing to do, When you earn enough points, then, to be specific code, I answer here or friendship ideas: you'll have to use a function to improve system permissions, access Token, and SessionId, if you are a clever man, this information can help you search the answer on the net, You also can add cent for this post, in order to increase your attention to the problem, and the others answer, CodePudding user response:
refer to 6th floor mwy654321 response: how to increase the available points? A. the login and participate in reply, every day can add 10 points available; B. when you publish the wonderful posts, obtain the moderator recommended, will receive 88 points; C. take an active part in BBS activities, such as a bet on the game, you can win points available; D. technology growth technology per week increased by more than 30 points, available increase 40; E. reply reply above 10 times a week for many times, can increase 30; F. junction post returned 50% post grades; To sum up, as long as you often come to BBS Posting, your available points will increase, whether with others and they give you points or not to, has nothing to do, When you earn enough points, then, to be specific code, I answer here or friendship ideas: you'll have to use a function to improve system permissions, access Token, and SessionId, if you are a clever man, this information can help you search the answer on the net, You also can add cent for this post, in order to increase your attention to the problem, and answer, others Added a point after, plus tips "this post has reached to a maximum score, does not allow operating points," Trouble friend on code, we will thank you, CodePudding user response:
reference FlashDance reply: 3/f Quote: refer to 1st floor wr960204 response: In Windows Vista and Windows 7 or more service is running in a different session, not in the user's session display interface, completely isolated. Can only be run on the user's session with the interface of the program, and service procedures to control the process of communication. If it is under the XP version allows intercrossing and users can be selected for display. The three layers of middleware, above the Windows 7 to run automatically boot it, sometimes open the window for some operation A good way to what is simple? Middle tier can provide data access, unified operation through client request? The feeling is very strange, CodePudding user response:
refer to the eighth floor rainychan2009 response: Quote: refer to the third floor FlashDance response: Quote: refer to 1st floor wr960204 response: In Windows Vista and Windows 7 or more service is running in a different session, not in the user's session display interface, completely isolated. Can only be run on the user's session with the interface of the program, and service procedures to control the process of communication. If it is under the XP version allows intercrossing and users can be selected for display. The three layers of middleware, above the Windows 7 to run automatically boot it, sometimes open the window for some operation A good way to what is simple? Middle tier can provide data access, unified operation through client request? Feel very strange, Sometimes open the middle tier for some operation on the server at the meeting, such as: view your online number, send the client some text information... And this is not surprising CodePudding user response:
references 9 f FlashDance response: Quote: refer to the eighth floor rainychan2009 response: Quote: refer to the third floor FlashDance response: Quote: refer to 1st floor wr960204 response: In Windows Vista and Windows 7 or more service is running in a different session, not in the user's session display interface, completely isolated. Can only be run on the user's session with the interface of the program, and service procedures to control the process of communication. If it is under the XP version allows intercrossing and users can be selected for display. The three layers of middleware, above the Windows 7 to run automatically boot it, sometimes open the window for some operation A good way to what is simple? Middle tier can provide data access, unified operation through client request? Feel very strange, nullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnull