Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Delphi 2005 running Win32 VCL under Citrix 4.5 on Win 2003 Server problem

12 views
Skip to first unread message

Douglas Guinn

unread,
Jun 18, 2008, 4:34:14 PM6/18/08
to
Hi,
We have been running a Win32 Delphi 2005 app under Citrix XP for a long time
with no problems. We're piloting the same application (same build, etc) but
now running under Citrix 4.5 which in turn is running on a Windows 2003
Server. When the program delays more than a few minutes in returning data
from the db (Oracle 9i), the Citrix session will just close down on the
client. The Citrix server log shows an error indicating a fault on the
Delphi app on Kernel32.dll. Has anybody seen this.
By the way, some people have suggested that we put Delphi on the new Citrix
server and recompile the application there so that it will link in the new
Kernel32.dll. I actually thought that it only linked in static packages...
Does it make sense to go through the effort of installing Delphi on the
Citrix server and recompiling there ?

Thanks in advance
Doug


Wayne Niddery (TeamB)

unread,
Jun 18, 2008, 6:11:17 PM6/18/08
to
"Douglas Guinn" <dougla...@hartfordlife.com> wrote in message
news:4859714a$1...@newsgroups.borland.com...

> By the way, some people have suggested that we put Delphi on the new
> Citrix server and recompile the application there so that it will link in
> the new Kernel32.dll.

It absolutely does not link in any such Windows DLLs. Delphi does not
compile specifically for the computer it is running on, it compiles the same
executable code no matter where it runs.

--
Wayne Niddery - TeamB (www.teamb.com)
Winwright, Inc. (www.winwright.ca)

Rob Uttley

unread,
Jun 19, 2008, 9:23:42 AM6/19/08
to
I don't know how related (if at all) this might be, but just in case it helps;

We had some trouble getting one of our applications to run under a
Citrix image of XP, hosted on Win2003 (it was a Delphi 7 app, not D2005
though). In all other combinations and platforms the application was
fine. However, this particular combination caused us a problem in 2
specific parts of the program (one bit in our code 'proper', and in one
bit where we called a particular web service). The problem remained
even when we changed host server, changed citrix images etc - it
definitely felt like our code was at fault.

We were advised to change the way the Data Execution Prevention
settings were done under 2003 and the problem went away. We altered the
DEP settings on the 2003 server from 'Turn on DEP for all programs and
services except those below' to 'Turn on DEP only for Windows services
and programs'. (The settings can be seen in the 'advanced' tab of the
'properties' dialog for the server - you can probably get at them
through the management console somehow too). You could certainly tryin
adding your program to the 'excluded' list and see if the problem goes
away - this would be quite a quick and relatively easy thing to try.

Hope that makes sense - it was a while ago now!

Cheers
Rob


On 2008-06-18 21:34:14 +0100, "Douglas Guinn"
<dougla...@hartfordlife.com> said:


--
Rob Uttley
www.robsoft.net

0 new messages