[python-win32] updating a registered com server

2007-04-26 Thread Francesco Guerrieri
Hello, this is my first post to the ml. I am rather new to python under windows, so probably mine is an easy question, but I've searched for a solution and found none. I am writing a (set of) simple COM servers, which basically take the input from excel worksheets, do some computation, invoke

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: [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 server.

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 =

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] mailto:[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 change any