Solved

OpenEvent Failed in Win2000 Terminal service client

Posted on 2002-03-08
2
296 Views
Last Modified: 2013-12-03
Hello all,

In windows 2000 server system, I am creating an event in a Service application and I am opening same event in another Win32 application by calling OpenEvent Function. This is working fine in all win2000 servers but if I logged on to that system using terminal service client from another system, then the OpenEvent function fails with return value 2 ( file open error ). I tried all possibilites with passing different values to CreateEvent and OpenEvent functions but OpenEvent in another application always fails.

Please Help to solve this problem.

Nagaraj
0
Comment
Question by:Nagarajhr
2 Comments
 
LVL 86

Accepted Solution

by:
jkr earned 100 total points
ID: 6850294
See http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dllproc/synchro_5myc.asp - it states:

"Terminal Services: The name can have a "Global\" or "Local\" prefix to explicitly open an object in the global or session name space. The remainder of the name can contain any character except the backslash character (\)."
0
 

Author Comment

by:Nagarajhr
ID: 6852288
Thank you for your suggestion.

Nagaraj
0

Featured Post

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Saving the SQL Login Credentials for Excel 2010 Microsoft Queries 1 135
Problem to adjust sheet 1 87
Build VS2015 project in bat command 3 85
Problem to file 3 74
This tutorial is about how to put some of your C++ program's functionality into a standard DLL, and how to make working with the EXE and the DLL simple and seamless.   We'll be using Microsoft Visual Studio 2008 and we will cut out the noise; that i…
In this article, I will show how to use the Ribbon IDs Tool Window to assign the built-in Office icons to a ribbon button.  This tool will help us to find the OfficeImageId that corresponds to our desired built-in Office icon. The tool is part of…
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.

815 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now