Newbie GIT Problem

a_unique_name 401 Reputation points
2021-07-05T09:40:09.01+00:00

Hi Folks.

Developing on Windows 10 Pro, VS 2019 Community, C++. I keep current on updates.

This is a Git problem, I'm here because I'm trying to load a solution with the VS "Git" menu. Feel free to send me somewhere more appropriate.

I'm having trouble getting Virtual ListView, owner draw, stuff working, so I tried to download the sample code on the Git server.

I found this link on Microsoft's About List-View Controls.

I'm not familiar with Git. After a couple of YouTube tutorials, it looks like I first need to clone the repository and it will be copied to my computer.

The link in the ListView documentation takes me to this page:

111779-1-source-screenshot.png

I click on Visual Studio's Git button and get this screen:

111806-2-request-screenshot.png

I'm getting this error:

              -----------------------------  

Cloning into 'E:\learn\win32\listview\2021_07_04_2_owner_draw\code2'...
Error encountered while cloning the remote repository: Git failed with a fatal error.
repository 'https://github.com/microsoft/Windows-classic-samples/tree/master/Samples/Win7Samples/winui/controls/common/vlistvw/' not found

              -----------------------------  

The link I used to find the repository on the Git repository isn't serving as the repository location for the clone request.

What am I doing wrong?

  Thanks  
  Larry  
Developer technologies C++
0 comments No comments
{count} votes

Accepted answer
  1. Viorel 122.5K Reputation points
    2021-07-05T11:04:34.487+00:00

    I think that you should use the URL that appears in https://github.com/microsoft/Windows-classic-samples when you click the Code button. Here you can also click Download ZIP to get all of the samples. Then unzip the archive and open the required project (VListVw.vcproj) with Visual Studio.

    Or you can click Releases (go to https://github.com/microsoft/Windows-classic-samples/releases), then download one of zip files or all of samples (“Source code (zip)”).

    If you use Download features, you do not need Git.

    2 people found this answer helpful.

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.