Quote:
Originally Posted by RdJ
Thanks, I got it to work
Now, I have a new issue
Code:
class MyServer(DdeServer):
def __init__(self,service):
base.service = service
def InitializeScript():
# --- Start: Initialize DDE server --- #
global SpeechServer
SpeechServer = MyServer("shspeech")
# --- End: Initialize DDE server --- #
Everytime, it says: MyServer() takes at least 2 arguments (1 given)
I've tried giving more arguments, but that doesn't work...
|
you're trying to call the base class the incorrect way. You should do it this way:
super( MyServer, self ).service = service