Hello, I have the following code that searches a list of wchar_t * strings. What I want is a function like this: vector paths; find (paths.begin(), paths.end(), L"some string"); What do I need to do to get this to return the string I'm searching for? - BRC
bruccutler
Posts
-
Fast search of a vector of strings -
unresolved external ... CInvalidArgExceptionYes, it is a C++/MFC application. There used to be an option to turn on Exception handling in the project file, but I can't find it.
-
unresolved external ... CInvalidArgExceptionI'm adding exception handling to a C++ application and I get this error when I link. What do I need to link with to resolve this external? - BC
-
DEBUG_NEW and DirectXOk - I'll try that. We wanted to define the DEBUG_NEW option in a general header file, but we will include it later on.
-
DEBUG_NEW and DirectXWe are using the February 2006 version of DirectX. When we insert the following line: #define new DEBUG_NEW we get the following errors from the Directx Modules: c:\program files\microsoft directx sdk (february 2006)\include\d3dx9math.h(392) : error C2059: syntax error : 'string' c:\program files\microsoft directx sdk (february 2006)\include\d3dx9math.h(392) : error C2091: function returns function c:\program files\microsoft directx sdk (february 2006)\include\d3dx9math.h(392) : error C2802: static member 'operator new' has no formal parameters c:\program files\microsoft directx sdk (february 2006)\include\d3dx9math.h(393) : error C2059: syntax error : 'string' c:\program files\microsoft directx sdk (february 2006)\include\d3dx9math.h(393) : error C2090: function returns array c:\program files\microsoft directx sdk (february 2006)\include\d3dx9math.inl(987 ) : error C2761: 'void *(__cdecl *_D3DXMATRIXA16::operator new(void))(size_t)' : member function redeclaration not allowed c:\program files\microsoft directx sdk (february 2006)\include\d3dx9math.inl(987 ) : fatal error C1903: unable to recover from previous error(s); stopping compil ation How can we take advantage of the DEBUG_NEW capability and also get around these errors? BRC
-
general error c101008a: Failed to save manifestNothing like answering my own question. I did a Clean on the projects in question, and the problem went away. Just in case someone ever sees this. Now you know what to do. BRC
-
general error c101008a: Failed to save manifestHello, I was running just fine until I put on a support pack today. I don't know whether this error is related, since I am having the issue on two different computers. When I attempt to compile a VC++ .exe, I am now getting this error: general error c101008a: Failed to save the updated manifest to the file ".\release with tnc\xsupptray.exe.embed.manifest" Anybody ever seen this error? Any idea what might be causing it? BRC Brc