Remote Access Problem

Please support our Pascal and Delphi advertiser: Programming Forums - DaniWeb Sister Site
Reply

Join Date: May 2007
Posts: 3
Reputation: novarse is an unknown quantity at this point 
Solved Threads: 0
novarse novarse is offline Offline
Newbie Poster

Remote Access Problem

 
0
  #1
May 23rd, 2007
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
Reply With Quote Quick reply to this message  
Join Date: Dec 2006
Posts: 171
Reputation: radu84 is an unknown quantity at this point 
Solved Threads: 16
radu84 radu84 is offline Offline
Junior Poster

Re: Remote Access Problem

 
0
  #2
May 23rd, 2007
give us more details, like your application is interacting with the screen resolution? what components are you using? have you tryed to minimize the aplication before you disconnect the remote session?

describe an exact step where the application crash

best regards,
Reply With Quote Quick reply to this message  
Join Date: May 2007
Posts: 3
Reputation: novarse is an unknown quantity at this point 
Solved Threads: 0
novarse novarse is offline Offline
Newbie Poster

Re: Remote Access Problem

 
0
  #3
May 24th, 2007
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
Reply With Quote Quick reply to this message  
Join Date: Dec 2006
Posts: 171
Reputation: radu84 is an unknown quantity at this point 
Solved Threads: 16
radu84 radu84 is offline Offline
Junior Poster

Re: Remote Access Problem

 
0
  #4
May 24th, 2007
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,
Last edited by radu84; May 24th, 2007 at 1:22 am.
Reply With Quote Quick reply to this message  
Join Date: May 2007
Posts: 3
Reputation: novarse is an unknown quantity at this point 
Solved Threads: 0
novarse novarse is offline Offline
Newbie Poster

Re: Remote Access Problem

 
0
  #5
May 24th, 2007
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.
Last edited by novarse; May 24th, 2007 at 1:33 am.
Reply With Quote Quick reply to this message  
Join Date: Dec 2006
Posts: 171
Reputation: radu84 is an unknown quantity at this point 
Solved Threads: 16
radu84 radu84 is offline Offline
Junior Poster

Re: Remote Access Problem

 
0
  #6
May 24th, 2007
ok, today i'm not able to perform a remote session somewhere with logmein, so i can not test and see if the error is reproducing.

tomorrow i hope will be able to test this. send me an private message on how can i take contact with you(YM,MSN,etc)

best regards,
Reply With Quote Quick reply to this message  
Join Date: Jun 2008
Posts: 1
Reputation: Tony22 is an unknown quantity at this point 
Solved Threads: 0
Tony22 Tony22 is offline Offline
Newbie Poster

Re: Remote Access Problem

 
0
  #7
Jun 30th, 2008
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
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the Pascal and Delphi Forum


Views: 3146 | Replies: 6
Thread Tools Search this Thread



Tag cloud for Pascal and Delphi
About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC