Trouble quadric drawn with GLU

All of setting files were placed well. But my program cannot draw any quadric ,only blank background.The program is right.In the output window of vs2019,I found

DXGI ERROR: CreateDXGIFactory cannot be called from DllMain. [ MISCELLANEOUS ERROR #76: ]

Do you have any tips?
Thanks!

Is this the same problem you posted a question about here?:

1 Like

Yes.I realized that the problem might not be clear enough,so I entended the range of my
problem.

Ok, let’s finish discussion on that thread then.