Hello all, hope you can help.
I'm working on an OLE server.
define x as custom olepublic
property1 = ""
...
function SetProp
lparameters vcProperty, vuValue
...
endfunc
(other functions)
enddefine
ok. I create and have the server registered ok. I can even get valid object reference via CreateObjectEX( clsid, servername ), I can even call other functions within the server class. However, when I try to make a call to
loMyServer = CreateObjectEx( "clsid", "\\myserver" )
loMyServer.TestMethod1() this is ok
but on
loMyServer.SetProp( "property1", "new value")
I crash with OLE error Unknown name.
I have tried rebuilding all, recompiling the programs (all 2 of them in this sample) and even regenerating IDs. Even quitting out and restarting doesn't appear to help.
Any ideas? Thanks