In p7zip it is through the system dynamic registered ！ RegisterArc(const CArcInfo *arcInfo) This function is to run the first execution ， befor main（）。
How to static registration? I static after registration is always crash！
Problem has been solved thank you！
Please write the solution of your problem. Thanks.