Watch, Follow, &
Connect with Us

Please visit our new home

Public Report
Report From: Delphi for PHP/IDE    [ Add a report in this area ]  
Report #:  77804   Status: Reported
D4PHP - System Error Code 5 / A call to an OS function failed
Project:  HTML5 Builder Build #:
Version:    2.0 Submitted By:   John Mackerras
Report Type:  Basic functionality failure Date Reported:  9/18/2009 2:01:47 AM
Severity:    Commonly encountered problem Last Updated: 9/24/2009 4:55:48 AM
Platform:    All versions Internal Tracking #:  
Resolution: None (Resolution Comments) Resolved in Build: : None
Duplicate of:  None
Voting and Rating
Overall Rating: No Ratings Yet
0.00 out of 5
Total Votes: None
When accessing a remote machine running Delphi for PHP using Microsoft's remote desktop client, if you minimise the RDC window, the remote machine raises the error "A call to an OS function failed."

- appears both when RDC window is in full screen mode and in Window mode and the RDC client is minimised. Does not appear if you use alt-tab on client machine to bring a different application to the front.

- appears when focus is on the 'Code' page of any given PHP page. Does not appear when the 'Design' page is in focus or if no project is open in D4PHP.

- error does not appear when D4PHP is not the application in focus on the remote machine.

- error appears as "A call to an OS function failed" when the host machine is a Windows XP (SP3) running on a Parallels 4 Virtual Machine hosted by Snow Leopard desktop. (D4PHP ver

- error appears as "System Error.  Code:_5. Access is denied." when host machine is Windows Server 2003 R2 and user session is either a restricted user or an administrator (D4PHP ver

- On the VM, the error definitely occurs when minimised because the error sound is heard as soon as the window is minimised. On the 2003 Server the error did not show up on screen until about 2 seconds after I maximised the window again, however this is most likely because of the speed I was testing at and the client desktop refresh called when maximised.

- EurekaLog identifies the module in error as being:
  rtl100.bpl - (CodeGear Component Package)

- MSRDC Client version 6.0.6001.18000 (longhorn_rtm.080118-1840) - latest release.

Steps to Reproduce:
1. Install Delphi for PHP on a machine which will act as a remote server for the purpose.

2. Access that machine via Microsoft's Remote Desktop connection.

3. Open up Delphi for PHP 2.0 and open a project. Within the project open up any PHP page and bring the 'Code' page to the front.

4. Minimise the RDC window.

-error occurs
none identifed

Tomohiro Takahashi at 9/18/2009 7:37:54 AM -
I corrected Project field, Version field and Area field as Sysop.

> / 2.
You set Build No field ' / 2.'.
Do you already use D4PHPV2 Update2( ?

John Mackerras at 9/24/2009 2:50:33 AM -
On the virtual machine, yes. Specific D4PHP version numbers quoted in the report for each platform type tested.

Server Response from: ETNACODE01