How to fix cl.exe and midl.exe in visual studio 2003. Have install Microsoft .Net SDK 1.1 and reisntall VS 2003

Shah, Chaula 20 Reputation points
2023-12-23T01:10:21.73+00:00

I have install VS 2003 on my machine and install Microsoft .Net framework 1.1 and Micorsoft .Net service pack SP1. While build the code I am getting an error - mc not recognized . I have added the path C:\Program Files (x86)\Microsoft Visual Studio .NET 2003\Vc7\bin, C:\Windows\System32... on Projects VC++ Directories and also on system env variables . Please guide .

Have also tried to uninstall and reinstall VS 2003 many times.

Developer technologies | Visual Studio | Other
0 comments No comments
{count} votes

Accepted answer
  1. Tianyu Sun-MSFT 34,451 Reputation points Microsoft External Staff
    2023-12-25T03:13:51.7266667+00:00

    Hello @Shah, Chaula,

    Welcome to Microsoft Q&A forum.

    "XXXX not recognized", probably the path is incorrect, or some component/SDKs are not correctly installed/missing.

    You may need to confirm that the Visual C++ components and Windows SDKs have been installed, and make sure that the .exe files exist in C:\Program Files (x86)\Windows Kits\10\bin\10.0.XXXXX.0\x64 folder(directory). If you use different Windows SDKs the specific path may be different. Also, please double check the added system environment variables and make sure that they point to the correct directory where those files are stored.

    BTW, as VS 2003 is a very old version of Visual Studio, if it’s possible, I recommend using a higher version of VS, for example VS 2022.

    Best Regards,

    Tianyu


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


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.