|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
From: Bruce E. Williams (bwill
MICROSOFT.COM)Date: Fri Sep 14 2001 - 19:19:10 CDT
Check the security attributes on the files in the root of your C:\
drive, and see if the user account that DSERVER.EXE is running as has
access to the file in question.
-----Original Message-----
From: Durga Prasad Panga [mailto:durgap
SDTCORP.COM]
Sent: Sunday, September 09, 2001 8:40 PM
To: DCOM
DISCUSS.MICROSOFT.COM
Subject: Problem in DCOM with windows 2000.
Importance: High
Hi All
I am getting problem in DCOM with windows 2000 .
I am giving you in detail about the problem.
1. I have created a DCOM Server named as DSERVER.EXE in VC++.
2. I have created a DCOM Client named as DCLIENT.EXE in VC++.
3. I am using CreateProcess command in method "executeCMD(BSTR
bstrparm)" in
DSERVER.EXE to execute a batch file "C:\\WR.BAT"
4. I have installed DSERVER.exe on Machine1 (with Windows NT) and
DCLIENT.exe on Machine2 (with Windows NT).
a. Then I have accessed the DSERVER.exe from DCLIENT.exe and the batch
file
is executing fine.
5. Now I have installed DSERVER.exe on Machine3 (with Windows 2000) and
DCLIENT.exe on the same machine Machine2 (with windows NT).
a. Now I have accessed the DSERVER.exe from DCLIENT.exe and the batch
file
is not executing. Only the process in task manager is showing as
CMD.exe,
but not executing the content of the batch file. We tried this with
other
commands like system, ShellExecute and _execl instead of CreateProcess.
Still I am getting the same problem.
This problem is only coming with windows 2000. I don't know whether i am
doing mistake or its bug.
I am struggling with this problem from past five days.
----------------------------------------------------------------
Users Guide http://discuss.microsoft.com/archives/mailfaq.asp
contains important info. Save time, search the archives at
http://discuss.microsoft.com/archives/index.html .
To unsubscribe, mailto:DCOM-signoff-request
DISCUSS.MICROSOFT.COM
----------------------------------------------------------------
Users Guide http://discuss.microsoft.com/archives/mailfaq.asp
contains important info. Save time, search the archives at
http://discuss.microsoft.com/archives/index.html .
To unsubscribe, mailto:DCOM-signoff-request
DISCUSS.MICROSOFT.COM
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]