K
Karl Lopes
Hello all,
I would like to implement a COM server using python.
This server is based on an interface which was given to me in Visual Basic.
For example one of the methods in the interface is:
Public Sub CreateLogFile(ByVal LogFilePath AS String,
ByRef LogFileIntf As LogFile);
1. The corresponding Python method would be:
def CreateLogFile( self, LogFilePath, LogFileIntf ). Is this correct?
2. Is there a difference in the way Python implements ByVal and ByRef?
Thanks
Karl
I would like to implement a COM server using python.
This server is based on an interface which was given to me in Visual Basic.
For example one of the methods in the interface is:
Public Sub CreateLogFile(ByVal LogFilePath AS String,
ByRef LogFileIntf As LogFile);
1. The corresponding Python method would be:
def CreateLogFile( self, LogFilePath, LogFileIntf ). Is this correct?
2. Is there a difference in the way Python implements ByVal and ByRef?
Thanks
Karl