I am learning ATL. In CodeProject, there's an excellent ATL project called 'ATL Grid control' , but it is VC6, can you help to upgrade to VS2022? I tried, but I am failed to compile.
What are some of the errors you are getting relating to this source (not those from any standard library files)?
All advice is offered in good faith only. You are ultimately responsible for the effects of your programs and the integrity of the machines they run on. Anything I post, code snippets, advice, etc is licensed as Public Domain https://creativecommons.org/publicdomain/zero/1.0/
Yes - you said. If you show some of the source C++ code that is causing errors and the errors displayed we might be able to advise.
All advice is offered in good faith only. You are ultimately responsible for the effects of your programs and the integrity of the machines they run on. Anything I post, code snippets, advice, etc is licensed as Public Domain https://creativecommons.org/publicdomain/zero/1.0/
After you've done that and saved the project in VS2008, which will generate the sln and vcproj files, you should be able to open it in newer versions of VS. You'll likely have to rectify a bunch of variable scope issues in Grid.cpp in order for it to not throw dozens of errors.
I opened the project in VS2008 and saved it. Attached is a zip file containing the .sln and .vcproj files that were generated. Hopefully that gets you to the point where you can open the project in your version of VS.
For the record, the code posted in the zip file in post #2 won't compile for me in VC++ 6.0. It throws several errors, a few of which I think I *kind of* fixed(?) while trying to get it to compile, but the remaining errors are far beyond my rusty C++ ability to understand let alone fix.
For the record, there are several users who report the same compilation errors I'm getting in VC++ 6.0 when reading through the comments section of the below page: