| | |
Remote Access Problem
Please support our Pascal and Delphi advertiser: Programming Forums - DaniWeb Sister Site
![]() |
•
•
Join Date: May 2007
Posts: 3
Reputation:
Solved Threads: 0
We have had a frustrating problem for months. We are trying to find a resolution or work around to fix this and are looking for help.
We have applications developed in Delphi 4 through to Delphi 7 that use database components and have worked correctly and well for years.
When we have these running on a station and log into the station remotely with PcAnywhere, VNC, terminal services and few others, the application runs fine.
When we disconnect, leaving application running, then reconnect, we get 'Access violation Read Of address 0000004' when we interact with the application.
The stations we are logging into are Win XP, win 2003 server.
This problem does not occur if the stations we log onto are using Win 2000, Win200 server or earlier.
It appears to be something how the remote access programs handle the screens or forms.
Searching the net finds many with same or similar problem.
Any help or guidance would be greatly appreciated.
Thank you
We have applications developed in Delphi 4 through to Delphi 7 that use database components and have worked correctly and well for years.
When we have these running on a station and log into the station remotely with PcAnywhere, VNC, terminal services and few others, the application runs fine.
When we disconnect, leaving application running, then reconnect, we get 'Access violation Read Of address 0000004' when we interact with the application.
The stations we are logging into are Win XP, win 2003 server.
This problem does not occur if the stations we log onto are using Win 2000, Win200 server or earlier.
It appears to be something how the remote access programs handle the screens or forms.
Searching the net finds many with same or similar problem.
Any help or guidance would be greatly appreciated.
Thank you
•
•
Join Date: May 2007
Posts: 3
Reputation:
Solved Threads: 0
Thanks for replying,
I am testing on a Windows 2000 machine (sp 4). I'm connecting to it via PCAnywhere on a XP machine.
The strange thing is that the exe I'm trying to run is simple. It has a basic form with a TButton on it which just shows a message (using ShowMessage)
I connect via PCAnywhere
Run exe (leaving it open)
Close PCAnywhere connection
Reconnect via PCAnywhere
Click the button to show the message and get the access violation error
I am testing on a Windows 2000 machine (sp 4). I'm connecting to it via PCAnywhere on a XP machine.
The strange thing is that the exe I'm trying to run is simple. It has a basic form with a TButton on it which just shows a message (using ShowMessage)
I connect via PCAnywhere
Run exe (leaving it open)
Close PCAnywhere connection
Reconnect via PCAnywhere
Click the button to show the message and get the access violation error
•
•
Join Date: Dec 2006
Posts: 171
Reputation:
Solved Threads: 16
the code which is runned on the remote station contains only a showmessage on the button onclick event?
from what i saw it exists a lot of problems with LogMeIn. but i can not figure out until this step why you have those problems. post here or send me an pm with the entire code, and i'll try to make a remote session from work to my place and see what's happening
best regards,
from what i saw it exists a lot of problems with LogMeIn. but i can not figure out until this step why you have those problems. post here or send me an pm with the entire code, and i'll try to make a remote session from work to my place and see what's happening
best regards,
Last edited by radu84; May 24th, 2007 at 1:22 am.
•
•
Join Date: May 2007
Posts: 3
Reputation:
Solved Threads: 0
hi,
the delphi application is just a "hello world" program:
unit Unit1;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
StdCtrls;
type
TForm1 = class(TForm)
Button1: TButton;
procedure Button1Click(Sender: TObject);
private
{ Private declarations }
public
{ Public declarations }
end;
var
Form1: TForm1;
implementation
{$R *.DFM}
procedure TForm1.Button1Click(Sender: TObject);
begin
showmessage('hello');
end;
end.
the delphi application is just a "hello world" program:
unit Unit1;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
StdCtrls;
type
TForm1 = class(TForm)
Button1: TButton;
procedure Button1Click(Sender: TObject);
private
{ Private declarations }
public
{ Public declarations }
end;
var
Form1: TForm1;
implementation
{$R *.DFM}
procedure TForm1.Button1Click(Sender: TObject);
begin
showmessage('hello');
end;
end.
Last edited by novarse; May 24th, 2007 at 1:33 am.
•
•
Join Date: Jun 2008
Posts: 1
Reputation:
Solved Threads: 0
I'm having a similar problem as described in your original post. It looks like this thread has been open since 2007. Was this problem ever resolved?
I'm also using a Delphi app and getting an access violation when using any remote desktop software. The problem only occurs when the application is already open when establishing a remote session to that computer. If the remote session is established first and the application is opened after, no errors occur.
Thanks
I'm also using a Delphi app and getting an access violation when using any remote desktop software. The problem only occurs when the application is already open when establishing a remote session to that computer. If the remote session is established first and the application is opened after, no errors occur.
Thanks
![]() |
Similar Threads
- Remote Access/VNC-like Program? (Visual Basic 4 / 5 / 6)
- Wireless Network Remote Access Issue (Networking Hardware Configuration)
- Remote access problem (Networking Hardware Configuration)
- Win 2K Routing and remote access. (Windows NT / 2000 / XP)
- Remote Access inside Lan (Networking Hardware Configuration)
- Hotmail & Yahoo Access Problem on WLAN (Networking Hardware Configuration)
- Remote Access (Networking Hardware Configuration)
Other Threads in the Pascal and Delphi Forum
- Previous Thread: Pascal - Matrix Chain Multiplication
- Next Thread: gwbasic
Views: 3146 | Replies: 6
| Thread Tools | Search this Thread |
Tag cloud for Pascal and Delphi





