View Full Version : Help, Ron! Second coming off "run Girder as a service"
Ron
October 13th, 2002, 12:55 PM
Hmm I have a feeling that the plugin cannot open the shared memory segment because Girder created it with default security settings.
Normally when the users start Girder, the default security settings are fine ( the users settings ), but now the security settings are the system (?) security settings and the users consequently does not have access to the shared memory area. I'll look into settings the shared memory segment as public,.. if win2k has something like that.
-Ron
Ron
October 13th, 2002, 12:55 PM
XP 2K, that is not relevant in this case. It's NT.
Under Win2k there is a settings called "Log On" in the service settings of the Girder service, change this to the account that you are actually going to use Girder in, that should fix the indeed security related problems.
(I'm using XYNTSerice )
<font size=-1>[ This Message was edited by: RonB on 2002-03-30 12:26 ]</font>
Ron
October 13th, 2002, 12:55 PM
Only problem with this is that Girder does not get bound to the correct desktop, so its windows will not be visible...... I'm searching for some function that tells girder what desktop is the current desktop...
-Ron
Ron
October 13th, 2002, 12:55 PM
Okay back to the original settings, I've got the security stuff sorted out. Girder neatly runs when windows starts, after the login girder is there, I can control it through the commandline switches but Girder closes when I log off. That is not quite as expected.
So progres is being made, we might get girder as a service pretty soon afterall.
-Ron
Ron
October 13th, 2002, 12:55 PM
Okay, I've investigated it as far as I could and the conclusion isn't good. The VCL ( delphi's visual runtime library ) doesn't cope too well with running during a desktop change ( log-off log-in ). I have no problems getting this services stuff to work with a plain win32 app, but the delphi libraries mess up. If you want to know the details of it, read this:
http://www.aldyn.ru/articles/service-instability/index.html
The sollution is to completely close all VCL stuff and reopen it during log-off, log-on. And this can currently not be done in Girder. The UI/Core separation isn't done yet.
On the bright side I know enough now to get it to work as soon as the separation is finished.
-Ron
<font size=-1>[ This Message was edited by: RonB on 2002-03-31 14:48 ]</font>
Ron
October 13th, 2002, 12:55 PM
An other good point why it doesn't work ( not borlands fault) is here
http://support.microsoft.com/default.aspx?scid=kb;EN-US;q238721
Mastiff
October 13th, 2002, 12:55 PM
Wow! This gave some mighty strange results. I tried the URL you showed me, and another program called AppsToService, but the same happened. On startup I a box:
Error TaskSwitch
Cannot open sharedmemory segment
When I click OK, I get this box:
Error TaskSwitch
Cannot open Semaphore segment
And clicking on OK there gives me this box:
Error TaskSwitch
Cannot map segment
The same thing happens again if I click on Girder in the system tray. The second time I click on Girder, I'm able to open it butI can not get the OSD to work, amongst other things. Any ideas?
Mastiff
October 13th, 2002, 12:55 PM
Actually it's XP, but thank you very much. :smile:
Mastiff
October 13th, 2002, 12:55 PM
In that case I think I'll stop fiddling myself (I'm no good at it anyway) and wait until that happens. Thanks again! :smile:
Powered by vBulletin® Version 4.1.8 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.