?
Solved

OpenEvent Failed in Win2000 Terminal service client

Posted on 2002-03-08
2
Medium Priority
?
311 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

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

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

This article describes how to add a user-defined command button to the Windows 7 Explorer toolbar.  In the previous article (http://www.experts-exchange.com/A_2172.html), we saw how to put the Delete button back there where it belongs.  "Delete" is …
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…
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…

777 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