Open Liuzhengwang01 opened 1 year ago
I'm very sorry for the inconvenience. It is a strange situation because the versions I have released in the last few months have not changed the OpenGL part. Do you have the same OpenGL problem on other PCs?
In the meantime, please check "Option => Reset registry", and restart ReciPro. It may improve the situation.
@seto77 on home PC, it is ok! If reset registry and restart recipro, it doesn't work.
It appears to be an environment-dependent problem. Have you updated your graphics driver recently? A different version of the driver may fix the problem.
@seto77 I didn't update the graphics driver before. Today, I try the different version of the quadro P2200 , but it doesn't work. please check the detailed information below:
See the end of this message for details on invoking just-in-time (JIT) debugging instead of this dialog box.
** Exception Text ** System.TypeInitializationException: The type initializer for 'Crystallography.OpenGL.GLControlAlpha' threw an exception. ---> System.Management.ManagementException: 无效类 at System.Management.ManagementException.ThrowWithExtendedInfo(ManagementStatus errorCode) at System.Management.ManagementObjectCollection.ManagementObjectEnumerator.MoveNext() at Crystallography.OpenGL.GLControlAlpha..cctor() --- End of inner exception stack trace --- at Crystallography.OpenGL.GLControlAlpha..ctor(FragShaders shaders) at ReciPro.FormStructureViewer.FormStructureViewer_Load(Object sender, EventArgs e) in D:\Users\seto\source\repos\ReciPro\ReciPro\StructureViewer\FormStructureViewer.cs:line 134 at System.Windows.Forms.Form.OnLoad(EventArgs e) at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible) at System.Windows.Forms.Control.CreateControl() at System.Windows.Forms.Control.WmShowWindow(Message& m) at System.Windows.Forms.Control.WndProc(Message& m) at System.Windows.Forms.ScrollableControl.WndProc(Message& m) at System.Windows.Forms.Form.WndProc(Message& m) at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m) at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, WM msg, IntPtr wparam, IntPtr lparam)
** JIT Debugging **
@seto77 Thanks for your Recipro. It is very useful. It worked properly one month ago, but recently it comes to a trouble, when it is opened, it prompts"error during initializing GLcontrol", "the type initializer for crystallography.OpenGL. GLControlAlpha threw an exception". When I click on the structure viewer on the user interface, it comes up (3D rendering disable mode), but at this time, I do not check disable OpenGL. looking forward to your help.