Hello all

I'm using an exe that could be used as a server appl. 

I noticed that each time the appl starts, it registering the com server, even 
if the command line '/regserver' is not used. As my users now move onwards to 
use Vista, it causing problems when user starts this appl not as an 
administrator. 

The code that executes is UpdateRegistry(true) even if I did not include the 
/regserver command

I did find some information on this issue at 
http://groups.google.com/group/borland.public.delphi.com.activex.writing/browse_thread/thread/13a2dbc748765145
explaning that there has been a change between de delphi7 and 2007 version o 
prevent registration each time the appl starts and overcom the problems thats 
occuring on vista machines. 

Maybe I have to change some code within the comobj.pas or the comServ files. I 
presume there has been a change within these files betwen delphi 7 and the 
version 2007.

Does anyone know whats could be done to change this behaviour within my version 
delphi 7 to prevent registering each time the appl starts.

Mybe it's an idea to compare the comobj and comserv files between delphi 7 and 
delphi 2007. 

If ayone does have these files (omobj.pas and comserv.pas) and is willing to 
send me this privatly, I will post the changes that has been made to overcome 
this problem. If someone know these changes, It would be nice.

I'm using Delphi 7 and up till now windows XP. Because we use a lot of third 
party components, we could not upgrade to delphi 2007


regards

Andries Bos
The Netherlands

*********************************
Dia's / slide scanning?
www.scancare.nl 
*********************************


      

[Non-text portions of this message have been removed]

Reply via email to