I once had problems with COM under terminal services. (This may not even be
related). I was trying to debug a COM object that is invoked by an ASP
page. The debugger would never *break* when my object was instantiated.
Turns out that when logging in with terminal services, your session runs
with a different set of credentials (or so I was told). You don't run as
the "user" you logged into the terminal services session as. I'm not sure
WHY the debugger wouldn't work there, but it turned out to be a permissions
problem.
To get around my problem, I vnc'd into the machine and gave it a go. That
*may* help you, I don't know..
Good luck,
jw
···
-----Original Message-----
From: Michael Beaulieu [mailto:michael@sentai.com]
Sent: Friday, May 14, 2004 12:16 PM
To: wxpython-users@lists.wxwindows.org
Subject: [wxPython-users] active x control failing
On one machine ( win 2000 ) I'm running wx 2.4.2.4, python 2.3.1 and my
active x control works
On the other machine, ( win 2000 Terminal ) I'm running wx 2.4.2.4 ,
python 2.3.2
below is the trace I get. Can someone suggest what I have to do
differently on the second machine to get this to work?
Traceback (most recent call last):
File "PageForm.py", line 6759, in ?
app = MyApp(0)
File "C:\PrgOther\Python23\lib\site-packages\wxPython\wx.py", line 1957,
in __init__
_wxStart(self.OnInit)
File "PageForm.py", line 6746, in OnInit
win = SentaiNotesModal(None,None,None,label='bla')
File "PageForm.py", line 4685, in __init__
self.speller = ActiveXWrapper( self, -1, style=wxSUNKEN_BORDER)
File
"C:\PrgOther\Python23\lib\site-packages\wxPython\lib\activexwrapper.py",
line 102, in axw__init__
(0, 0, sz.width, sz.height), self._wnd, ID)
File
"C:\PrgOther\Python23\lib\site-packages\Pythonwin\pywin\mfc\activex.py",
line 23, in CreateControl
self.__dict__["_obj_"] = win32ui.CreateControl(clsid, windowTitle,
style, rect, parent, id, lic_string)
win32ui: CreateControl failed
---------------------------------------------------------------------
To unsubscribe, e-mail: wxPython-users-unsubscribe@lists.wxwidgets.org
For additional commands, e-mail: wxPython-users-help@lists.wxwidgets.org