Re: [python-win32] updating a registered com server

2007-04-26 Thread Tim Roberts
Francesco Guerrieri wrote: > > On 4/26/07, *Tim Roberts* <[EMAIL PROTECTED] > > wrote: > >> >> Now, THIS problem may be solvable. Remember that Python supports >> the "reload" function that forces it to reload a new version of >> an imported module. It can't

Re: [python-win32] updating a registered com server

2007-04-26 Thread Tim Roberts
Francesco Guerrieri wrote: > > Yes I'm aware that it is not a python-related problem but rather a > COM-related problem... simply I never wrote a com server in c++ > (actually I have just begun to code under win). > Wouldn't it be possible to call something like > xl = win32com.client.dispatch("E

Re: [python-win32] updating a registered com server

2007-04-26 Thread Tim Roberts
Francesco Guerrieri wrote: > > ... > I register the server with the usual > > if __name__ == '__main__': win32com.server.register.UseCommandLine() > > Then I find that I want to add/change/correct something, and I > register it again. > The problem is that Excel persists in calling the OLD

Re: [python-win32] updating a registered com server

2007-04-26 Thread Niki Spahiev
> so my questions are: > 1) is there a way to refresh the list of servers that excel looks for? > 1b) is this in someway connected with the generated .pyc files? by > changing the names I am forcing the interpreter to compile it again, am > not I? > 2) what happens if I register with the same _re