Top Rated Most Recent. Accept Solution Reject Solution. Your development environment doesn't support the Microsoft CString class. Posted Sep am markkuk. CodingLover Sep pm. The easiest is switch to MS. Posted Sep pm CodingLover. CodingLover Sep am.
That means you don't have ATL. Can provide more details like, is this Console or WinForm application? Working on Windows or Linux? Using Visual Studio? If you are working with Visual Studio express edition, sorry about that.
Express edition doesn't come with ATL. I can't say whether the atlstr. You will surely be able to look at the headers. By the way: Fortunately, the times of the cropped express versions are over. If you could try with Visual Studio and see. But not with express editions. I found this question while looking for an answer to a similar problem. Posted 2-Jan am Michael Haephrati. In atlstr. Active Oldest Votes. Improve this answer.
Rob Kennedy Rob Kennedy k 20 20 gold badges silver badges bronze badges. Likewise for cstring. Always include all the headers you need. Don't rely on your specific environment to implicitly include some of them for you; you'll run into problems if you need your code to be portable, or if you change compiler versions and the new version has different implicit header dependencies.
DanteisnotaGeek: Implementations are allowed to include other headers in their headers. You should include both since your code depends on both headers. I don't think there is any standard header that is guaranteed to include it. DanteisnotaGeek good question. MSVC always was a bit strange. Sign up or log in Sign up using Google. Sign up using Facebook.
Sign up using Email and Password. Post as a guest Name. You are compiling gc. My fall. I have gc. I have updated it in problem description — vico. Sign up or log in Sign up using Google. Sign up using Facebook. Sign up using Email and Password. Post as a guest Name. Email Required, but never shown.
The Overflow Blog. Podcast Making Agile work for data science. Stack Gives Back Featured on Meta.
0コメント