In order to solve the problem, the packaging CAD software developed in China is mostly the design software of carton and rarely involves the design of cushion liner. It is proposed to use Visual C++ program to develop this software for buffer packaging design, which liberates people from the complicated manual design, significantly shortens the product R&D cycle, and avoids the destructive test of the product. When the overall dimension, quality, brittleness value, cushioning performance parameters of cushioning materials, transportation conditions of packages, and liner parameters are known, the most economical material can be found in the database of cushioning materials through this software, and the liner size structure can be obtained. Based on this data, the structural design of corrugated box is further carried out. For the packaging of products, especially the packaging of precision electronic products, its economic benefits are considerable. Visual C++ 6.0 is used as the software development tool. Using the GUI (graphical device interface) characteristics of various tools and other high-level languages, a simple and friendly user interface is designed to verify the effectiveness of the experiment.