Microsoft visual C++6.0 set line number

When writing C language, sometimes it will report an error when compiling, and the error prompt will tell you the specific number of lines, but the interface of editing files in VC++6.0 does not display the specific number of lines. Check this tool. The function of displaying line numbers, so we can only rely on plugins.

链接: https://pan.baidu.com/s/1EMKr_YYpfsJMOiGlp5GOKg 提取码: egsv 复制这段内容后打开百度网盘手机App,操作更方便哦

installation steps

  1. If your VC is installed on C drive, please copy the file VC6LineNumberAddin.dll to the following directory C:\Program Files\Microsoft Visual Studio\Common\MSDev98\AddIns
  2. Double-click VC6LineNumberAddin.reg to register.
  3. Enable: Open vc6, menu bar: Tools -> Customize -> Additional items and macro files and check "VC6LineNumber Developer Studio Add-in"
    Insert picture description here

When installing a plug-in (such as the plug-in VC6LineNumberAddin.dll that displays the line number of VC6), it often prompts "Unable to register this add-in because its DllRegisterServer returns an error". The solution is as follows:
Set the MSDEV.exe file, right-click -> "Properties" -> "Compatibility" -> "Run this program as an administrator" can solve the problem.
The path of MSDEV.exe is as follows: C:\Program Files\Microsoft Visual Studio\Common\MSDev98\Bin\MSDEV.exe

Guess you like

Origin blog.csdn.net/G_whang/article/details/112635080