Named pipes won't be blocked by a firewall, I'm just concerned about the
Vista and Win7 security system which blocks memory sharing between elevated
and non-elevated programs.

 

I was thinking of simply using a text file to send data back and forward if
that is the only other option.

 

I'll investigate named pipes.  Hopefully I can send a fixed record structure
this way.

 

Ross.

 

From: [email protected] [mailto:[email protected]] On
Behalf Of Paul
Sent: Saturday, 1 May 2010 11:48 p.m.
To: NZ Borland Developers Group - Delphi List
Subject: Re: [DUG] UAC control

 

If you can get it working using sockets, then this should work also.

I've never seen named pipes blocked by a firewall

 

Paul

 

 

----- Original Message ----- 

From: Ross Levis <mailto:[email protected]>  

To: 'NZ Borland <mailto:[email protected]>  Developers Group - Delphi
List' 

Sent: Saturday, May 01, 2010 12:59 PM

Subject: Re: [DUG] UAC control

 

Can this work when one app is elevated and another is not?  I had problems
with memory sharing via a virtual memory mapped file not working because of
this.

 

Ross.

 

From: [email protected] [mailto:[email protected]] On
Behalf Of Paul
Sent: Saturday, 1 May 2010 9:32 p.m.
To: NZ Borland Developers Group - Delphi List
Subject: Re: [DUG] UAC control

 

A listening socket is normally blocked by firewalls and virus scanners.

Use named pipes instead.

 

Paul

----- Original Message ----- 

From: Ross Levis <mailto:[email protected]>  

To: [email protected] 

Sent: Saturday, May 01, 2010 4:49 AM

Subject: [DUG] UAC control

 

I'm back to this subject again.

 

I released a new version of my software using the TCP server/client method
to communicate with a separate elevated app where I do my HKLM writing etc.
But this is turning out to be a nightmare with firewalls.

 

The proper method is to write a DLL which does something to trigger elevated
privileges.  I'm hoping someone could send me example DLL code I can use to
do this, and the code to call it from my app.  I'm not experienced writing
and using DLL's.

 

Many thanks,

Ross.


  _____  


_______________________________________________
NZ Borland Developers Group - Delphi mailing list
Post: [email protected]
Admin: http://delphi.org.nz/mailman/listinfo/delphi
Unsubscribe: send an email to [email protected] with Subject:
unsubscribe


  _____  


_______________________________________________
NZ Borland Developers Group - Delphi mailing list
Post: [email protected]
Admin: http://delphi.org.nz/mailman/listinfo/delphi
Unsubscribe: send an email to [email protected] with Subject:
unsubscribe

_______________________________________________
NZ Borland Developers Group - Delphi mailing list
Post: [email protected]
Admin: http://delphi.org.nz/mailman/listinfo/delphi
Unsubscribe: send an email to [email protected] with Subject: 
unsubscribe

Reply via email to