we can not debugging this program with visual studio 2015
-
Hi there we want to debug GASChedule. But it not starting on visual studio 2015. we got some errors. This errors are: "Error C2338 <hash_map> is deprecated and will be REMOVED. Please use <unordered_map>. You can define _SILENCE_STDEXT_HASH_DEPRECATION_WARNINGS to acknowledge that you have received this warning. GenetikAlgoritma c:\program files (x86)\microsoft visual studio 14.0\vc\include\hash_map 17" and "Error C2664 'BOOL CFont::CreateFontW(int,int,int,int,int,BYTE,BYTE,BYTE,BYTE,BYTE,BYTE,BYTE,BYTE,LPCTSTR)': cannot convert argument 14 from 'const char [6]' to 'LPCTSTR' GenetikAlgoritma c:\users\özge\documents\visual studio 2015\projects\genetikalgoritma\genetikalgoritma\childview.cpp 115" and "Error C2664 'void ATL::CStringT<wchar_t,StrTraitMFC_DLL<wchar_t,ATL::ChTraitsCRT<wchar_t>>>::Format(UINT,...)': cannot convert argument 1 from 'const char [9]' to 'const wchar_t *' GenetikAlgoritma c:\users\özge\documents\visual studio 2015\projects\genetikalgoritma\genetikalgoritma\childview.cpp 163" how can we fix it? Thanks
-
Hi there we want to debug GASChedule. But it not starting on visual studio 2015. we got some errors. This errors are: "Error C2338 <hash_map> is deprecated and will be REMOVED. Please use <unordered_map>. You can define _SILENCE_STDEXT_HASH_DEPRECATION_WARNINGS to acknowledge that you have received this warning. GenetikAlgoritma c:\program files (x86)\microsoft visual studio 14.0\vc\include\hash_map 17" and "Error C2664 'BOOL CFont::CreateFontW(int,int,int,int,int,BYTE,BYTE,BYTE,BYTE,BYTE,BYTE,BYTE,BYTE,LPCTSTR)': cannot convert argument 14 from 'const char [6]' to 'LPCTSTR' GenetikAlgoritma c:\users\özge\documents\visual studio 2015\projects\genetikalgoritma\genetikalgoritma\childview.cpp 115" and "Error C2664 'void ATL::CStringT<wchar_t,StrTraitMFC_DLL<wchar_t,ATL::ChTraitsCRT<wchar_t>>>::Format(UINT,...)': cannot convert argument 1 from 'const char [9]' to 'const wchar_t *' GenetikAlgoritma c:\users\özge\documents\visual studio 2015\projects\genetikalgoritma\genetikalgoritma\childview.cpp 163" how can we fix it? Thanks
As mentioned while this question was in the Lounge, paraphrased so that I can understand it myself, Visual Studio projects are sensitive to code methodology deployed in GAC under the .NET Framework in that attempting to open one project made by one version often causes things llike "deprecation" warnings ... but wait, and perhaps you've already done this ... Try creating an entirely new project with the version of Visual Studio you have then add your code files to it. Deprecation might be a warning ... but things that have been corrected in the standards between VS versions will always show up when the compiler (that's the "C" prefix to the numeric four-character error code) or the linker ("L"), is at odds with a .NET version. Sometimes you can rollback the version. But only after you load and save the project as a new (2015) one. Visual Studio gets better IMHO with every new version especially with respect to WARNINGS and INTELLISENSE; chances are once you get the code into something that gets past the complete rejection message, you'll be that much closer to getting the debugger to do it's thing.
-
As mentioned while this question was in the Lounge, paraphrased so that I can understand it myself, Visual Studio projects are sensitive to code methodology deployed in GAC under the .NET Framework in that attempting to open one project made by one version often causes things llike "deprecation" warnings ... but wait, and perhaps you've already done this ... Try creating an entirely new project with the version of Visual Studio you have then add your code files to it. Deprecation might be a warning ... but things that have been corrected in the standards between VS versions will always show up when the compiler (that's the "C" prefix to the numeric four-character error code) or the linker ("L"), is at odds with a .NET version. Sometimes you can rollback the version. But only after you load and save the project as a new (2015) one. Visual Studio gets better IMHO with every new version especially with respect to WARNINGS and INTELLISENSE; chances are once you get the code into something that gets past the complete rejection message, you'll be that much closer to getting the debugger to do it's thing.
Hi We openned new project on VS 2015. We copied files. we got this messages. "An error occured while creating or opening the c++ browsing database file ..../GASchedule.sdf. Intellisense and browsing information will not be available for c++ projects. Remedy(s) to try: Ensure that no other applications are accessing the file. Ensure that Microsoft SQL Server Compact 4.0 is installed. İf this problem persists, the late the file and reopen the solution." How we can fix it? Thanks
-
Hi We openned new project on VS 2015. We copied files. we got this messages. "An error occured while creating or opening the c++ browsing database file ..../GASchedule.sdf. Intellisense and browsing information will not be available for c++ projects. Remedy(s) to try: Ensure that no other applications are accessing the file. Ensure that Microsoft SQL Server Compact 4.0 is installed. İf this problem persists, the late the file and reopen the solution." How we can fix it? Thanks
Yes! Exactly, I left out a very crucial fact ... and what you bring up might make the original project viable enough for your VS2015 to accomplish an OPEN. Before attempting to open the .prj, DELETE any .sdf or .pdb and even DELETE the .suo! Sorry about that. Does that help?
-
Hi We openned new project on VS 2015. We copied files. we got this messages. "An error occured while creating or opening the c++ browsing database file ..../GASchedule.sdf. Intellisense and browsing information will not be available for c++ projects. Remedy(s) to try: Ensure that no other applications are accessing the file. Ensure that Microsoft SQL Server Compact 4.0 is installed. İf this problem persists, the late the file and reopen the solution." How we can fix it? Thanks
-
Hi there we want to debug GASChedule. But it not starting on visual studio 2015. we got some errors. This errors are: "Error C2338 <hash_map> is deprecated and will be REMOVED. Please use <unordered_map>. You can define _SILENCE_STDEXT_HASH_DEPRECATION_WARNINGS to acknowledge that you have received this warning. GenetikAlgoritma c:\program files (x86)\microsoft visual studio 14.0\vc\include\hash_map 17" and "Error C2664 'BOOL CFont::CreateFontW(int,int,int,int,int,BYTE,BYTE,BYTE,BYTE,BYTE,BYTE,BYTE,BYTE,LPCTSTR)': cannot convert argument 14 from 'const char [6]' to 'LPCTSTR' GenetikAlgoritma c:\users\özge\documents\visual studio 2015\projects\genetikalgoritma\genetikalgoritma\childview.cpp 115" and "Error C2664 'void ATL::CStringT<wchar_t,StrTraitMFC_DLL<wchar_t,ATL::ChTraitsCRT<wchar_t>>>::Format(UINT,...)': cannot convert argument 1 from 'const char [9]' to 'const wchar_t *' GenetikAlgoritma c:\users\özge\documents\visual studio 2015\projects\genetikalgoritma\genetikalgoritma\childview.cpp 163" how can we fix it? Thanks
-
Yes! Exactly, I left out a very crucial fact ... and what you bring up might make the original project viable enough for your VS2015 to accomplish an OPEN. Before attempting to open the .prj, DELETE any .sdf or .pdb and even DELETE the .suo! Sorry about that. Does that help?
Hi Thanks we fixed it :) But we have new warning "Warning LNK4075 ignoring '/EDITANDCONTINUE' due to '/SAFESEH'"
-
Yes! Exactly, I left out a very crucial fact ... and what you bring up might make the original project viable enough for your VS2015 to accomplish an OPEN. Before attempting to open the .prj, DELETE any .sdf or .pdb and even DELETE the .suo! Sorry about that. Does that help?
Hi We have new problem. this is: "Debug Assertion Failed! Expression: list iterator not incrementable For information on how your program can cause an assertion failure, see the Visual C++ documantation on asserts. (Press REtry to debug the application)" how can we fix it?:) Thanks
-
Member 12888494 wrote:
cannot convert argument 14 from 'const char [6]' to 'LPCTSTR'
You are using
CreateFont**W**
which requires all string parameters to be Unicode, not ASCII. Same issue with your CStringT.Hi
We have new problem.
this is:
"Debug Assertion Failed!Expression: list iterator not incrementable
For information on how your program can cause an assertion failure, see the Visual C++ documantation on asserts.
(Press REtry to debug the application)"
how can we fix it?Smile | :)
Thanks -
Hi
We have new problem.
this is:
"Debug Assertion Failed!Expression: list iterator not incrementable
For information on how your program can cause an assertion failure, see the Visual C++ documantation on asserts.
(Press REtry to debug the application)"
how can we fix it?Smile | :)
Thanks -
Hi We have new problem. this is: "Debug Assertion Failed! Expression: list iterator not incrementable For information on how your program can cause an assertion failure, see the Visual C++ documantation on asserts. (Press REtry to debug the application)" how can we fix it?:) Thanks
For the LNK error see: https://msdn.microsoft.com/en-us/library/3ec25010.aspx As you can see here, MSDN help for VS is online too. I suggest going here: https://code.msdn.microsoft.com/ And doing the dew ... :thumbsup: