Hi
I find the sample about DCOM ,which in the directory "samples\com\dcom", in vc++ 6.0 can't work on my computer althogh I follow the guidance.The server's OS is WINDOWS NT 4.0 and the client's OS is WINDOWS 98, both are simplified Chinese edition.
I use Appwizard to generate a application with automation and add some method to it,then I use windows host script to create the object.I find I can only start the server program on local machine,but not on remote machine. Before I test the remote start,I use the Dcomcnfg.exe to make sure that anybody can access the application in server and the application locate on remote machine in client. The script is like this:
dim x
set x=CreateObject("test.document")
x.AppShow
x.Dosomething
x.AppExit
set x=nothing
both local machine and remote machine run WINDOWS 98 with DCOM.I can only start the application on local machine. When I start it on remote machine,a error "can't create object" reported.
Can anybody give me some advice on them ?
Thanks in advance.
Peng Jianrong
1999.6.1