From: Mark H. <mha...@sk...> - 2009-01-26 00:33:44
|
> So that solves that problem and I now have my first com server running > in a dll on another PC. The only problem is that my second com server > won't register, not even on the machine on which I built it. It seems > to behave correctly when registered as a script, and the dll is > produced when I run setup.py. But I get an error 0x80040201 when I try > to register it with regsvr32. That generally means that the registration code is failing for some reason - but as your DLL is being loaded into regsvr32 - a program without a console - you can't see any error messages. You probably need to look at using win32traceutil or some other technique for redirecting output very early to somewhere the messages can be seen. Cheers, Mark |