www.digitalmars.com         C & C++   DMDScript  

c++.stlsoft - Some Complie Error On Windows =?UTF-8?B?77yIVW5pY29kZSBQcm9qZWN077yJ?=

reply "John" <xspeed1989 gmail.com> writes:
you must change
#define 
WINSTL_TH_API_SEQUENCE_VALUE_TRAITS_CREATE_SNAPSHOT_FAIL_MESSAGE  
   TEXT("Could not create process list snapshot")
to
#define 
WINSTL_TH_API_SEQUENCE_VALUE_TRAITS_CREATE_SNAPSHOT_FAIL_MESSAGE  
   "Could not create process list snapshot"

LPCTSTR create_snapshot_fail_message()
to
static LPCSTR create_snapshot_fail_message()
in winstl\toolhelp\sequence_value_traits.hpp


i think it can use ascii to throw!
Jul 01 2013
parent "Matt Wilson" <matthew.wilson hamletresearch.net> writes:
This is done, as of 1.9.120

"John" <xspeed1989 gmail.com> wrote in message 
news:gfawujgpzqzwovlqnyqm forum.dlang.org...
 you must change
 #define WINSTL_TH_API_SEQUENCE_VALUE_TRAITS_CREATE_SNAPSHOT_FAIL_MESSAGE 
 TEXT("Could not create process list snapshot")
 to
 #define WINSTL_TH_API_SEQUENCE_VALUE_TRAITS_CREATE_SNAPSHOT_FAIL_MESSAGE 
 "Could not create process list snapshot"

 LPCTSTR create_snapshot_fail_message()
 to
 static LPCSTR create_snapshot_fail_message()
 in winstl\toolhelp\sequence_value_traits.hpp


 i think it can use ascii to throw! 
Sep 09 2015