Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

OpenEvent Failed in Win2000 Terminal service client

Posted on 2002-03-08
2
Medium Priority
?
312 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 86

Accepted Solution

by:
jkr earned 300 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

How to Use the Help Bell

Need to boost the visibility of your question for solutions? Use the Experts Exchange Help Bell to confirm priority levels and contact subject-matter experts for question attention.  Check out this how-to article for more information.

Question has a verified solution.

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

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…
A theme is a collection of property settings that allow you to define the look of pages and controls, and then apply the look consistently across pages in an application. Themes can be made up of a set of elements: skins, style sheets, images, and o…
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…
Sometimes it takes a new vantage point, apart from our everyday security practices, to truly see our Active Directory (AD) vulnerabilities. We get used to implementing the same techniques and checking the same areas for a breach. This pattern can re…

609 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