DllNotFound Exception when I use glut functions in my Dll
问题 I have a c++ dll and c# application. In C# application I call function from dll. With simple function like: extern "C" { __declspec(dllexport) void HelloFromDll() { MessageBox(NULL, _T("Hello from DLL"), _T("Hello from DLL"), NULL); } } all works fine. When i use function with glut like this: extern "C" { __declspec(dllexport) int InitGlut() { glutInitDisplayMode(GLUT_DEPTH | GLUT_DOUBLE | GLUT_RGBA); glutInitWindowPosition(100,100); glutInitWindowSize(320,320); glutCreateWindow("MyWindow");