mirror of
https://github.com/pocoproject/poco.git
synced 2025-11-25 06:36:37 +01:00
committed 1.3 release
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
//
|
||||
// NamedEvent_WIN32.cpp
|
||||
//
|
||||
// $Id: //poco/Main/Foundation/src/NamedEvent_WIN32.cpp#8 $
|
||||
// $Id: //poco/Main/Foundation/src/NamedEvent_WIN32.cpp#9 $
|
||||
//
|
||||
// Library: Foundation
|
||||
// Package: Processes
|
||||
@@ -44,7 +44,7 @@ namespace Poco {
|
||||
NamedEventImpl::NamedEventImpl(const std::string& name):
|
||||
_name(name)
|
||||
{
|
||||
_event = CreateEvent(NULL, FALSE, FALSE, _name.c_str());
|
||||
_event = CreateEventA(NULL, FALSE, FALSE, _name.c_str());
|
||||
if (!_event)
|
||||
throw SystemException("cannot create named event", _name);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user